[Bug 290768] if_wg(4): handshake response has src and dst reverse

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Nov 2025 18:45:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290768

--- Comment #5 from relvy <it@vineyard-sha.de> ---
I run three instances of tcpdump on wg1, one capturing any tcp, one capturing
any udp and one capturing any icmp traffic.

Then I initiated the wireguard handshake from my peer.

The result of all three tcpdump instances:

0 packets captured
0 packets received by filter
0 packets dropped by kernel

If the problem were on the way out of if_wg(4) then tcpdump would have catched
any tcp, udp and/or icmp traffic.
But there is no traffic within if_wg(4). Therefore, the problem must be on the
way *in* to if_wg(4).

P.S. Let me know if I should run tcpdump with a specific filter.

-- 
You are receiving this mail because:
You are the assignee for the bug.