diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf12.in | 5 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf12.ok | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 0c7e7430051..e3a0a4769c2 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.9 2001/09/15 23:25:23 wilfried Exp $ +# $OpenBSD: Makefile,v 1.10 2001/10/07 11:56:58 dhartmei Exp $ NOMAN= NOPROG= -PFTESTS=1 2 3 4 5 6 7 8 9 10 11 +PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 PFFAIL=1 2 3 4 5 6 7 .for n in ${PFFAIL} diff --git a/regress/sbin/pfctl/pf12.in b/regress/sbin/pfctl/pf12.in new file mode 100644 index 00000000000..50078bb3c6b --- /dev/null +++ b/regress/sbin/pfctl/pf12.in @@ -0,0 +1,5 @@ +pass in from 127.0.0.1 to 127.0.0.1/8 +pass in from 127.0.0.1/16 to 127.0.0.1/24 +pass in from 127.0.0.1/25 to ! 127.0.0.1/26 +pass in from ! localhost to localhost/16 +pass in from ! lo0 to ! lo0/8 diff --git a/regress/sbin/pfctl/pf12.ok b/regress/sbin/pfctl/pf12.ok new file mode 100644 index 00000000000..7577152029c --- /dev/null +++ b/regress/sbin/pfctl/pf12.ok @@ -0,0 +1,5 @@ +@0 pass in inet from 127.0.0.1/32 to 127.0.0.1/8 +@0 pass in inet from 127.0.0.1/16 to 127.0.0.1/24 +@0 pass in inet from 127.0.0.1/25 to ! 127.0.0.1/26 +@0 pass in inet from ! 127.0.0.1/32 to 127.0.0.1/16 +@0 pass in inet from ! 127.0.0.1/32 to ! 127.0.0.1/8 |