summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-06-18 11:38:57 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-06-18 11:38:57 +0000
commit2c5533be7c87050e02e6b8b5ce98089aef4e70cb (patch)
tree4d643404f81686fe4a41af00a0cdd028406020ef /regress/sbin/pfctl
parentefba6cd1bf52b43c7029f53821397f36121704e0 (diff)
addr expansion in labels and the no-route case
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile6
-rw-r--r--regress/sbin/pfctl/pf79.in2
-rw-r--r--regress/sbin/pfctl/pf79.loaded4
-rw-r--r--regress/sbin/pfctl/pf79.ok1
4 files changed, 10 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 5f206fb5366..4bfeef1b765 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.156 2003/06/18 11:09:21 henning Exp $
+# $OpenBSD: Makefile,v 1.157 2003/06/18 11:38:56 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -13,14 +13,14 @@
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 69 70 71 72 73
-PFTESTS+=74 75 76 77 78
+PFTESTS+=74 75 76 77 78 79
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 37 38 39 40 41 42
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 69 70 71
-PFLOAD+=72 73 74 75 76 77 78
+PFLOAD+=72 73 74 75 76 77 78 79
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/pf79.in b/regress/sbin/pfctl/pf79.in
new file mode 100644
index 00000000000..402266be8a7
--- /dev/null
+++ b/regress/sbin/pfctl/pf79.in
@@ -0,0 +1,2 @@
+pass in from 10.0.0.1 to no-route label "$srcaddr:$dstaddr"
+
diff --git a/regress/sbin/pfctl/pf79.loaded b/regress/sbin/pfctl/pf79.loaded
new file mode 100644
index 00000000000..c33df3d3fc4
--- /dev/null
+++ b/regress/sbin/pfctl/pf79.loaded
@@ -0,0 +1,4 @@
+@0 pass in inet from 10.0.0.1 to no-route label "10.0.0.1:any"
+ [ 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/pf79.ok b/regress/sbin/pfctl/pf79.ok
new file mode 100644
index 00000000000..8b1d2976cc1
--- /dev/null
+++ b/regress/sbin/pfctl/pf79.ok
@@ -0,0 +1 @@
+pass in inet from 10.0.0.1 to no-route label "10.0.0.1:any"