summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-05-14 05:26:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-05-14 05:26:35 +0000
commit9b81eee7108ca0257767406a8d895690f4a27e8f (patch)
tree2ca6a2eefd79c8ad80cf0e001ceb79928468b7c0 /regress/sbin/pfctl
parentc52549a1a3e6ae4455148da27fda8f8c44627212 (diff)
tags on nat
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile6
-rw-r--r--regress/sbin/pfctl/pf69.in3
-rw-r--r--regress/sbin/pfctl/pf69.loaded10
-rw-r--r--regress/sbin/pfctl/pf69.ok2
4 files changed, 18 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index e21be42df9e..f7f9bde2a05 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.138 2003/05/14 05:21:19 frantzen Exp $
+# $OpenBSD: Makefile,v 1.139 2003/05/14 05:26:34 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -12,13 +12,13 @@
PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
-PFTESTS+=51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
+PFTESTS+=51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFFAIL+=28 29 30 31 32 33 34 35 36
PFSIMPLE=1 2
PFSETUP=1 2 3 4
PFLOAD=1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29
-PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 48 49 54 56 60 61 65 66 67 68
+PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 48 49 54 56 60 61 65 66 67 68 69
PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 14
# disabled; no altq in anchors
# PFLOAD+=33 35 37 42 43 45 51 58 59 62 63 64
diff --git a/regress/sbin/pfctl/pf69.in b/regress/sbin/pfctl/pf69.in
new file mode 100644
index 00000000000..a795a9af3e3
--- /dev/null
+++ b/regress/sbin/pfctl/pf69.in
@@ -0,0 +1,3 @@
+nat on lo0 inet all tag regress -> lo0
+pass out quick on lo0 keep state tagged regress
+
diff --git a/regress/sbin/pfctl/pf69.loaded b/regress/sbin/pfctl/pf69.loaded
new file mode 100644
index 00000000000..51d51ac0fd9
--- /dev/null
+++ b/regress/sbin/pfctl/pf69.loaded
@@ -0,0 +1,10 @@
+@0 nat on lo0 inet all tag regress -> 127.0.0.1
+[ 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 ]
+
+@0 pass out quick on lo0 all keep state tagged regress
+[ 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 ]
+
diff --git a/regress/sbin/pfctl/pf69.ok b/regress/sbin/pfctl/pf69.ok
new file mode 100644
index 00000000000..35355877489
--- /dev/null
+++ b/regress/sbin/pfctl/pf69.ok
@@ -0,0 +1,2 @@
+nat on lo0 inet all tag regress -> 127.0.0.1
+pass out quick on lo0 all keep state tagged regress