diff options
author | 2002-11-13 22:45:22 +0000 | |
---|---|---|
committer | 2002-11-13 22:45:22 +0000 | |
commit | 33d1ce75f740d6ceb3a70d5697e7e96f7bafce1f (patch) | |
tree | 417c637a018ab078158bc7669bab2253409edee8 | |
parent | as scrub rules end up in a struct pf_rule just call expand_rule instead of (diff) | |
download | wireguard-openbsd-33d1ce75f740d6ceb3a70d5697e7e96f7bafce1f.tar.xz wireguard-openbsd-33d1ce75f740d6ceb3a70d5697e7e96f7bafce1f.zip |
extended scrub tests
-rw-r--r-- | regress/sbin/pfctl/pf15.in | 5 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf15.ok | 11 |
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 |