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

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290768

--- Comment #31 from relvy <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.