From nobody Mon Nov 10 17:04:04 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 4d4wxJ74LKz6H0Fb for ; Mon, 10 Nov 2025 17:04:04 +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 4d4wxJ6RdCz4Jgk for ; Mon, 10 Nov 2025 17:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762794244; 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=2bF5b5IrWsHZJwoseKI/2NYJbT+2yEgvYEOyZJDWiNA=; b=oWPNLVBdMJRJ1IYNMLg3taV/xBFTtYGJKvg9AGkzf1b0oT7TgriM47LtPzcsfZcpo7rCpH 1+JMcovBK//Tbsq4iE5dXl/NTwjKGXHLGdybAfyXTB4f4TJrD5sqJqnIvvtonBceCXp+l1 8DXe61b7+SvDR/DjOjhkYihKHlcvC5PaJFCA6qv2HCCqO0vHirsJCuM/TMZdK0alxMKICW iATfi2FRcEkZcM8QcDYjEkY2UzRXV+cCjOzfNQSeMAXJesCcelBCN55INTo8GWLzOtyI3R /hHKpui79hX7HvqQs7zLqmbHZX4igBptVXcLPNpZKnjFycp+Vm7jtflzaSRBDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762794244; 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=2bF5b5IrWsHZJwoseKI/2NYJbT+2yEgvYEOyZJDWiNA=; b=qmKMe/qKSswRLGAkm8SNtX92NHzGv+24v5z4oFxaa7OzF1I+BBPaXxRItZ6pWWwzZPuwtG +UeRwMQT9tDSDDZCSfkhm1UBqetpJ1cYsqh0qVzilIVeKm5snMFgoklbLAbAFwgdLz4RT/ 58/4JrezUS1JsFPrpJGX7gYjbiZ23hudYs6qS5lWavpZlVCD0O5ZOYd2wXB1dKLjy6qV7r H7dMvtnZwRrekFSYzFLeH+Rae3Oz9IBTqFw/7tIzk4vDiGz9KkqkgZPODPLQk6ZZ/j3v8q zFOQPNsRpNdv1HVm6hxtIi4iA9+CsnV34MHHxXtp3LMgV+UEcgzyIIZ5fsD1HQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762794244; a=rsa-sha256; cv=none; b=tVnwyVQmSrOxw3iK5cRf0BcB0Lccs/Jf5F6fn+6bI7WvtZTzIwHHWrI4G+xIm5eOJkqD4c w+7hapaQBOLrTBsMr2wbSGt4+zx5wQk0ooxTl/YWw+4FR3IA49Ar+Nt3LkaPDlV1dgFfz0 Y2DQugpD0ph8s/5z5OLznoXwspxLnCFCbDRhXKEK+Y++FMdSQiGOjdGa0IvzsyZ9BeGnQ4 TZXTyaMTw98wTN9JRFrsYinwQ821N+uIMJzNU6zWZIlvHw7tgBp03lABJWmOiUBptuK8Y6 PdiG1Ke6BS73WJjKKzUH5RzJAEVlDmDj2bKWDxz4SHqpkOIXv1lYFzYdImgDnA== 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 4d4wxJ625nzB87 for ; Mon, 10 Nov 2025 17:04:04 +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 5AAH445r089097 for ; Mon, 10 Nov 2025 17:04:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AAH44Ix089096 for net@FreeBSD.org; Mon, 10 Nov 2025 17:04:04 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, 10 Nov 2025 17:04:04 +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 #7 from relvy --- (In reply to Kyle Evans from comment #4) I tested the mentioned commit. The tcpdump output: tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on igc0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 17:55:41.268806 e0:28:6d:89:6b:02 > 00:00:5e:00:01:01, ethertype IPv4 (0x08= 00), length 190: a.b.c.d.60586 > 192.168.178.2.51820: UDP, length 148 17:55:41.268880 00:90:27:e6:33:13 > e0:28:6d:89:6b:02, ethertype IPv4 (0x08= 00), length 190: a.b.c.d.60586 > 192.168.178.2.51820: UDP, length 148 17:55:41.873931 00:90:27:e6:33:13 > e0:28:6d:89:6b:02, ethertype IPv4 (0x08= 00), length 190: 192.168.178.10.51820 > a.b.c.d.51820: UDP, length 148 17:55:46.336997 e0:28:6d:89:6b:02 > 00:00:5e:00:01:01, ethertype IPv4 (0x08= 00), length 190: a.b.c.d.60586 > 192.168.178.2.51820: UDP, length 148 17:55:46.337014 00:90:27:e6:33:13 > e0:28:6d:89:6b:02, ethertype IPv4 (0x08= 00), length 190: a.b.c.d.60586 > 192.168.178.2.51820: UDP, length 148 17:55:47.062936 00:90:27:e6:33:13 > e0:28:6d:89:6b:02, ethertype IPv4 (0x08= 00), length 190: 192.168.178.10.51820 > a.b.c.d.51820: UDP, length 148 And in dmesg I see: [78] wg1: Handshake for peer 1 did not complete after 5 seconds, retrying (= try 13) [78] wg1: Sending handshake initiation to peer 1 [78] wg1: Unable to send packet: 47 So this indeed does fix the src / dst IP reversal. There are two issues left: First, the destination *port* in the reply is not correct Second, in the message "Unable to send packet: 47" the 47 means unknown add= ress family. --=20 You are receiving this mail because: You are the assignee for the bug.=