Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115654336
D47802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
667 B
Referenced Files
None
Subscribers
None
D47802.diff
View Options
diff --git a/tests/sys/netpfil/pf/nat64.py b/tests/sys/netpfil/pf/nat64.py
--- a/tests/sys/netpfil/pf/nat64.py
+++ b/tests/sys/netpfil/pf/nat64.py
@@ -40,6 +40,7 @@
def vnet3_handler(self, vnet):
ToolsHelper.print_output("/sbin/sysctl net.inet.ip.forwarding=1")
+ ToolsHelper.print_output("/sbin/sysctl net.inet.ip.ttl=62")
ToolsHelper.print_output("echo foo | nc -l 1234 &")
def vnet2_handler(self, vnet):
@@ -125,3 +126,7 @@
udp = reply.getlayer(sp.UDPerror)
assert udp
assert udp.dport == 1222
+
+ # Check the hop limit
+ ip6 = reply.getlayer(sp.IPv6)
+ assert ip6.hlim == 62
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 3:18 PM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17819186
Default Alt Text
D47802.diff (667 B)
Attached To
Mode
D47802: pf tests: verify that we preserve the hop limit/TTL for ICMP errors
Attached
Detach File
Event Timeline
Log In to Comment