summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-09-18 12:46:07 +0000
committerhenning <henning@openbsd.org>2002-09-18 12:46:07 +0000
commitf4bae90ac8bcf8b70b3a233f85375e4d2a86665b (patch)
treee7b951fa89e0df94fd41b68444f191f494debb72
parenttest "set loginterface none" (diff)
downloadwireguard-openbsd-f4bae90ac8bcf8b70b3a233f85375e4d2a86665b.tar.xz
wireguard-openbsd-f4bae90ac8bcf8b70b3a233f85375e4d2a86665b.zip
test return-rst(ttl number)
-rw-r--r--regress/sbin/pfctl/pf10.in2
-rw-r--r--regress/sbin/pfctl/pf10.ok42
2 files changed, 24 insertions, 20 deletions
diff --git a/regress/sbin/pfctl/pf10.in b/regress/sbin/pfctl/pf10.in
index 15ca78b9ebe..b772b885353 100644
--- a/regress/sbin/pfctl/pf10.in
+++ b/regress/sbin/pfctl/pf10.in
@@ -5,6 +5,8 @@ block in inet proto icmp all
block in inet6 proto ipv6-icmp all
block return-rst in inet proto tcp all
block return-rst in inet6 proto tcp all
+block return-rst(ttl 10) in inet proto tcp all
+block return-rst(ttl 10) in inet6 proto tcp all
block return-icmp in inet proto icmp all
block return-icmp(0) in inet proto icmp all
block return-icmp(net-unr) in inet proto icmp all
diff --git a/regress/sbin/pfctl/pf10.ok b/regress/sbin/pfctl/pf10.ok
index 846e1a80d03..d8128faa3f6 100644
--- a/regress/sbin/pfctl/pf10.ok
+++ b/regress/sbin/pfctl/pf10.ok
@@ -4,23 +4,25 @@
@3 block in inet6 proto ipv6-icmp all
@4 block return-rst in inet proto tcp all
@5 block return-rst in inet6 proto tcp all
-@6 block return-icmp in inet proto icmp all
-@7 block return-icmp(net-unr) in inet proto icmp all
-@8 block return-icmp(net-unr) in inet proto icmp all
-@9 block return-icmp(srcfail) in inet proto icmp all
-@10 block return-icmp(srcfail) in inet proto icmp all
-@11 block return-icmp(host-prohib) in inet proto icmp all
-@12 block return-icmp(host-prohib) in inet proto icmp all
-@13 block return-icmp(cutoff-preced) in inet proto icmp all
-@14 block return-icmp(cutoff-preced) in inet proto icmp all
-@15 block return-icmp6 in inet6 proto ipv6-icmp all
-@16 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
-@17 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
-@18 block return-icmp6(admin-unr) in inet6 proto ipv6-icmp all
-@19 block return-icmp6(admin-unr) in inet6 proto ipv6-icmp all
-@20 block return-icmp6(notnbr-unr) in inet6 proto ipv6-icmp all
-@21 block return-icmp6(notnbr-unr) in inet6 proto ipv6-icmp all
-@22 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
-@23 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
-@24 block return-icmp6 in inet6 proto ipv6-icmp all
-@25 block return-icmp6 in inet6 proto ipv6-icmp all
+@6 block return-rst(ttl 10) in inet proto tcp all
+@7 block return-rst(ttl 10) in inet6 proto tcp all
+@8 block return-icmp in inet proto icmp all
+@9 block return-icmp(net-unr) in inet proto icmp all
+@10 block return-icmp(net-unr) in inet proto icmp all
+@11 block return-icmp(srcfail) in inet proto icmp all
+@12 block return-icmp(srcfail) in inet proto icmp all
+@13 block return-icmp(host-prohib) in inet proto icmp all
+@14 block return-icmp(host-prohib) in inet proto icmp all
+@15 block return-icmp(cutoff-preced) in inet proto icmp all
+@16 block return-icmp(cutoff-preced) in inet proto icmp all
+@17 block return-icmp6 in inet6 proto ipv6-icmp all
+@18 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
+@19 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
+@20 block return-icmp6(admin-unr) in inet6 proto ipv6-icmp all
+@21 block return-icmp6(admin-unr) in inet6 proto ipv6-icmp all
+@22 block return-icmp6(notnbr-unr) in inet6 proto ipv6-icmp all
+@23 block return-icmp6(notnbr-unr) in inet6 proto ipv6-icmp all
+@24 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
+@25 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
+@26 block return-icmp6 in inet6 proto ipv6-icmp all
+@27 block return-icmp6 in inet6 proto ipv6-icmp all