summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-30 14:59:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-30 14:59:30 +0000
commit3d4c68203a52f3281ee3216651cbb9493a65fccb (patch)
tree87303d790ba74ded86684d4fe033c1ca88213878 /regress
parent2f361d9caad962b10eecb49c83ae29d6cfa06cc6 (diff)
positive regression test for flag handling
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/pfctl/pf3.in3
-rw-r--r--regress/sbin/pfctl/pf3.ok4
2 files changed, 7 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf3.in b/regress/sbin/pfctl/pf3.in
index cfd5ac30a03..51dbf2a1a99 100644
--- a/regress/sbin/pfctl/pf3.in
+++ b/regress/sbin/pfctl/pf3.in
@@ -4,3 +4,6 @@ pass in from any to any
block in proto tcp from any to any flags FUPEW
block in proto tcp from any to any flags SF/SFRA
block in proto tcp from any to any flags /SFRAW
+
+pass in proto { udp, icmp, tcp } from any to any flags S
+pass in from any to any flags S
diff --git a/regress/sbin/pfctl/pf3.ok b/regress/sbin/pfctl/pf3.ok
index 59e159da52b..bcb6c01e080 100644
--- a/regress/sbin/pfctl/pf3.ok
+++ b/regress/sbin/pfctl/pf3.ok
@@ -3,3 +3,7 @@
@2 block in proto tcp all flags FPUEW/FSRPAUEW
@3 block in proto tcp all flags FS/FSRA
@4 block in proto tcp all flags /FSRAW
+@5 pass in proto tcp all flags S/FSRPAUEW
+@6 pass in proto icmp all
+@7 pass in proto udp all
+@8 pass in all flags S/FSRPAUEW