diff options
author | 2002-09-12 11:17:49 +0000 | |
---|---|---|
committer | 2002-09-12 11:17:49 +0000 | |
commit | a0d40958874c34ffa75e77564ed2df96ee38a3f4 (patch) | |
tree | 398da0a3ccacac65534a717c533eda63b8ef45da | |
parent | Fix max packet size check. Noticed by <j@pureftpd.org>. jjbg@ ok. (diff) | |
download | wireguard-openbsd-a0d40958874c34ffa75e77564ed2df96ee38a3f4.tar.xz wireguard-openbsd-a0d40958874c34ffa75e77564ed2df96ee38a3f4.zip |
regress test for antispoof
-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 |