summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf88.optimized
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-05 18:33:45 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-05 18:33:45 +0000
commit2b251cde1b3a7f569a51b7d4c320041ab826a600 (patch)
treeb2be5dd3490a7e81f99fe4ffcb3b2094bdf956bf /regress/sbin/pfctl/pf88.optimized
parent1df6369c95b1125ca56d02e07cf19bc329471fee (diff)
Regress tests for pfctl -o rule reordering and duplicate rule removal.
Diffstat (limited to 'regress/sbin/pfctl/pf88.optimized')
-rw-r--r--regress/sbin/pfctl/pf88.optimized64
1 files changed, 64 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf88.optimized b/regress/sbin/pfctl/pf88.optimized
new file mode 100644
index 00000000000..d937634d7b7
--- /dev/null
+++ b/regress/sbin/pfctl/pf88.optimized
@@ -0,0 +1,64 @@
+@0 pass all
+ [ Skip steps: i=2 f=2 p=10 sa=6 sp=end da=2 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@1 pass out quick all
+ [ Skip steps: p=10 sa=6 sp=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@2 pass on lo1000001 inet from any to 10.0.0.1
+ [ Skip steps: d=10 f=11 p=10 sa=6 sp=end da=4 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@3 pass on lo1000000 inet from any to 10.0.0.1
+ [ Skip steps: d=10 f=11 p=10 sa=6 sp=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@4 pass inet from any to 10.0.0.2 modulate state
+ [ Skip steps: i=13 d=10 f=11 p=10 sa=6 sp=end da=10 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@5 pass inet from any to 10.0.0.2 keep state
+ [ Skip steps: i=13 d=10 f=11 p=10 sp=end da=10 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@6 block drop inet from 10.0.0.3 to 10.0.0.2
+ [ Skip steps: i=13 d=10 f=11 p=10 sp=end da=10 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@7 pass inet from any to 10.0.0.2 modulate state
+ [ Skip steps: i=13 d=10 f=11 p=10 sp=end da=10 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@8 block drop inet from 10.0.0.3 to 10.0.0.2
+ [ Skip steps: i=13 d=10 f=11 p=10 sp=end da=10 dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@9 pass inet from any to 10.0.0.2 synproxy state
+ [ Skip steps: i=13 f=11 sp=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@10 pass out inet proto tcp from 10.0.0.4 to 10.0.0.5 keep state
+ [ Skip steps: i=13 d=12 sp=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@11 pass out all
+ [ Skip steps: i=13 f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@12 pass in all
+ [ Skip steps: d=15 f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@13 pass in on lo1000001 all keep state
+ [ Skip steps: i=15 d=15 f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@14 pass in on lo1000001 all
+ [ Skip steps: f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+@15 block drop all
+ [ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
+ [ queue: qname= qid=0 pqname= pqid=0 ]
+ [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]