From nobody Mon May 19 08:20:18 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 4b19bk1V9Cz5wjqW for ; Mon, 19 May 2025 08:20:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b19bk0sCvz3lKK for ; Mon, 19 May 2025 08:20:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747642818; 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=0kYUrTe4g7fjvEYZTruSM1+HahPl58RZjdZKJRy4xvY=; b=BvHO/jgkDNKs1Mw+sqJdO5pvv7Rv+l5MLwJ5ldvtLw8f8Qw4ieKzNg7IjeYJaE3dfFDGL8 MqWoHWrUT51yhCydU4pAynwvV/5lOfO7DUWepyOB5PE8SHef9117bvz1eKcGnYAM/ppiDy tq25ib/SLCYLYrPVUrl017THUn4mmYNWEVWFH94Q/0Fpf1DKXT4fgMaTRkoU7CV4qRCJmB IGuZVSlWhry9QtxJTF4g9SI0lu0MQAauZdMXkOlomQQ9/UPEkiVqrcrP+oPizKFXMXN5je E8+H0RgFOltWlycVK1kGyMg/obriDMuuOZ42ARvQZy3my0oY7jqzH456QuFEWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747642818; 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=0kYUrTe4g7fjvEYZTruSM1+HahPl58RZjdZKJRy4xvY=; b=oJ7qxoGrJKQzUtioSvBHMChFYd/ceTSIREv9v2wo+Rbnp4yTZyvLvEYGEODPQJocZuj4G2 YyxnZUUyR+oAhQMDj2FgSZFI9BA5esvy0rWENO4VRiWR9VyCAkdyN+G/w3iwqjM9y8LMnM B1XSOqgWCl0elE49JJ39pElUJrTxsgvesN27s3YV9QUsDTD1Du9nOlMNIHeL68/BpL6wI4 W00zGaigREe5rIGFN5BtXIOVrwTSZqDrc8zpJdBR/GtlOg+QP3JRlMt0KTxk96yNprxRX0 0LgURg/x0YvYfRFD2LVtmSWapUETttwPOD/D95l6yUfh5duNGJznkcNf6Iuylw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747642818; a=rsa-sha256; cv=none; b=TGyUKC50zkpKX1Ty5KMLWt1VOKqVfDvUXkJw6QC0vtL2nyWQvKF+pv4nUL/PgQ80NDfjXo 19fyqegs4tXtXz7Qq46Bl7wriZcYOv+98ggtHQZzOItscIr/XLyAj/kmlwn06qiWtG58NS m1QlMyi/wOSXCVe0D6TmZqX7iBsJUFdOJ8dzE/ozG2TQD02bMy8w2v4e3rj0hYxZpz0ryP osSMzF6QT06pk2s70zRnvT83bX9paz1vdnL/VZwreW4YF2GUz72fmR5xv9R6ubjc1qS2Sj r9kOQ/XlIRV6jYu8Wl8x5Hske0yqcXMm/ZHiuf2YM8NepMqPd7PeJR/9MPZ2kA== 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 4b19bj70yfzw1T for ; Mon, 19 May 2025 08:20:17 +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 54J8KHDr054545 for ; Mon, 19 May 2025 08:20:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54J8KHGA054544 for net@FreeBSD.org; Mon, 19 May 2025 08:20:17 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 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Mon, 19 May 2025 08:20:18 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mjl@luckie.org.nz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D254675 mjl@luckie.org.nz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjl@luckie.org.nz --- Comment #5 from mjl@luckie.org.nz --- Yes. I'm on 14.2 and I too see the frag needed on loopback in IPv4, but only as = of today. It hadn't occurred to me that that is where the PTBs were, so I've = only looked to see that's where they are. The same system generates packet too = big messages correctly in IPv6 (without the presence of NAT). $ sudo tcpdump -n -v -i lo0 Password: tcpdump: listening on lo0, link-type NULL (BSD loopback), snapshot length 262144 bytes 20:11:51.330869 IP (tos 0x0, ttl 64, id 59115, offset 0, flags [none], proto ICMP (1), length 596, bad cksum 0 (->7048)!) 127.0.0.1 > 118.92.XXX.XXX: ICMP 192.172.226.122 unreachable - need to = frag (mtu 1492), length 576 IP (tos 0x0, ttl 254, id 18, offset 0, flags [DF], proto UDP (17), length 1500) 118.92.XXX.XXX.65426 > 192.172.226.122.33435: UDP, length 1472 Setup is: em0: flags=3D1008943 metric 0 mtu 1500 inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255 tun0: flags=3D1008051 metric 0 m= tu 1492 options=3D80000 inet 118.92.XXX.XXX --> 118.92.XXX.XXX netmask 0xffffff00 ipfw, with kernel nat. Note that the packet too big message should be sent on em0, with a source address of 192.168.3.1, to 192.168.3.XXX. Instead, its being generated on loopback, and with a destination address derived from tun0. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=