From nobody Fri Dec 12 16:23:32 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dSZWm4YCRz6JtVK for ; Fri, 12 Dec 2025 16:23:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSZWm3vlWz3qc6 for ; Fri, 12 Dec 2025 16:23:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qj+QDSHNgcBi23yDFP1S+1Dw0HrS4KdTK420S54nRTE=; b=NaLQ4Tnt85yTFIARcndP2/pfazsCoQjNnU+WW6JdMB9YsYBH0CnhE6vvK1w6IaZaQbh8WM zyVKIAdJ5xna/8ctyz+WvoD7mSp4YblI5ge96p4HwJDH2eklnvKqb8HoXXF9tvmFYFE9KR T7iopCzRIbqsCRdYh3WA6H4tujxSH7EO7vbBXQjh0/n2nJCOjhg1sxkLXiAoaXMSgrDY6q 0zGL9w1UOhBfE07Le2hrcBQzjNR0EYua0jFjoZQ5dWvTmq+vUkttAljKnPYoqbrf2zwWnC ddlTdmWVl4/hYRW++k5EvroFsv2iZ/EJpBcvk/+Ds8VvSmug4sn+YBK+pXxPXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qj+QDSHNgcBi23yDFP1S+1Dw0HrS4KdTK420S54nRTE=; b=Q+q5sk9D4K2toTI5XWpbwjoPzkK9tmyGDzo5HG/8LgH6iV5Taf4ngtnSmhpNwWPyVslzF5 sJFcx78Vn7x1RDF2dYAIoS4P+4mR+ZsSOaDmrm6fr72IVc0Z5gUTeBUToIqZNKHmSpnhbF 8clfdMO1ri3B/gd9D8MoZXHJFbWT+irdqt7iP9u/6/UwAO8nu2+FOamsjLtFGREsjQgutb uT72XNAyhJAjeLWmEh+3jilpz+0gUVHnxXnopk436qyyhALnyOIjxDzL7kzpKjIw4tpRQI kLkeqc6QRvaoCL4PY1QAjEU2qCL32NHuHKIeuc1/zMekZ0Bmz/DHEDWFvowNWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765556612; a=rsa-sha256; cv=none; b=DVbQOGvABqHxkQEZvCWw95BTo+/N2vcHPruXpKqo+75gFFJpoiH/cWuGU7NqsBGWsyYtKC MJRqMQppWwV0snQznRLolbTcH5MLLoh12DTPxpKi98OuDo9I5aksRJqb88RpRKJF0GPjUl /AA4QSInqpQK5iUpIMBvGmf6auFNMminfsgjUKVTW5rUnk2Pdc2UXGfIiyS+u7uQP0uCHZ oDmV5g/VGnV1KWrx3gPBhNkLgK+azWDZ6FYkUxh4qD16FQgXLOs/Zhb6djKS2oWXZo4Z7z bKdf4JjgdRw3PXkZybylWz4PkE/eeDd6Qf02aDERDib5oCOF0j/PMj6STvl6Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dSZWm3PZVz8f6 for ; Fri, 12 Dec 2025 16:23:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BCGNWdd030946 for ; Fri, 12 Dec 2025 16:23:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGNW9b030945 for net@FreeBSD.org; Fri, 12 Dec 2025 16:23:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 290768] if_wg(4): handshake response has src and dst reverse Date: Fri, 12 Dec 2025 16:23:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: it@vineyard-sha.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290768 --- Comment #39 from relvy --- (In reply to Kyle Evans from comment #37) > > wg_socket_init() runs with port 0 and for each wg interface with the co= rrect listening port. > What do you mean there? If wg_socket_init() runs with port=3D0, that mea= ns '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 (=3D 51820) --=20 You are receiving this mail because: You are the assignee for the bug.=