summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-11-13 22:45:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-11-13 22:45:23 +0000
commitde41866f4eb2bb1568b1d6593816ed41d4a2df2b (patch)
tree6c87c0ee1ff8657a26da3c5c5cfbc6ca5ec8c37d /regress/sbin/pfctl
parent36be95e377cc11d2becf189a891f3bcf39ad8385 (diff)
extended scrub tests
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/pf15.in5
-rw-r--r--regress/sbin/pfctl/pf15.ok11
2 files changed, 15 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/pf15.in b/regress/sbin/pfctl/pf15.in
index 943088eb8a1..4ffb63a4593 100644
--- a/regress/sbin/pfctl/pf15.in
+++ b/regress/sbin/pfctl/pf15.in
@@ -3,4 +3,9 @@ scrub in on lo0 from any to any min-ttl 25
scrub in on lo0 from any to any max-mss 224
scrub out on lo1 from any to 10.0.0.1 no-df max-mss 224
scrub in on lo0 from any to any max-mss 224
+scrub in on {lo0 lo1} from any to any
+scrub in on lo0 inet from (lo0) to any
+scrub in on lo0 inet6 from { (lo1), (lo0) } to 2000::1
+scrub in inet from { 10.0.0.1, 10.0.0.2 } to { 10.0.0.3, 10.0.0.4 }
+
diff --git a/regress/sbin/pfctl/pf15.ok b/regress/sbin/pfctl/pf15.ok
index 42959d75384..1b99f7361ef 100644
--- a/regress/sbin/pfctl/pf15.ok
+++ b/regress/sbin/pfctl/pf15.ok
@@ -1,5 +1,14 @@
@0 scrub in on lo0 all no-df fragment reassemble
@1 scrub in on lo0 all min-ttl 25 fragment reassemble
@2 scrub in on lo0 all max-mss 224 fragment reassemble
-@3 scrub out on lo1 all no-df max-mss 224 fragment reassemble
+@3 scrub out on lo1 inet from any to 10.0.0.1 no-df max-mss 224 fragment reassemble
@4 scrub in on lo0 all max-mss 224 fragment reassemble
+@5 scrub in on lo0 all fragment reassemble
+@6 scrub in on lo1 all fragment reassemble
+@7 scrub in on lo0 inet from (lo0) to any fragment reassemble
+@8 scrub in on lo0 inet6 from (lo1) to 2000::1 fragment reassemble
+@9 scrub in on lo0 inet6 from (lo0) to 2000::1 fragment reassemble
+@10 scrub in inet from 10.0.0.1 to 10.0.0.3 fragment reassemble
+@11 scrub in inet from 10.0.0.1 to 10.0.0.4 fragment reassemble
+@12 scrub in inet from 10.0.0.2 to 10.0.0.3 fragment reassemble
+@13 scrub in inet from 10.0.0.2 to 10.0.0.4 fragment reassemble