summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf1.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-06-08 04:56:02 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-06-08 04:56:02 +0000
commit5ca6bbf68f56e31ed9ea3cce3bff925f586805be (patch)
tree3b739a1f1289e9909c458b528a9aac7b4fd1b5ec /regress/sbin/pfctl/pf1.in
parent14fcdc4e9f32039c3345997aa2db18b6e4bbc994 (diff)
regression test from $srcaddr & friends in rule labels
ok dhartmei@
Diffstat (limited to 'regress/sbin/pfctl/pf1.in')
-rw-r--r--regress/sbin/pfctl/pf1.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf1.in b/regress/sbin/pfctl/pf1.in
index 07235eb0fdf..626bd582f3d 100644
--- a/regress/sbin/pfctl/pf1.in
+++ b/regress/sbin/pfctl/pf1.in
@@ -4,3 +4,5 @@ pass in proto tcp from any port <= 1024 to any label foo_bar
pass in proto tcp from any to any port = 25
pass in proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != 22
pass in proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts
+pass in proto tcp from { 1.2.3.4, 1.2.3.5 } to any label \
+"$nr:$proto:$srcaddr:$srcport:$dstaddr:$dstport"