diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-21 17:18:25 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-21 17:18:25 +0000 |
commit | 645f1f9d8c2568e1e6446e6d96fd79d73d422df4 (patch) | |
tree | 513f2b9004cc597c08d31a7a89e286eff82141c1 /regress/sbin | |
parent | 4e4f0d964cd5708e2bad4ff6d6db86a231746cbe (diff) |
whole bunch of options tests, idea by krause
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf55.in | 17 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf55.ok | 27 |
3 files changed, 47 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 924781eaf04..27ab25b6634 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.89 2003/02/21 17:11:45 henning Exp $ +# $OpenBSD: Makefile,v 1.90 2003/02/21 17:18:24 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -12,7 +12,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 +PFTESTS+=51 52 53 54 55 PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 PFSIMPLE=1 PFSETUP=1 @@ -23,7 +23,7 @@ PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 49 54 # disabled; no table def in anchors # PFLOAD+=48 # only testing parser, load test would be useless -# PFLOAD+=6 22 41 50 52 53 +# PFLOAD+=6 22 41 50 52 53 55 PFTABLE=1 2 3 4 5 6 7 8 9 10 11 12 PFOPT=1 2 3 4 5 diff --git a/regress/sbin/pfctl/pf55.in b/regress/sbin/pfctl/pf55.in new file mode 100644 index 00000000000..4d56cb446df --- /dev/null +++ b/regress/sbin/pfctl/pf55.in @@ -0,0 +1,17 @@ +set timeout { interval 43, frag 23 } +set timeout { tcp.first 423, tcp.opening 123, tcp.established 43758 } +set timeout { tcp.closing 744, tcp.finwait 25, tcp.closed 38 } +set timeout { udp.first 356, udp.single 73, udp.multiple 34 } +set timeout { icmp.first 464, icmp.error 34 } +set timeout { other.first 455, other.single 54, other.multiple 324 } +set limit { states 4522, frags 43556 } +set loginterface none +set loginterface lo0 +set optimization normal +set block-policy drop +set require-order yes + +set limit states 43254 +set limit frags 34557 +set timeout interval 344 +set timeout frag 213 diff --git a/regress/sbin/pfctl/pf55.ok b/regress/sbin/pfctl/pf55.ok new file mode 100644 index 00000000000..18c6f05cdd0 --- /dev/null +++ b/regress/sbin/pfctl/pf55.ok @@ -0,0 +1,27 @@ +set timeout interval 43 +set timeout frag 23 +set timeout tcp.first 423 +set timeout tcp.opening 123 +set timeout tcp.established 43758 +set timeout tcp.closing 744 +set timeout tcp.finwait 25 +set timeout tcp.closed 38 +set timeout udp.first 356 +set timeout udp.single 73 +set timeout udp.multiple 34 +set timeout icmp.first 464 +set timeout icmp.error 34 +set timeout other.first 455 +set timeout other.single 54 +set timeout other.multiple 324 +set limit states 4522 +set limit frags 43556 +set loginterface none +set loginterface lo0 +set optimization normal +set block-policy drop +set require-order yes +set limit states 43254 +set limit frags 34557 +set timeout interval 344 +set timeout frag 213 |