summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-18 17:43:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-18 17:43:49 +0000
commite096bd2497486e826d807f9c992fdbb4d7b9f1ef (patch)
tree3e542bf930201fd474f46417e75d20762ec69e21 /regress/sbin
parente17874143fe885474ae8919bf4eaf0e5914dbc17 (diff)
better block-policy tests
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/pfctl/pf31.in10
-rw-r--r--regress/sbin/pfctl/pf31.ok10
2 files changed, 20 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf31.in b/regress/sbin/pfctl/pf31.in
index ee010b13901..1968852f69b 100644
--- a/regress/sbin/pfctl/pf31.in
+++ b/regress/sbin/pfctl/pf31.in
@@ -1,4 +1,14 @@
set block-policy drop
+block return in on lo0 all
+block return in on lo0 inet all
+block return in on lo0 inet6 all
+block drop in on lo0 all
+block drop in on lo0 inet all
+block drop in on lo0 inet6 all
+block in on lo0 all
+block in on lo0 inet all
+block in on lo0 inet6 all
+set require-order no
set block-policy return
block return in on lo0 all
block return in on lo0 inet all
diff --git a/regress/sbin/pfctl/pf31.ok b/regress/sbin/pfctl/pf31.ok
index a44ee5f2b25..397742d5631 100644
--- a/regress/sbin/pfctl/pf31.ok
+++ b/regress/sbin/pfctl/pf31.ok
@@ -1,4 +1,14 @@
set block-policy drop
+block return in on lo0 all
+block return in on lo0 inet all
+block return in on lo0 inet6 all
+block drop in on lo0 all
+block drop in on lo0 inet all
+block drop in on lo0 inet6 all
+block drop in on lo0 all
+block drop in on lo0 inet all
+block drop in on lo0 inet6 all
+set require-order no
set block-policy return
block return in on lo0 all
block return in on lo0 inet all