Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2025 07:18:04 +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-NQva466yDq@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 #17 from relvy <it@vineyard-sha.de> ---
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.


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