misc/160370: Incorrect pfctl check of pf.conf

Vitalic artemrts at ukr.net
Thu Sep 1 17:20:08 UTC 2011


>Number:         160370
>Category:       misc
>Synopsis:       Incorrect pfctl check of pf.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 01 17:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Vitalic
>Release:        FreeBSD 9.0-BETA1 #0
>Organization:
>Environment:
xxxxxxxx# uname -a
FreeBSD xxxxxxxxx.xxxxxx.org 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Aug 25 20:41:58 EEST 2011     wishmaster at xxxxxxxx.xxxxxxx.org:/usr/obj/usr/src/sys/MY  i386

>Description:
I am using FreeBSD as firewall and router for LAN. Inet works via NAT.
Here is the small part (macros) of my pf.conf:

ext_if=tun0
int_if="bridge0"
......
and so on
......

With pfctl -n -f /etc/pf.conf no errors occur (but exactly should). pfctl -sr and pfctl -sn shows loaded nat and firewall rules, but Inet (via NAT) no working for LAN.

When I corrected my mistake and add quotes to ext_if="tun0" all works fine.
>How-To-Repeat:
Miss quotes in macros definitions.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list