summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf20.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/pf20.loaded
parent15a865f73c4cbeb0615c341f14ea699e762247cb (diff)
Make the pfload regression tests check translation rules as well as
filter rules.
Diffstat (limited to 'regress/sbin/pfctl/pf20.loaded')
-rw-r--r--regress/sbin/pfctl/pf20.loaded48
1 files changed, 48 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf20.loaded b/regress/sbin/pfctl/pf20.loaded
index e69de29bb2d..d49b581ef48 100644
--- a/regress/sbin/pfctl/pf20.loaded
+++ b/regress/sbin/pfctl/pf20.loaded
@@ -0,0 +1,48 @@
+@0 nat on lo0 inet from 127.0.0.0/24 to 1.2.3.0/25 -> 127.0.0.1
+[ Skip steps: i=end d=end f=end p=end sa=2 sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@1 nat on lo0 inet from 127.0.0.0/24 to 2.4.6.8/30 -> 127.0.0.1
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@2 nat on lo0 inet from 10.0.1.0/24 to 1.2.3.0/25 -> 127.0.0.1
+[ Skip steps: i=end d=end f=end p=end sa=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@3 nat on lo0 inet from 10.0.1.0/24 to 2.4.6.8/30 -> 127.0.0.1
+[ 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 ]
+
+@0 rdr on lo0 inet proto tcp from 127.0.0.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=4 d=end f=end p=end sa=2 sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@1 rdr on lo0 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=4 d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@2 rdr on lo0 inet proto tcp from 10.0.1.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=4 d=end f=end p=end sa=4 sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@3 rdr on lo0 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@4 rdr on lo1 inet proto tcp from 127.0.0.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=end d=end f=end p=end sa=6 sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@5 rdr on lo1 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=end d=end f=end p=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@6 rdr on lo1 inet proto tcp from 10.0.1.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
+[ Skip steps: i=end d=end f=end p=end sa=end sp=end dp=end ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
+@7 rdr on lo1 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
+[ 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 ]
+