Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2007 11:05:00 +0100
From:      "Frans Haarman" <F.Haarman@giessen.nl>
To:        <freebsd-pf@freebsd.org>
Subject:   dynamicly adding labels/rules
Message-ID:  <2DC959620A73E842969792F5B47FCA01037D4369@dg-exch1.giessen.nl>

next in thread | raw e-mail | index | archive | help
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@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@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 !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2DC959620A73E842969792F5B47FCA01037D4369>