[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ultra consolidation?



I have recently upgraded my Firewall host to OpenBSD 3.3-stable and have
wanted to take advantage of the new features available in PF for rule
consolidation.
Is this functionality limited? for example I want to use multiple
interfaces, multiple protocols and multiple destination ports in my
single rule.
# Variable Definitions
all_if  = " { xl0, xl1 } "
netbios = " { 136, 137, 138, 445 } "
# NetBios rule
block in log quick on $all_if inet proto { tcp, udp } from any to any
port = $netbios
When I try to load my firewall policy it chokes is this to be expected?
Is this fixed under OpenBSD 3.4?
itchy# pfctl -f pf.conf
pf.conf:153: syntax error
Cheers..