[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 #17 from relvy <[email protected]> ---
Are there any updates?

If not I would like to bring up the EAFNOSUPPORT issue that is still there:

wg1: Handshake for peer 1 did not complete after 5 seconds, retrying (retry 15)
wg1: Sending handshake initiation to peer 1
wg1: Unable to send packet: 47

The "Unable to send packet" debug message comes from if_wg.c:wg_send_buf().

wg_send_buf() -> wg_send() -> return EAFNOSUPPORT; -> wg_send_buf() ->
DPRINT(sc, "Unable to send packet: %d\n", ret);

This means e->e_remote.r_sa.sa_family is neither AF_INET nor AF_INET6.

I suppose carp zeroes that out and we run the error path all the way along.

-- 
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.