diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-19 19:17:36 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-19 19:17:36 +0000 |
commit | b3491cc1d021819510143a15790569c5cf2cc1e4 (patch) | |
tree | 2a68e2483acae4ddaaa2fdb9cc11c63ce6d3b8c1 | |
parent | a36c6b51f17e5e5ee13fcff505d3095cedcf4ff1 (diff) |
try to provoke host() misbehavior
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail16.in | 7 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail16.ok | 10 |
3 files changed, 19 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index ecc754d1269..0a0bdd0b03f 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.77 2003/02/19 16:23:43 henning Exp $ +# $OpenBSD: Makefile,v 1.78 2003/02/19 19:17:35 henning Exp $ 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 -PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 +PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 PFSIMPLE=1 2 PFSETUP=1 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/pfail16.in b/regress/sbin/pfctl/pfail16.in new file mode 100644 index 00000000000..40860f79912 --- /dev/null +++ b/regress/sbin/pfctl/pfail16.in @@ -0,0 +1,7 @@ +# invalid IP addresses +block from 10.0.0.0.1 +block from :80 +block from 2000:0:0:0:0:0:0:0:0:1 +block from 256.0.0.1 +block from 10.0.0.0:network + diff --git a/regress/sbin/pfctl/pfail16.ok b/regress/sbin/pfctl/pfail16.ok new file mode 100644 index 00000000000..bf0bef87727 --- /dev/null +++ b/regress/sbin/pfctl/pfail16.ok @@ -0,0 +1,10 @@ +no IP address found for 10.0.0.0.1 +no IP address found for :80 +no IP address found for 2000:0:0:0:0:0:0:0:0:1 +no IP address found for 256.0.0.1 +no IP address found for 10.0.0.0:network +block drop all +block drop all +block drop all +block drop all +block drop all |