diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-05-19 20:25:46 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-05-19 20:25:46 +0000 |
commit | 16ac01814c0e49a3bc9cfd6a1d91501a7025fed5 (patch) | |
tree | 808816b653ee919aebaf1bc847d29db8bd1dbaa2 /regress | |
parent | 59b6cdbada557263cd6f5e613ffa2a2ba2b3d46b (diff) |
invalid v4 netnasks
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail42.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail42.ok | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index ff3c4f66fbf..343e4b52aec 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.150 2003/05/19 18:38:13 henning Exp $ +# $OpenBSD: Makefile,v 1.151 2003/05/19 20:25:45 henning 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 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 +PFFAIL+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 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/pfail42.in b/regress/sbin/pfctl/pfail42.in new file mode 100644 index 00000000000..1f1d1f79cca --- /dev/null +++ b/regress/sbin/pfctl/pfail42.in @@ -0,0 +1,3 @@ +# invalid netmask on v4 address + +pass in from 10.0.0.0/64 diff --git a/regress/sbin/pfctl/pfail42.ok b/regress/sbin/pfctl/pfail42.ok new file mode 100644 index 00000000000..a6159df7792 --- /dev/null +++ b/regress/sbin/pfctl/pfail42.ok @@ -0,0 +1,4 @@ +netmask 64 invalid for IPv4 address +stdin:3: skipping rule due to errors +stdin:3: rule expands to no valid combination +pfctl: Syntax error in config file: pf rules not loaded |