[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 #34 from relvy <[email protected]> ---
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.
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.