summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-05-15 06:27:02 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-05-15 06:27:02 +0000
commit2f5fb1867e9aca8e24e190aede9a2cbf7a031d45 (patch)
tree7230329571aac94b779327c9925dc2237c41a460 /regress/sbin/pfctl
parenteb50a6efa03f600bfeaf663d72465607436c07d6 (diff)
tag too long in the nat/rdr codepath
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pfail38.in4
-rw-r--r--regress/sbin/pfctl/pfail38.ok5
3 files changed, 11 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 80c7ae6a4e4..2e2aa33dc64 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.144 2003/05/15 06:25:07 henning Exp $
+# $OpenBSD: Makefile,v 1.145 2003/05/15 06:27:01 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -14,7 +14,7 @@ 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
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
+PFFAIL+=28 29 30 31 32 33 34 35 36 37 38
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
diff --git a/regress/sbin/pfctl/pfail38.in b/regress/sbin/pfctl/pfail38.in
new file mode 100644
index 00000000000..9ec4d3fe53f
--- /dev/null
+++ b/regress/sbin/pfctl/pfail38.in
@@ -0,0 +1,4 @@
+nat on lo0 tag thistagisfaaaaaartooooolooooooooong -> 127.0.0.1
+rdr on lo0 tag thistagisfaaaaaartooooolooooooooong -> 127.0.0.1
+no nat on lo0 tag thistagisfaaaaaartooooolooooooooong -> 127.0.0.1
+no rdr on lo0 tag thistagisfaaaaaartooooolooooooooong -> 127.0.0.1
diff --git a/regress/sbin/pfctl/pfail38.ok b/regress/sbin/pfctl/pfail38.ok
new file mode 100644
index 00000000000..57f53ce50fc
--- /dev/null
+++ b/regress/sbin/pfctl/pfail38.ok
@@ -0,0 +1,5 @@
+stdin:1: tag too long, max 15 chars
+stdin:2: tag too long, max 15 chars
+stdin:3: tag too long, max 15 chars
+stdin:4: tag too long, max 15 chars
+pfctl: Syntax error in config file: pf rules not loaded