Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2025 16:23:32 +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-M6lrLpLSOR@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 #39 from relvy <it@vineyard-sha.de> ---
(In reply to Kyle Evans from comment #37)

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

> What do you mean there?  If wg_socket_init() runs with port=0, that means 'random port'.  How does it then have the correct listening port?

wg_socket_init() runs three times.

First time with port 0
Second time with the port for wg0
Third time with the port for wg1  (= 51820)

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