[Bug 284857] wg(4): IPv4 packet with IPv6 nexthop not forwarded
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284857] wg(4): IPv4 packet with IPv6 nexthop not forwarded"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Feb 2025 17:52:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284857 Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #1 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> --- Created attachment 258107 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258107&action=edit 0001-wg-Unbreak-IPv4-routes-with-an-IPv6-next-hops.patch Tested in semi-production scenario: [hamal] /usr/src_head# route add 10.0.0.x/32 -6 2001:db8:db8::1 add net 10.0.0.x: gateway 2001:db8:db8::1 fib 0 [hamal] /usr/src_head# route get 10.0.0.x route to: 10.0.0.x destination: 10.0.0.x gateway: 2001:db8:db8::1 fib: 0 interface: wg1 flags: <UP,GATEWAY,HOST,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1420 1 0 [hamal] /usr/src_head# ping -c 3 -S 172.19.3.5 10.0.0.x PING 10.0.0.x (10.0.0.x) from 172.19.3.5: 56 data bytes 64 bytes from 10.0.0.x: icmp_seq=0 ttl=63 time=8.893 ms 64 bytes from 10.0.0.x: icmp_seq=1 ttl=63 time=8.515 ms 64 bytes from 10.0.0.x: icmp_seq=2 ttl=63 time=8.506 ms --- 10.0.0.x ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 8.506/8.638/8.893/0.180 ms Tested from recent 15.0-CURRENT to 14.2-STABLE on the remote endpoint. Both endpoints were patched. Without this patch, the test was falling as reported above. -- You are receiving this mail because: You are on the CC list for the bug.