summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf17.loaded
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-02-22 23:26:40 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-02-22 23:26:40 +0000
commit9292a43521cdb902729e957bbb2da2cf0c12abdf (patch)
treedd86667775573055427e510719a2b87e4bfa4094 /regress/sbin/pfctl/pf17.loaded
parent15a865f73c4cbeb0615c341f14ea699e762247cb (diff)
Make the pfload regression tests check translation rules as well as
filter rules.
Diffstat (limited to 'regress/sbin/pfctl/pf17.loaded')
-rw-r--r--regress/sbin/pfctl/pf17.loaded48
1 files changed, 48 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf17.loaded b/regress/sbin/pfctl/pf17.loaded
index e69de29bb2d..2149201d43f 100644
--- a/regress/sbin/pfctl/pf17.loaded
+++ b/regress/sbin/pfctl/pf17.loaded
@@ -0,0 +1,48 @@
+@0 no binat on lo0 inet from 192.168.1.1 to 10.1.2.3
+[ Skip steps: i=end d=end f=end p=2 sa=2 sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@1 binat on lo0 inet from 192.168.1.1 to any -> 10.0.0.1
+[ Skip steps: i=end d=end f=end sp=end da=5 dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@2 binat on lo0 inet proto tcp from 192.168.1.2 to any -> 10.0.0.2
+[ Skip steps: i=end d=end f=end sp=end da=5 dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@3 binat on lo0 inet proto udp from 192.168.1.3 to any -> 10.0.0.3
+[ Skip steps: i=end d=end f=end sp=end da=5 dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@4 binat on lo0 inet proto icmp from 192.168.1.4 to any -> 10.0.0.4
+[ Skip steps: i=end d=end f=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@5 binat on lo0 inet from 192.168.1.5 to 172.16.1.1 -> 10.0.0.5
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@6 binat on lo0 inet from 192.168.1.6 to 172.16.1.2 -> 10.0.0.6
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@7 binat on lo0 inet from 192.168.1.7 to 172.16.2.0/24 -> 10.0.0.7
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@8 binat on lo0 inet from 192.168.2.0/24 to any -> 10.0.5.0/24
+[ Skip steps: i=end d=end f=end p=end sp=end da=10 dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@9 binat on lo0 inet from 192.168.2.0/28 to any -> 10.0.4.0/28
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@10 binat on lo0 inet from 192.168.2.0/30 to 192.168.3.1 -> 10.0.3.0/30
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@11 binat on lo0 inet from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8
+[ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+