summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-12-13 22:07:57 +0000
committerhenning <henning@openbsd.org>2002-12-13 22:07:57 +0000
commitc605412a23bf0db5c22beabfe76f214857fadc64 (patch)
tree29653cd57237d2ac8c90e1822c7909bf280e4b06
parenttest scrub options in unusual order (diff)
downloadwireguard-openbsd-c605412a23bf0db5c22beabfe76f214857fadc64.tar.xz
wireguard-openbsd-c605412a23bf0db5c22beabfe76f214857fadc64.zip
might help to add the actual tests.
-rw-r--r--regress/sbin/pfctl/pf44.in8
-rw-r--r--regress/sbin/pfctl/pf44.ok6
2 files changed, 14 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf44.in b/regress/sbin/pfctl/pf44.in
new file mode 100644
index 00000000000..aa737d20ff0
--- /dev/null
+++ b/regress/sbin/pfctl/pf44.in
@@ -0,0 +1,8 @@
+#scrub opts in unusual order
+
+scrub in on lo0 from any to any min-ttl 15 no-df max-mss 224
+scrub in on lo0 from any to any no-df max-mss 224 min-ttl 15
+scrub in on lo0 from any to any fragment reassemble max-mss 224 min-ttl 15 no-df
+scrub in on lo0 from any to any min-ttl 15 fragment drop-ovl no-df max-mss 224
+scrub in on lo0 from any to any no-df max-mss 224 fragment crop min-ttl 15
+scrub in on lo0 from any to any max-mss 224 min-ttl 15 no-df fragment reassemble
diff --git a/regress/sbin/pfctl/pf44.ok b/regress/sbin/pfctl/pf44.ok
new file mode 100644
index 00000000000..f35423a6d92
--- /dev/null
+++ b/regress/sbin/pfctl/pf44.ok
@@ -0,0 +1,6 @@
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment reassemble
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment reassemble
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment reassemble
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment drop-ovl
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment crop
+scrub in on lo0 all no-df min-ttl 15 max-mss 224 fragment reassemble