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 <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, maxv%NetBSD.org@localhost,
    szptvlfn%a-net.email.ne.jp@localhost
Subject: re: bin/49776 (npf at boot-time)
Date: Mon, 03 Sep 2018 17:35:28 +1000

 maxv%NetBSD.org@localhost writes:
 > 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
 > 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'
 
 or
 
 /etc/npf.conf:15:0: variable 'outside_ip' is of type 'table' not 'family-a=
 ddress-mask'
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index