From nobody Mon Nov 24 10:56:37 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 4dFN6s5TyTz6JTdk for ; Mon, 24 Nov 2025 10:56:37 +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 4dFN6s269Kz3H0r for ; Mon, 24 Nov 2025 10:56:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763981797; 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=+58a2tWSwV4K9ggvzO+ieCd9EIphnLmPKI0AXAvssvM=; b=XxPPhaTOcmF9JlNzb+dFPhryfoJEKesMYngBKV+QV5sF042UTOo4cFHzrntCh8B7Qv4VdP wwFptV7eSyDixQoXy4diCqr5SdTkzBHlRtAU5nC0XM4pjxS0f0gHtbnTzW2ql6Yn5xpdD+ QHcPtgnuhx8h2YdQpdjH1jZ/zof+46snTLTFe/g0R+a0Zuk8ds2bLxfA/KxJFToRc4H99H XCt07wvqdj/knMvnKveipSXMx6rSYV7WzkirdtlqpBwKKbyEBLvtibxGWn5fNBjqDjWy2h QFRQObWpqanHwe4vcRpd2SiAP770lEsPZTYR5Z6F/9KnTPpx7L/IuuiTiikDRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763981797; 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=+58a2tWSwV4K9ggvzO+ieCd9EIphnLmPKI0AXAvssvM=; b=PHcSS1xaXzCg2f8g2Gfx80y8oEK+d1yAAiO9SKipjcupjUOzvD/2Rt5TQK+fkYOwq+S0Tw ymxyq+MYR8rnIobyy4mdU/cpmKh8bReZuqhw3ej3DTiTYjWRH9LJPSAFZEv6ORrm9x24Ag llPpwFR3IINkzYvAn7p54qDnz3LEclHgmrV/sGr6aGWX0A/FxQGazDttmrHHK+YgJ45BJu vN+rR5R6zR8380dta2zgAGyevCtrZbRoiPoFd9I+7dH3jc0wIQK+bIj7Bso30QrCwYicBy mfO9LTlSnH/vMcCjpGWUFrSSgDjyPjgAAq4sgO010WVDSbaeTwuC+xZWCdDAZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763981797; a=rsa-sha256; cv=none; b=X4RcrATU20n1rdkLjbTk5+NEDqq3DMvz0Ln63L5WNgcu2scwB5PLPNZcXD+Z6u+qvSC1sO Wgne4R8nYQQCg7pPB5M9yOnjl/31klPiOwyz1y+C/GSgdG1Zz7DQC8AvMK0SqLbt6qT6/h 0wj5/q0I6KWlt6AWRbgODLhQjiaVLEOA/wQ3ViHBgQoCiaW7rP4Syiwx4emYMQw8p3Ksve J12QvliSBBR/Uv7ewJ8Ayrd8z+/buKfKbgzI9CNr+nMszqq1A/k0V5+qs4iEQjNXI3ggkl xwZAMyQ+JDs1SbKebBnGcr/TE6GlWQPfYa+nNNBJT8d48xF7stI0dzfR08w3ng== 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 4dFN6s10sMz19yy for ; Mon, 24 Nov 2025 10:56:37 +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 5AOAub6t011525 for ; Mon, 24 Nov 2025 10:56:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AOAubdT011524 for net@FreeBSD.org; Mon, 24 Nov 2025 10:56:37 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: Mon, 24 Nov 2025 10:56:37 +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 #23 from relvy --- (In reply to vova from comment #20) I took out the carp backup machine from production environment and put it i= nto a testbed with a single subnet 10.2.0.0/16. I am able to reproduce it there, too. I stripped it down to figure out what is necessary to reproduce. I removed the LAN CARP: issue is still reproduceable. I removed wg0 and kept wg1: issue is still reproduceable. What I have now is: Infrastructure: opnsense WAN ------------ opnsense WAN CARP ------- peer (road warrior) igc0 10.2.1.30 a.b.c.d peer initiates handshake: opnsense WAN ------------ opnsense WAN CARP ----- peer (road warrior) igc0 10.2.1.30:51820 <------- a.b.c.d outgoing traffic: LAN opnsense WAN ------------ opnsense WAN CARP ----- peer (road warrior) igc0 -- outbound NAT --> 10.2.1.30 -----------> a.b.c.d a.b.c.d is the peer address, an DHCP address from 10.2.0.x/16 # pfctl -s states | grep 51820 all udp 10.2.1.30:51820 <- a.b.c.d:53003 NO_TRAFFIC:SINGLE all udp a.b.c.d:53003 -> 10.2.1.30:51820 SINGLE:NO_TRAFFIC --=20 You are receiving this mail because: You are the assignee for the bug.=