NetBSD-Bugs archive

[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 <>
Subject: re: bin/49776 (npf at boot-time)
Date: Mon, 03 Sep 2018 17:35:28 +1000 writes:
 > Synopsis: npf at boot-time
 > =
 > State-Changed-From-To: open->feedback
 > State-Changed-By:
 > State-Changed-When: Sun, 02 Sep 2018 17:48:39 +0000
 > State-Changed-Why:
 > 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=

Home | Main Index | Thread Index | Old Index