Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2025 14:41:15 +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-AgzYwv2m6i@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/>

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

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

--- Comment #34 from relvy <it@vineyard-sha.de> ---
With help from opnsense I am able to build a 14.3 kernel myself.

I digged into it with if_printf() and printf().

wg_socket_init() runs with port 0 and for each wg interface with the correct
listening port.

udp_set_kernel_tunneling() registers wg_input().
But when udp_append() is called it never calls the callback function u_tun_func
that should point to wg_input().

It looks like u_tun_func pointer gets lost somewhere. Not left as a wild
pointer but reset to NULL.

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

help

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