Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2025 18:25:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 290768] if_wg(4): handshake response has src and dst reverse
Message-ID:  <bug-290768-7501-37OZ5gqepE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290768-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290768-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290768

--- Comment #31 from relvy <it@vineyard-sha.de> ---
I have tested this patch [0] and with options INVARIANTS, INVARIANTS_SUPPORT,
KASSERT_PANIC_OPTIONAL, KDTRACE_HOOS, KDTRACE_FRAME and DDB_CTF enabled.

With this I see nothing in dmesg. Nothing after boot and nothing after I
initiated handshake from the peer.
In tcpdump I see

19:00:34.416053 IP a.b.c.d.47305 > 10.2.1.30.51820: UDP, length 148
19:00:34.416057 IP a.b.c.d.47305 > 10.2.1.30.51820: UDP, length 148
19:00:34.418392 IP a.b.c.d.47305 > 10.2.1.30.51820: UDP, length 148

pfctl -s states | grep 51820
all udp 10.2.1.30:51820 <- a.b.c.d:45350 NO_TRAFFIC:SINGLE
all udp a.b.c.d:45350 -> 10.2.1.30:51820 SINGLE:NO_TRAFFIC

No assertion is triggert.

[0] https://people.freebsd.org/~kevans/wg-keepalive.diff

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290768-7501-37OZ5gqepE>