summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-02-24 21:09:07 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-02-24 21:09:07 +0000
commit5a75e98a9d09a385535ffa4aab76ea0da66e8d27 (patch)
treeb851719d108762422032e02bff8d7a262010c870 /regress/sbin/pfctl
parent7673a35af21a031689b2cfc816c8d7895e3718a2 (diff)
Test for error with 'source-track global'/'max-src-nodes' combo.
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile4
-rw-r--r--regress/sbin/pfctl/pfail48.in2
-rw-r--r--regress/sbin/pfctl/pfail48.ok1
3 files changed, 5 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index acb640ddba2..b8047b309ef 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.176 2004/02/18 20:15:49 mcbride Exp $
+# $OpenBSD: Makefile,v 1.177 2004/02/24 21:09:06 mcbride Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -15,7 +15,7 @@ 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 79 80 81 82 83 84 85 86
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 43 44 45 46 47
+PFFAIL+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
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/pfail48.in b/regress/sbin/pfctl/pfail48.in
new file mode 100644
index 00000000000..aee9f9b8b21
--- /dev/null
+++ b/regress/sbin/pfctl/pfail48.in
@@ -0,0 +1,2 @@
+pass in proto tcp from any to any port 123 \
+ keep state (source-track global, max-src-nodes 1000)
diff --git a/regress/sbin/pfctl/pfail48.ok b/regress/sbin/pfctl/pfail48.ok
new file mode 100644
index 00000000000..280eafe0299
--- /dev/null
+++ b/regress/sbin/pfctl/pfail48.ok
@@ -0,0 +1 @@
+stdin:2: 'max-src-nodes' is incompatible with 'source-track global'