diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-12 11:17:50 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-12 11:17:50 +0000 |
commit | 390f65c444a2098395e86f76dc3ed143f38b6d50 (patch) | |
tree | b82b6b20e66092d291b6c7811f5f9b37a7be235d /regress/sbin | |
parent | fbc256c43d2158a1a387dab22452e24c8d7d3a24 (diff) |
regress test for antispoof
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf25.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf25.ok | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 47e3dd283d6..d843715a636 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.28 2002/09/02 20:01:43 avsm Exp $ +# $OpenBSD: Makefile,v 1.29 2002/09/12 11:17:49 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 +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 PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 .for n in ${PFFAIL} diff --git a/regress/sbin/pfctl/pf25.in b/regress/sbin/pfctl/pf25.in new file mode 100644 index 00000000000..b00e4a346bf --- /dev/null +++ b/regress/sbin/pfctl/pf25.in @@ -0,0 +1,2 @@ +antispoof for lo0 +antispoof log quick for lo0 inet diff --git a/regress/sbin/pfctl/pf25.ok b/regress/sbin/pfctl/pf25.ok new file mode 100644 index 00000000000..d335fde6642 --- /dev/null +++ b/regress/sbin/pfctl/pf25.ok @@ -0,0 +1,3 @@ +@0 block in on ! lo0 inet from 127.0.0.1/8 to any +@1 block in on ! lo0 inet6 from ::1 to any +@2 block in log quick on ! lo0 inet from 127.0.0.1/8 to any |