summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf1.loaded
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-18 16:49:55 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-12-18 16:49:55 +0000
commit9f006b08d85577ebe82a51b651ee67f75045bc7e (patch)
tree91f41a70998ee04abfefe11327f4dcd59f59baf5 /regress/sbin/pfctl/pf1.loaded
parente91bc917a46b06f345b8c4b57be00eadf1bde6e7 (diff)
Load regress rules into anchor regress:regress and compare the output
of pfctl -vvsr with expected output. This verifies that skip step values don't change unexpectedly.
Diffstat (limited to 'regress/sbin/pfctl/pf1.loaded')
-rw-r--r--regress/sbin/pfctl/pf1.loaded32
1 files changed, 32 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf1.loaded b/regress/sbin/pfctl/pf1.loaded
new file mode 100644
index 00000000000..ad29f294104
--- /dev/null
+++ b/regress/sbin/pfctl/pf1.loaded
@@ -0,0 +1,32 @@
+@0 pass in all
+[ Skip steps: a=end i=end d=end f=4 p=2 sa=4 sp=2 da=4 dp=3 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@1 pass in all
+[ Skip steps: a=end i=end d=end f=4 sa=4 da=4 dp=3 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@2 pass in proto tcp from any port <= 1024 to any label foo_bar
+[ Skip steps: a=end i=end d=end f=4 p=5 sa=4 da=4 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@3 pass in proto tcp from any to any port = smtp
+[ Skip steps: a=end i=end d=end p=5 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@4 pass in inet proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != ssh
+[ Skip steps: a=end i=end d=end f=end sa=6 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@5 pass in inet proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts
+[ Skip steps: a=end i=end d=end f=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@6 pass in inet proto tcp from 1.2.3.4 to any label 6:tcp:1.2.3.4::any:
+[ Skip steps: a=end i=end d=end f=end p=end sp=end da=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@7 pass in inet proto tcp from 1.2.3.5 to any label 7:tcp:1.2.3.5::any:
+[ Skip steps: a=end i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+