diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-25 08:17:17 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-25 08:17:17 +0000 |
commit | 6170a7b3d66abf8c132e867c0c2aa8d2ded399a9 (patch) | |
tree | 28fb7ab6e4bd1f4b78658858345a9b9893c6ad1e /regress/sbin/pfctl | |
parent | bc64cbe4bc38efeb8d0006b56f93c1803ca806a2 (diff) |
regression tests for options in pf.conf
ok dhartmei@, kjell@
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf22.in | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf22.ok | 8 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail11.in | 5 |
4 files changed, 22 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 270f5e44edc..1a80a6f7876 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.19 2002/06/11 18:07:49 frantzen Exp $ +# $OpenBSD: Makefile,v 1.20 2002/06/25 08:17:16 henning Exp $ -PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -PFFAIL=1 2 3 4 5 6 7 8 9 10 +PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 +PFFAIL=1 2 3 4 5 6 7 8 9 10 11 .for n in ${PFFAIL} REGRESSTARGETS+=pfail${n} diff --git a/regress/sbin/pfctl/pf22.in b/regress/sbin/pfctl/pf22.in new file mode 100644 index 00000000000..8e700788b81 --- /dev/null +++ b/regress/sbin/pfctl/pf22.in @@ -0,0 +1,6 @@ +set optimization aggressive +set timeout { tcp.closing 6, tcp.opening 6 } +set timeout tcp.first 6 +set limit states 500 +set limit {states 1000,frags 1000} +set loginterface lo0 diff --git a/regress/sbin/pfctl/pf22.ok b/regress/sbin/pfctl/pf22.ok new file mode 100644 index 00000000000..f711ed0a42d --- /dev/null +++ b/regress/sbin/pfctl/pf22.ok @@ -0,0 +1,8 @@ +set optimization aggressive +set timeout tcp.closing 6s +set timeout tcp.opening 6s +set timeout tcp.first 6s +set limit states 500 +set limit states 1000 +set limit frags 1000 +set loginterface lo0 diff --git a/regress/sbin/pfctl/pfail11.in b/regress/sbin/pfctl/pfail11.in new file mode 100644 index 00000000000..94ae234e976 --- /dev/null +++ b/regress/sbin/pfctl/pfail11.in @@ -0,0 +1,5 @@ +set optimization aggressive +set timeout tcp.closing 6, tcp.opening 6 +pass in all +set limit states 1000, frags 1000 +set loginterface lo0 |