[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: bin/49776 (npf at boot-time)
The following reply was made to PR bin/49776; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, maxv%NetBSD.org@localhost,
Subject: re: bin/49776 (npf at boot-time)
Date: Mon, 03 Sep 2018 17:35:28 +1000
> Synopsis: npf at boot-time
> State-Changed-From-To: open->feedback
> State-Changed-By: maxv%NetBSD.org@localhost
> State-Changed-When: Sun, 02 Sep 2018 17:48:39 +0000
> Don't we already support that? See ifaddrs(re0) instead of inet4(re0).
> inetX is a static list, ifaddrs is dynamic.
actually, it seems that you can't use this in NAT rules. eg, in =
"map .... -> ifaddrs(foo)" (whether ifaddrs(foo) is a variable or
not), errors occur, eg:
/etc/npf.conf:13:42: syntax error near 'ifaddrs'
/etc/npf.conf:15:0: variable 'outside_ip' is of type 'table' not 'family-a=
Main Index |
Thread Index |