dynamicly adding labels/rules

Frans Haarman F.Haarman at giessen.nl
Wed Mar 7 10:05:03 UTC 2007


I am also having some troubles with labels, it seems I can't add more
then
one label per anchor rule!
 
DEVEL# pfctl -qa tun0-rules -s l
10.200.2 35 0 0

DEVEL# echo 'pass in from any to 10.200.4.0/24 label "10.200.4"' | pfctl
-qa tun0-rules -f -
DEVEL# pfctl -qa tun0-rules -s l
10.200.4 15 0 0

DEVEL# echo 'pass in from any to 10.200.2.0/24 label "10.200.2"' | pfctl
-qa tun0-rules -f -
DEVEL# pfctl -qa tun0-rules -s l
10.200.2 14 0 0

DEVEL# uname -a
FreeBSD DEVEL 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56
UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

So the label gets overwritten. Is this normal/expected behaviour ? 
Frans Haarman 
De Giessen Automatisering B.V.



Technische Dienst 
Telefoon : (0184) 67 53 75 
Fax : (0184) 61 12 46 
E-mail : servicedesk at giessen.nl 
Website : www.giessen.nl 

Algemeen 
Tel : (0184) 67 54 00 

d u i d e l i j k e   t a a l !


More information about the freebsd-pf mailing list