From nobody Mon Dec 8 03:38:34 2025 X-Original-To: freebsd-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 4dPnl96B70z6JqXh for ; Mon, 08 Dec 2025 03:38:45 +0000 (UTC) (envelope-from code@mmayer.net) Received: from mail-106100.protonmail.ch (mail-106100.protonmail.ch [79.135.106.100]) (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 "protonmail.com", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dPnl72pQjz3hty for ; Mon, 08 Dec 2025 03:38:43 +0000 (UTC) (envelope-from code@mmayer.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mmayer.net header.s=protonmail2 header.b=SZ8V5NKt; dmarc=pass (policy=none) header.from=mmayer.net; spf=pass (mx1.freebsd.org: domain of code@mmayer.net designates 79.135.106.100 as permitted sender) smtp.mailfrom=code@mmayer.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mmayer.net; s=protonmail2; t=1765165119; x=1765424319; bh=Zt4wLjgbT1nu3+yb78fI5yc7vPO8hnEtGZLt1O46psI=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SZ8V5NKtSBK/kOYbwG8hLqDeGLsucHEBZCKmXOCqRMYSu2O6Lx1uTw8/dat7IN870 1y16eUxUEPA7ADPfnYU+XL7JEGuhwIKfE1aDBGoegqNhw9H2/9+0LyiAR9dwyRCYgF EQYZjU0gMcD3/wrrf3aT1UlY4M7hnTw3aWVSJ0PLWHyKB2dNebjwuFNuidjEWqbXVT Xj/428B/BCUfo60iYiMMb0FeQdoYmLv7j6/iG4DRMojofAVq/6QKbfRiA3yeNTthce dmS9WxscT+WgvhQwM4GD4O8oOCdI2r7aSmXB2wtBkwV2AenCFe4drHMU+ClO+B00WO QzLos+Wt9IpiQ== Date: Mon, 08 Dec 2025 03:38:34 +0000 To: "freebsd-net@freebsd.org" From: Markus Mayer Subject: NetXtreme II BCM57810 10 Gigabit Ethernet From Message-ID: <2dAl6BneCzsEIULJjURZHvaZSUKHLhrjdJtKBPlBqGfdM4DtAJYW01oairAudXGdOWRt45bx9B0EuuzUYPwSkFeMXzW9F29dW0Xo07MQfuc=@mmayer.net> Feedback-ID: 142506394:user:proton X-Pm-Message-ID: f4c8b98d12fe29d3685e003f51f0246f2f3ea48e 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[mmayer.net,none]; R_SPF_ALLOW(-0.20)[+ip4:79.135.106.0/24]; R_DKIM_ALLOW(-0.20)[mmayer.net:s=protonmail2]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[mmayer.net:+] X-Rspamd-Queue-Id: 4dPnl72pQjz3hty Hi, I am facing a bit of a conundrum. I have 3 Dell desktops with a NetXtreme I= I BCM57810 10 Gigabit Ethernet (10Gtek 10Gb PCI-E Network Card) each. One h= as been running FreeBSD 14 (now upgraded to 15) for over a year. One is run= ning Linux. And the third one is running a newly setup FreeBSD 15 instance. The NetXtreme II works fine in the original FreeBSD box (box 1) and always = has. However, it will not work on the new FreeBSD 15 box (box 3). It shows = "bxe0" having "no carrier" (i.e. it thinks no cable is plugged in). But I c= an boot a Linux or OpenIndiana (OpenSolaris) install media on that box, and= the network card will work just fine. In addition, I also experimented wit= h the Linux box (box 2) and booted the FreeBSD installer (14 & 15, actually= ). bxe0 shows "no carrier" on that box, too, even though it has been workin= g fine for a year under Linux. To summarize: Box 1 (FreeBSD 14 =E2=86=92 15): NetXtreme II works just fine under FreeBSD= 14 & 15 Box 2 (Linux): NetXtreme II works under Linux; "no carrier" under FreeBSD 1= 4 & 15 installer Box 3 (FreeBSD 15): NetXtreme II "no carrier" under FreeBSD; works fine wit= h Linux or OpenSolaris installer Box 1: $ ifconfig bxe0 bxe0: flags=3D1008843 metr= ic 0 mtu 1500 options=3D527bb =09ether 98:b7:85:1f:85:45 =09inet 10.0.1.37 netmask 0xffffff00 broadcast 10.0.1.255 =09media: Ethernet autoselect (10Gbase-SR ) =09status: active =09nd6 options=3D29 Box 3: $ ifconfig bxe0 bxe0: flags=3D8802 metric 0 mtu 1500 options=3D527bb =09ether 98:b7:85:20:f8:ed =09media: Ethernet autoselect (none) =09status: no carrier =09nd6 options=3D29 Any thoughts on what might be going on? Any ideas how to troubleshoot this? Of course one would expect the cable or the switch or something like that, = but that doesn't explain why different cables won't make a difference but b= ooting a different OS (without changing the cable) will. Thanks, -Markus PS: Some dmesg and lspci output. >From Box 3: bxe0: mem 0x9180000= 0-0x91ffffff,0x91000000-0x917fffff,0x92010000-0x9201ffff at device 0.0 on p= ci1 bxe0: PCI BAR0 [10] memory allocated: 0x91800000-0x91ffffff (8388608) -> 0x= fffff80091800000 bxe0: PCI BAR2 [18] memory allocated: 0x91000000-0x917fffff (8388608) -> 0x= fffff80091000000 bxe0: PCI BAR4 [20] memory allocated: 0x92010000-0x9201ffff (65536) -> 0xff= fff80092010000 bxe0: Found 10Gb Fiber media. bxe0: IFMEDIA flags : 20 bxe0: Using defaults for TSO: 65518/35/2048 bxe0: Ethernet address: 98:b7:85:20:f8:ed bxe0: MSI-X vectors Requested 5 and Allocated 5 bxe1: mem 0x9080000= 0-0x90ffffff,0x90000000-0x907fffff,0x92000000-0x9200ffff at device 0.1 on p= ci1 bxe1: PCI BAR0 [10] memory allocated: 0x90800000-0x90ffffff (8388608) -> 0x= fffff80090800000 bxe1: PCI BAR2 [18] memory allocated: 0x90000000-0x907fffff (8388608) -> 0x= fffff80090000000 bxe1: PCI BAR4 [20] memory allocated: 0x92000000-0x9200ffff (65536) -> 0xff= fff80092000000 bxe1: Found 10Gb Fiber media. bxe1: IFMEDIA flags : 20 bxe1: Using defaults for TSO: 65518/35/2048 bxe1: Ethernet address: 98:b7:85:20:f8:ee bxe1: MSI-X vectors Requested 5 and Allocated 5 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I21= 9-LM 01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet >From Box 1: bxe0: mem 0xe180000= 0-0xe1ffffff,0xe1000000-0xe17fffff,0xe2010000-0xe201ffff at device 0.0 on p= ci1 bxe0: PCI BAR0 [10] memory allocated: 0xe1800000-0xe1ffffff (8388608) -> 0x= fffff800e1800000 bxe0: PCI BAR2 [18] memory allocated: 0xe1000000-0xe17fffff (8388608) -> 0x= fffff800e1000000 bxe0: PCI BAR4 [20] memory allocated: 0xe2010000-0xe201ffff (65536) -> 0xff= fff800e2010000 bxe0: Found 10Gb Fiber media. bxe0: IFMEDIA flags : 20 bxe0: Using defaults for TSO: 65518/35/2048 bxe0: Ethernet address: 98:b7:85:1f:85:45 bxe0: MSI-X vectors Requested 5 and Allocated 5 bxe1: mem 0xe080000= 0-0xe0ffffff,0xe0000000-0xe07fffff,0xe2000000-0xe200ffff at device 0.1 on p= ci1 bxe1: PCI BAR0 [10] memory allocated: 0xe0800000-0xe0ffffff (8388608) -> 0x= fffff800e0800000 bxe1: PCI BAR2 [18] memory allocated: 0xe0000000-0xe07fffff (8388608) -> 0x= fffff800e0000000 bxe1: PCI BAR4 [20] memory allocated: 0xe2000000-0xe200ffff (65536) -> 0xff= fff800e2000000 bxe1: Found 10Gb Fiber media. bxe1: IFMEDIA flags : 20 bxe1: Using defaults for TSO: 65518/35/2048 bxe1: Ethernet address: 98:b7:85:1f:85:46 bxe1: MSI-X vectors Requested 5 and Allocated 5 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219= -LM 01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BC= M57810 10 Gigabit Ethernet 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE= Controller Yes, box 1 also has a Realtek 2.5G network card with the if_re driver from = https://github.com/alexdupre/rtl_bsd_drv. From nobody Mon Dec 8 10:33:47 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 4dPyy50B9Vz6KK0V for ; Mon, 08 Dec 2025 10:33:49 +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 4dPyy46STVz4Mn4 for ; Mon, 08 Dec 2025 10:33:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765190028; 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=SIYtkD9JeeD8Y01QrYkiaBvpHj4Tb8Zaa0s/8ZnvC3I=; b=uxEOmRtQx8/Hl4v8SxSZxOUcGl40z95dfBK3Sj6OiyAQVn2raLdPwWGQmOoBUeIoqaAMdW SKWqrLSVlF5BcHmCn0R5tOg5f//bFrl8iTwgurU63I+FFMMrVT3CQ7qXgZMP1RvbRD3fQ2 220FOuNTignEjkZKcsCPHzL6fwmtKHogXYqKkQllRqY9OqyHT7Gg2l9nbTaMvoXujKH6OU v9diuqdDikCtajs1PVq2NWRFC4/kNhfwFAOg8xulLY0yKpOnSK8S1zgfirkQHJapbQOOFw 1OL5WzsqzEsgcfUDFgrE3HhZ4P0c+vm6EteygAa9VOZYN9BetysAelck2zQzkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765190028; 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=SIYtkD9JeeD8Y01QrYkiaBvpHj4Tb8Zaa0s/8ZnvC3I=; b=URB79E1GKI0x3FX8kzYRhJfQs1ZxcnNEguyZJRYC0knX6gblfHJayBVN61wFPQmyDnFUSl P68YjG7e9grcC5TW5cVl6IleXJzsTmpyBrIuiEALE73VQz7BlE4y/dC5QDKMZ2/BDTvbCk UBdRKHb74aGAS34r+lr04HX7v+bOWbmitgfpXjhSsiNFRKX918y+4u9/RYUY+5gaT9DH7M OvvCySj7WE3v9COhAvC1Yh4lhkdbZhw/a4HNyRAM2gfu4MPEaHfKmLxIAcdIqihcducV+7 h8n9hCbgnp3iEM5F9w60JtOLk3W4UuGBlwZtQgAQAeRNFWXh2549u6BfbKlRtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765190028; a=rsa-sha256; cv=none; b=wqQ79JobzAkhDCgVjve0ntbj9RzSlW0GM4NCkiK9fz6vADeuGw7T/dXZ/GvjkAt51uSK+G sDitQipcQ366CQWpbCctprdj6q6M5i/ys3ZSp4Hq1Hz6fhxuCJiT2UrE+5RJHsMjbcdagP UP4l76aE7PNlRUt7cuJJyMCX/ZboMGGX9XAukV2U8/M0uVz47FkqVfocUuyFdFRqnUiTjK KdMd9YrrYhqUIdnH/LTSX24ZX/g90616u8D5/aisP4mFpYz5BKqxZz9hCiEks5uodCi9Tz RWoLCPNwExlM8AOMb+TQA+q7BNXdzk46lBAAWE206wEjXuryi2GN7dModo0Zhw== 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 4dPyy463Z3z1NJb for ; Mon, 08 Dec 2025 10:33:48 +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 5B8AXmU1085378 for ; Mon, 8 Dec 2025 10:33:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8AXm35085377 for net@FreeBSD.org; Mon, 8 Dec 2025 10:33:48 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Mon, 08 Dec 2025 10:33:47 +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: dmitryluhtionov@gmail.com 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=3D291420 --- Comment #6 from Dmitry Lukhtionov --- (In reply to Michael Tuexen from comment #4) On host machine ``` root@DL360_Gen9_m19:/home/mitya # sysctl sysctl dev.bge.1.forced_udpcsum=3D1 dev.bge.1.forced_udpcsum: 0 -> 1 root@DL360_Gen9_m19:/home/mitya # ifconfig bge1 down root@DL360_Gen9_m19:/home/mitya # ifconfig bge1 up root@DL360_Gen9_m19:/home/mitya # ifconfig bge1 bge1: flags=3D1008943 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dc009b ether c4:34:6b:b8:e4:39 inet 193.34.20.5 netmask 0xfffffff0 broadcast 193.34.20.15 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 root@DL360_Gen9_m19:/home/mitya # ifconfig epair1a epair1a: flags=3D1008943 metric 0 mtu 1500 options=3D20000b ether 02:ef:5d:1e:0d:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D9 ``` Inside jail ``` root@mail:/ # ifconfig epair1b epair1b: flags=3D1008843 m= etric 0 mtu 1500 options=3D20000b ether 02:ef:5d:1e:0d:0b inet 193.34.20.8 netmask 0xfffffff0 broadcast 193.34.20.15 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 root@mail:/ # drill i.ua @193.34.20.4 ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 12682 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0=20 ;; QUESTION SECTION: ;; i.ua. IN A ;; ANSWER SECTION: i.ua. 21 IN A 104.18.2.81 i.ua. 21 IN A 104.18.3.81 ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 0 msec ;; SERVER: 193.34.20.4 ;; WHEN: Mon Dec 8 12:32:25 2025 ;; MSG SIZE rcvd: 54 ``` BUT ``` root@mail:/ # ping 193.34.20.5 PING 193.34.20.5 (193.34.20.5): 56 data bytes ^C --- 193.34.20.5 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss root@mail:/ # ping 193.34.20.4 PING 193.34.20.4 (193.34.20.4): 56 data bytes 64 bytes from 193.34.20.4: icmp_seq=3D0 ttl=3D64 time=3D0.482 ms 64 bytes from 193.34.20.4: icmp_seq=3D1 ttl=3D64 time=3D0.283 ms 64 bytes from 193.34.20.4: icmp_seq=3D2 ttl=3D64 time=3D0.479 ms 64 bytes from 193.34.20.4: icmp_seq=3D3 ttl=3D64 time=3D0.323 ms ^C --- 193.34.20.4 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.283/0.392/0.482/0.090 ms ``` --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 11:06:25 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 4dPzgk0jxjz6JcBN for ; Mon, 08 Dec 2025 11:06:26 +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 4dPzgk00VJz3Gv1 for ; Mon, 08 Dec 2025 11:06:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765191986; 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=iUwusrvjOX1QtGvq+c+Sc2/zL8vgyoKTONjFo4MqDYw=; b=Xn7VbP2LiVYOQ02a3pRaMNSXBMcUqWXWFZOXy72eMUJNIJFfi9Z0RK+77/7DhjdGsQrbjn 7r7T0/RVKlRw1ctTlxD8wmXu2esEDZH/qJKhmCBCeRNByd2kbjUo8d9A16i8yD9ch5x3bB z6YmX21b6XTD6C0P20I9yXDSEDrCVH4a22jtUYdOSlFPB7Of/l8EuRDKwW0ihrRFq4X0r1 GjpnQPCaCjQRE4kZVUJh/+GmQRArph6fT1nVg06FDSUyQ8KEu7QkBd+cWB1vWCfIqxV998 Zb9spLQnvUxgOqyGzLcicfXcbA6MtGIFSa2+kxtSwZmypri8mh2Pnh3emZIdHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765191986; 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=iUwusrvjOX1QtGvq+c+Sc2/zL8vgyoKTONjFo4MqDYw=; b=WlaaG7DoZELC1FZnw4SclYKW+tnLreUTNxRjOrx5cpS7QY24t6FgCNz4cebqy7gURZ64Ma TxvPqgmRW7W89WOzG6bNRpfJ5bblf2yrZdch4fhrUOrFeRtLgdivU8wSBvTQrPrb9eZ6Bu N/yFJDLZPCbWDIRpReAiUXi8T8oJf+88xIVG6XHcsOAILfFbPYsUm3f41qBxAQR+aUhdxE fu1/984Hupj/mItqxaHfVnaDDMFQUTjY74RiVtvKlJ5LXCte/ybjKwB6jjz+Dy78ke1DwB wCpU/jjMswVNdgQgI48swNP/L4vsa5W6RKsCShWLnniyxNuZo3Z2uQlQytBsAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765191986; a=rsa-sha256; cv=none; b=bSJVXLd0Mz0fSYdmuWjXyBI1djQFzFwRZrkYvqiQqCc6i/Ib/+qn0JMQz4ORnAYd7H1KZ8 N30rQtA6xr1bf68T2SOmkOy3wDhJWcRQ/A85OLyfTV3yOcYtHN0UcMxelm1q0nGAneE9t3 5icbeA87FIeJT8XGwCkpJuqo+1LmvaAB4Kqdg0dRwccKTSqmQM5/Znb9aJ+qBq4Hweyfih 7s93q+WjLzxoUAJ7kH0QkMRVplvxw/1l90pA+CoMq+UvJyO4ElEIgyp5c1LX/hQKP7VZrL T0AX8wl9eTAnLK5ERsYkCKz1FhMOeF5DuZ+ZB4XVKpce1edY72Wz2rLMAc/hzA== 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 4dPzgj6Prfz1NHT for ; Mon, 08 Dec 2025 11:06:25 +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 5B8B6POU040895 for ; Mon, 8 Dec 2025 11:06:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8B6PkO040894 for net@FreeBSD.org; Mon, 8 Dec 2025 11:06:25 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Mon, 08 Dec 2025 11:06:25 +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: dmitryluhtionov@gmail.com 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=3D291420 --- Comment #7 from Dmitry Lukhtionov --- I searched my update history. Previous version on host and jail machine - 14.3-STABLE from 2025-08-22 I have one more jail with epair on this host machine ``` bridge1: flags=3D1008843 m= etric 0 mtu 1500 options=3D0 ether 58:9c:fc:10:ff:ca id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair1a flags=3D143 ifmaxaddr 0 port 19 priority 128 path cost 2000 member: epair0a flags=3D143 ifmaxaddr 0 port 17 priority 128 path cost 2000 member: bge1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 55 groups: bridge epair0a: flags=3D1008943 metric 0 mtu 1500 options=3D200009 ether 02:15:ec:28:01:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active ``` Iside jail ``` epair0b: flags=3D1008843 m= etric 0 mtu 1500 options=3D20000b ether 02:15:ec:28:01:0b inet 193.34.20.6 netmask 0xfffffff0 broadcast 193.34.20.15 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 root@unbound:/ # drill i.ua @193.34.20.6 ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 56983 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0=20 ;; QUESTION SECTION: ;; i.ua. IN A ;; ANSWER SECTION: i.ua. 149 IN A 104.18.3.81 i.ua. 149 IN A 104.18.2.81 ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 0 msec ;; SERVER: 193.34.20.6 ;; WHEN: Mon Dec 8 13:03:44 2025 ;; MSG SIZE rcvd: 54 ``` BUT ''' root@unbound:/ # ping 193.34.20.5 PING 193.34.20.5 (193.34.20.5): 56 data bytes ^C --- 193.34.20.5 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss root@unbound:/ # ping 193.34.20.4 PING 193.34.20.4 (193.34.20.4): 56 data bytes 64 bytes from 193.34.20.4: icmp_seq=3D0 ttl=3D64 time=3D0.410 ms 64 bytes from 193.34.20.4: icmp_seq=3D1 ttl=3D64 time=3D0.388 ms ^C --- 193.34.20.4 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.388/0.399/0.410/0.011 ms root@unbound:/ # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=3D0 ttl=3D120 time=3D24.884 ms 64 bytes from 8.8.8.8: icmp_seq=3D1 ttl=3D120 time=3D24.976 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 24.884/24.930/24.976/0.046 ms root@unbound:/ # arp -an ? (193.34.20.5) at c4:34:6b:b8:e4:39 on epair0b expires in 1192 seconds [ethernet] ? (193.34.20.4) at 94:57:a5:55:a2:21 on epair0b expires in 996 seconds [ethernet] ? (193.34.20.8) at 02:ef:5d:1e:0d:0b on epair0b expires in 793 seconds [ethernet] ''' --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 13:03:15 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 4dQ2GX12c3z6JmLg for ; Mon, 08 Dec 2025 13:03:16 +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 4dQ2GX0Vbtz3bS6 for ; Mon, 08 Dec 2025 13:03:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765198996; 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=MXIEzmT00ik/qPnGvhtyCXOM9CaSs7vv4JB1n4rIyJ8=; b=ItQtMEZEcAOnmf/IypdKRSr/0qYY+nhVqhbhRwhq1h4RcXvFhyfGhyhwJGrpQt28JWbsV5 cpOQMXYbfFyl/JwkhK4mmRwXZcOvZZ/7/oe2uWgnTxXmwmlqRaz4aC3yl3mH4J9bCmPAgb RQkx59e4/oV0RNBcXnjUPS7vY/St22vWxcsA15Zz/6WbRwIKyQRvUmGw1etZ1E5xL0wrXv m6Mv9RXKOj7lu71bYpwqNYCnGsG6l07s+iUBwyjqRQrFLiVPVk8N0+7xnY59AXUka0JCWF oPJUbyeegDJ7ZGs27SDd+94Mugp6I14v8XKFYbNU9WK1YYF4Ti3SHVmbTwjJwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765198996; 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=MXIEzmT00ik/qPnGvhtyCXOM9CaSs7vv4JB1n4rIyJ8=; b=io2wXviMGHmVYmA/h1KFGkfR3z3ReyNqnLMatigHO5Wb2rgX+6T24tmbj2vR6NwN+Zrda3 QlCBuAKamraE2qazGy6Ibw62rOiX7K4oSlD6ARaCEwNDd1Yhs9dUcj0Ha0HULSH0vWCwg4 v3MxZutAmar/lS/pW/92S31h/vlCuaVuAZnJd37/5n5TSsZnKcGMneirzsXqN5IbCrY7ny vqMh2/AZ6DlDUOcoSQVoHUPtATjd7Ilo3RPJGCeGBPEBlzRbjquL6OftfugdDaCnMhytuN 5aLdNNv4/hbbkCNHZibaduzwdhR8+uvIOhzcmAOKwTU6/EJwWvrbXTi+EB1Ncw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765198996; a=rsa-sha256; cv=none; b=lN5FHUD9UEiYXCYbOrhX8onAmhkPCZZKJ4UQfe+JSZJ/4Ig6d0v2a1vqpOurPL1qUZKaty 8bOmIz6srM+vgVxghVKxLGoGSmgx+HEbKAiv2cmtnS6HiP4c/h41nbAAWrAR0v8Ny937YC KCqnQx5D/w9/93BKqdY1mDuBy5GJqrRh2pjigBruACkuyIjYW7d86c8LXj83qeuIeGLAzj PLDUrnoDVuh7TiDmQaqSNwLXl0KoHgXhdzItteOp8epBu0qAheqMas7A7bJW4w7BtjG1ri ZUqcIoZvCrVc+8IkvcG3VCCWXiKP/GAQF2ZRjFdcZo6oQYzgAYWYSU4ccN5JrA== 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 4dQ2GX04Q9z1SGB for ; Mon, 08 Dec 2025 13:03:16 +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 5B8D3FwM069310 for ; Mon, 8 Dec 2025 13:03:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8D3Fw4069309 for net@FreeBSD.org; Mon, 8 Dec 2025 13:03:15 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Mon, 08 Dec 2025 13:03:15 +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: dmitryluhtionov@gmail.com 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=3D291420 --- Comment #8 from Dmitry Lukhtionov --- On host machine from first jail ``` root@DL360_Gen9_m19:/home/mitya # tcpdump -envv -i bge1 host 193.34.20.8 and proto ICMP tcpdump: listening on bge1, link-type EN10MB (Ethernet), snapshot length 26= 2144 bytes 15:01:51.478254 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 26254, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 0, length 64 15:01:52.478934 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 26255, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 1, length 64 15:01:53.511342 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 1919, offset 0, flags [none], proto ICMP (1= ), length 84) 193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 2, length 64 15:01:54.515891 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 51781, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 3, length 64 15:01:55.426640 02:ef:5d:1e:0d:0b > 88:28:fb:29:a4:6c, ethertype IPv4 (0x08= 00), length 78: (tos 0x0, ttl 64, id 54890, offset 0, flags [none], proto ICMP (= 1), length 64) 193.34.20.8 > 87.120.191.127: ICMP 193.34.20.8 udp port 123 unreachable, length 44 (tos 0x0, ttl 249, id 54321, offset 0, flags [none], proto UDP (17), length 36) 87.120.191.127.36373 > 193.34.20.8.123: [no cksum] NTPv2, Reserved, len= gth 8 Leap indicator: (0) ^C 5 packets captured 7462 packets received by filter 0 packets dropped by kernel ``` from second jail ``` root@DL360_Gen9_m19:/home/mitya # tcpdump -envv -i bge1 host 193.34.20.5 and proto ICMP tcpdump: listening on bge1, link-type EN10MB (Ethernet), snapshot length 26= 2144 bytes 15:02:54.598806 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 55087, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 0, length 64 15:02:55.604780 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 11515, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 1, length 64 15:02:56.607245 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 11516, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 2, length 64 15:02:57.610034 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 11517, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 3, length 64 15:02:58.613346 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 11518, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 4, length 64 15:02:59.613541 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 22118, offset 0, flags [none], proto ICMP (= 1), length 84) 193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 5, length 64 ^C 6 packets captured 6957 packets received by filter 0 packets dropped by kernel ``` --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 13:09: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 4dQ2Pt0R9Hz6JmdS for ; Mon, 08 Dec 2025 13:09:38 +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 4dQ2Ps6tkpz3cCp for ; Mon, 08 Dec 2025 13:09: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=1765199378; 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=d6yp2K8JOKY4QEhr/4gwhNiBD2EF5s8YxVYqcf+b/2o=; b=nqHfwfnrpdiBwcAGoj2oCumHgJXZBxIqRiVeMQNlmsmwRk6keTFK6E5YNm7iLOgGTaMbNz AfFP7Yv3wZSKEQk7ppQsfbimVjNfBM+LrIv4OU3rFwNddUrn1jVGKREgOtSLBa9uGhesrx FjqAFfLBoGTJGPj9TOc+wgg+AFAt+Hb9upOrDxj7hUKl9Qa8lbZxEm2Wr4PhqnH8YkhOe6 ERlC1AXjMDMaTsxDX/39kk1Nmd9fDKy6JOjdlCaOM/UY+lBJW+aS0MZhKOQrSvtvdUMXLC eCRntEa22EJ7ZwQqKhFfMYTitn4I5lEXOsNeLRCkXZl09zQf5d0qe0vYEolp5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765199378; 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=d6yp2K8JOKY4QEhr/4gwhNiBD2EF5s8YxVYqcf+b/2o=; b=OVLg7+sbNT+CRi/pzwS67c9upC1XHOx1SJC/r1idBRCInTbJwVR/8BXuLetaR8+BEvqKCl X0PjQ1awM7AP6yh9kfTJyEq5VkBaRNW1q/G1WV3osZv3F/yrIr9gQhscFwXnCE95VNT14O FGy986DBrnUFGgZGSWp/kphT/OP5ySv4B5JXE4sYLtfTRRof/RE7HHmtwkEF3RPVyu1jfz 8oaA2eZZEUCputqCJs+Ay/6LgDH8o/5MqSbpZR8CUhLEHSo/pd2bVT61XIZewWHwtgyrh2 1ORXwiI8sVW7m7ILylm0crdqvFuIXb0btZkErxG8n1MDrCg+e1VuHLWSgPuejg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765199378; a=rsa-sha256; cv=none; b=YzcZRaOnsw5g51uifoiM6NrnIGRRKNsXJM8hsW/C4jmsCw43qZ1cHaJsJQLcXPFvFuyRT8 bo9QWtbHtaOjH2zZHkMfqk30aQnp/fXixzL2s3DEYdKoHWXQi8tzYbop1I8aWrFZ5g+WbO FySSKzQZQgW++VwGATTLV75dWNOI+1qbHTiPod/dFaEosdk0cPb6SSpE63b6fFYLs0g651 ddgUZYrsitQR+slfLNM3tFal589F1RCJyO3oHLaRC3fZ1xyUar7CT6q5Za1eMHNCtHJJ+l DvvQREuAGDfKdzfUQeLhm59tP8u2B8uS6bw7EW2TAj/dtpiDrQnZsQRPCkoAlw== 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 4dQ2Ps6GJBz1Rvr for ; Mon, 08 Dec 2025 13:09: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 5B8D9bsO075767 for ; Mon, 8 Dec 2025 13:09:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8D9bv8075766 for net@FreeBSD.org; Mon, 8 Dec 2025 13:09: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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Mon, 08 Dec 2025 13:09: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: dmitryluhtionov@gmail.com 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=3D291420 --- Comment #9 from Dmitry Lukhtionov --- On host machine mitya@DL360_Gen9_m19:/etc# arp -an ? (193.34.20.6) at 02:15:ec:28:01:0b on bge1 expires in 853 seconds [ethern= et] ? (193.34.20.5) at c4:34:6b:b8:e4:39 on bge1 permanent [ethernet] ? (193.34.20.8) at 02:ef:5d:1e:0d:0b on bge1 expires in 594 seconds [ethern= et] --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 14:23:42 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 4dQ43Y2zD0z6Jsv0 for ; Mon, 08 Dec 2025 14:23:53 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQ43X47NFz3vCp for ; Mon, 08 Dec 2025 14:23:52 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-b73161849e1so1069436766b.2 for ; Mon, 08 Dec 2025 06:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxpowered-net.20230601.gappssmtp.com; s=20230601; t=1765203825; x=1765808625; darn=freebsd.org; h=in-reply-to:autocrypt:content-language:references:cc:to:subject :from:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=1TikoKEgAWbQn43dMdFEBDzvJ8fXrPyuWp6YZ0KbeFQ=; b=GBMM8RVaLSaNfqlozT4wGgm99KdKcJM+joLExf4/y85blqz5UP2Bwaa5rFAz24+hB+ LJTDkpoZW2HtgCO1qP8SCQ6gEsAaJLZq4N+8kxtp+b9IN8FYpqvGx68Y4ztWD9KnBI5g zqRzmhrYyBMGYvy8M1kcBdiv0T+akZ78rqA3vO+w0m/p/SFudrWDGDBMowWWxjJTbXHC vgvNd+bfxLFPkmU7HbeOslcBmWW5O1yBu9JToiQareA4AoyHGGQIJ9KTHLreanlzEquZ GzarZEiD++n4HfqA17GEmTnk+pPN+ebDQqPFKQQRbV6xP2rUjxJBT7hAbo6Yhhp7L52N vysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765203825; x=1765808625; h=in-reply-to:autocrypt:content-language:references:cc:to:subject :from:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1TikoKEgAWbQn43dMdFEBDzvJ8fXrPyuWp6YZ0KbeFQ=; b=DIeE411aNvZyMplSdUuUaRZwWExM0GE5/VkKGdy5ZloKwLZtudYuNSxjUYdBPvewUZ vFxxbSvhEfE8yRfYXHpwrqrmVC1G1osmNmOR5UgPZYBp5q7QA0g04qjdzX7NPxlyaqSN KpzZocQiA8fNcvXLaszm/5wYY0cBuNwjVyaJTpIP8Xx2pnwPL6KDZkGRNUouwhK3Z6SE 7QejECV8VOy5u5c8Z8aqIcXlZRmKvyokpSHRWJf6y78uEbx+581Mw79JpwHaycj7lrc7 airvMBQsDp1Ck0f6vi0rLspuafgJB1PIiqKzI8vMzFvmdWTqTmaalujHz77+c8LHpc8+ rkbA== X-Gm-Message-State: AOJu0Yz/Q2kPAUCuBuOLS1QpHMv9FeIziJbmHpyNXMIwcdhgNlz/JdKF Wckqph88aXoCqeF4Gnedr+cPegY/+H9L+WE62XXnYDuRgHQw1HzH4HPw2VvJHJSS3c0= X-Gm-Gg: ASbGnct4NYjkVj3fOBnjw4CLUa9Gi52QBoLAI4zCQwjqcfBOucgi8WuEqcSRs85GGVQ s7jdI/7NibZtyj0YOba6t3V30Cm90Th3irIwbG0uNqBIKVzfrQ1RUQPvTFZW32g51/QeJydynld SJsQsJFwNd18N7y7dOKUNOxpiHzs/qMyVSMAT7gM/y1dt4qdGY3qTvE4lITJubvlc8puK68OGm0 wLwVTMKhRLjwaPb1OE1mF56D18d5fkW99XBT24PwVXHmjz5WEPmV57ttNZfpB/2k9pb9rWfh8iT 8CNAOOy8DV7sP7TvH+llKjqDXWeGerX11Y0ceD63pEcsQh2E/6RYKA2FU7gQV0r/7ghkGZ9CJud Su6zApqnzHkVGloWxI3mp6PfC26TWdD4n/9tp38d6kV2Yj/3NwBt44PetHO1PDEq+kZqZJN9qiD KB/hJIwHJmu+/l18njTyh04GwFx906jDAk0r5lv6U1HDnKfAl6e+iJhlXXSYvupp5Ll0V0kKjOi 4AgxBT2sMM= X-Google-Smtp-Source: AGHT+IGxxXMefjvSvNWJGDgEOTsFIkYu4chzTmORnS5A+WLLcqoOhBQ5SwFDfjSuUoent62J3dVhJg== X-Received: by 2002:a17:906:c104:b0:b73:80de:e6b2 with SMTP id a640c23a62f3a-b7a2477ab1amr845116966b.31.1765203824693; Mon, 08 Dec 2025 06:23:44 -0800 (PST) Received: from [192.168.178.122] (149.224.164.71.dynamic-pppoe.dt.ipv4.wtnet.de. [149.224.164.71]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b79f4457f9dsm1129811466b.8.2025.12.08.06.23.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Dec 2025 06:23:44 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2025 15:23:42 +0100 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 User-Agent: Mozilla Thunderbird From: Kajetan Staszkiewicz Subject: Re: RSS causing bad forwarding performance? To: Konstantin Belousov Cc: net@freebsd.org References: Content-Language: en-GB Autocrypt: addr=vegeta@tuxpowered.net; keydata= xsFNBGSvtwgBEADIx3vgFBaDsFD4MOGIsWSmHag9q8x3J5OrqBR9aIdeeDW4ghnPM1NgD8EQ HQvaAufffQ/vYXSWWJyDdquVARWprEXXQIMQZcDhw0pHtSrNK6NFF5UWfBkxYxAr2hTlRp0b R7QZk3ezGUElBpf+SJq5cCOy//32hnzJiKb+5hlL0QOheWKwKignhLckW8Yat+kjhsxw7pR8 vn/XSCwyejx3I8v2DZsTuXVOvbKr6kNwDryjl6JJwKFoQ/aNUeD7dmLP2ieB9HCHBBBIi16Z JcUCyJw8LI6GPrfr5zPEP38Up/psDQWoldbO2Kf5DyCN2HGFKLrK9StyjiMs4dgaA0ZXxIdn JTzdAP6+d1qIfvv5mGhbqTvHgX6ReR7l93eE3Q6WJqGiuFGUtKdU5qaRHd4IdbFnhNK/rWjg ZoKAlZwhnZ9BWZC8Vb9DznURYQUubt2Gr7Sutt0043d/WoWyGS2p7dEfXaeE1WE7n/6KqbBU zG/rF/20eeT0lmrNAy9pgFD5WmTtzHnljBzQSBDMTxZP3iEmFa0pXP+Ch/H26AxV99MXs7Tz Xj6VF5NKcIJ67m1pwJSW2vO9UhL2OVBJI3571C+9qn52QJjZdm4R4gHpgjbr4EoCUdlchCa1 iUQ1gV6SJI70WqgwmVprYwvaN1Rdld2iQFX+W6aOq6be1VzrwQARAQABzSxLYWpldGFuIFN0 YXN6a2lld2ljeiA8dmVnZXRhQHR1eHBvd2VyZWQubmV0PsLBlwQTAQgAQQIbAwUJB4YelwUL CQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBH0hCHMWPZA3mb0mbICq13+m8wBTBQJkr7gjAhkB AAoJEICq13+m8wBT14sQAKj1sG3yLeRfoKmmMgdbCErSrEg0uCChvWhRz/PCNfJB4SrUfSBj unM56CeCVUf1SBI7cq6tJDujMor433OpiuZvtlgJezfoeyTvgjiGshVnstNAik77+B6lnhvJ VwA7O3aT19kW/wUiVx9bATAleE4SQjyXq1z0onzh+FLeYZucfzISzUgOx2Ggb/eseDZ+v2re ja47WmMl/iU6ERvG3+GbmgZuYGRDIhzsa0l1YFzMrCmqrZ6ysW2JMwH+wkbw94yyLmF1k7uU KkRrejDiQjDk8Db2Smf7MaLGOCQGrz0Q2vSuETIavw2zQYs0bsQLuhV2/TlXegdfbe4wNhsD t4Zs2KEr8lHrXfIckxDn/vwlh2TWnPLQqlN13dctesfK/HFWqReIhfYu2B9WQCugLR2NAlO+ hw9wuOzBu8SfOX+CIcqHfX2Q+c7KrHFSsscENu2QnE27my5vqjkig4cpjZDLitKTyqKm8UNI f2O1xF137zA5byn/4rQFlfn8LbhuPdLBexvasjIQzuSgTZZ7cjUqbXFXssYsU0CFUHCoH5yF VrW8RGvx+W1l2nZQr03cZEoQEL+La4+LIRiuwFfohpz5xCsP0GdBDVIinC9vAkW7I6Y6ssCv ykMhaOGXZzs8mR47KCt6aFPX3vir9WmHQvHvSXaSxLNzfzmwl1e1hXD1zsFNBGSvtwgBEACw 4wl+FEyUehwSjs6/jhECE9r4fzwG+nUg1Q2ct8BneAjjUV/0UcMPQtphIGKqlJTxnxIEiz8D R3kb3Y535qkAeAU4RV8ONCUrJLyXoLei/Ymk7161Gui9x3AB1Z2Yi3x76MuRAFH7QIAxhXYo MN97IpgFDrv/ALwCD/eROFWEm5vNP8fvvpKBxtNaolebXWMfSFo3GJ8C73x+L8vW3D0uOp43 9MKUVAm6SMZXvYQA2P5+q15gxVUs0uhT69gHTrUMPHqPvARxZK5vpY+n3Phys9CZw84WaXcz qLjvmpKqqs/ody3r7caXZcN7eg3sihI0ud6R3UufM4WJ1UV8YLdwIi8dRMx0ozzjw+3E5ji0 gatXhhdZ9N7MsEOfy2o4IxukxJSvsDO9WRqIY2PgyXHlpiM026hhXiJRyCeV0TN1MAwId8YM 2+Ujce9n+Cu78d8+1lLVx82kvArm5zEL/Dj9b4SAZbyzQd5JzkiEWcYtZvTBG+NiAXgm9DR9 i4IC0TuEXfxT+vuriDKYhlyXzPhvaCngIkQ574YwGOrbjfCsSvZCrrSHtb+Mw1uC7kNvegfW 9ZUegD7knKXCt+4AX1xP27JB+ERdFoi7Ri7ROZLJB3Ne8oDS/aN40roKHj8mkm15lAMwrYB1 7ct/J8UCfQH4eagW8SwS2M6Tut6B4VWG+wARAQABwsF8BBgBCAAmFiEEfSEIcxY9kDeZvSZs gKrXf6bzAFMFAmSvtwgCGwwFCQeGHpcACgkQgKrXf6bzAFNbXRAAgFwTrMTEZDO79izcm/uU uGBoa3SKkxIwfhjYWwkHoLyr9P8fqRX6NjW///e8YWdLmf1jBESRnQYEbuSvociDpc7CJ57f 3GaKlHZs2ci5u0tqM0H/VKI/cAuPBGXli/unnbozlsU1fU4uZfY/4Tl2P8FNApJh2vbNalIt Mc9l0Iz3d5URPWAe7Pnb29tEVu5TNR/bJg7ihLsTY18XcePkHRRrnPF9ui9egB5FbCAQ/VSg Pl7/kD/PkOT/3kc+C4RhddRMUmPxH0G4hvBPLRuvLgwtaj8vnurN1NxbllzK33ZWkvbUhIrw Qcv23jfhQmg/cpzsQKeyu7L53bgUc4+zYoq/wd3n9SMCO5vTMUrswNqmD4wyopjblCGSeKNy kiiFA70umn5tB+Ra8H5k+n/e2QluKns+DoIg1Hm5chk/emBG42JYTdrMhLFQGZnzJU3WJf1j cVzOFLcqDuq+IwRPJrCZXsLft2O79uU+zbla+RdWd0uIzjbM4R8jch470h5cK61kcaQ7UwSb OpdPyq9PqFl26x2g4jDNmFLAuQDEBJoxmZA2bNfQk+DwYYTuoTItN3F674nb8Fk+tQyXL6fl 5CXOJOTJArKmokrPLcr3HXGUQpfBzXRDuK0UKgn3m9UXq2laaODgswuoZqm0vqWuWIRMm84J Wbiwhrslf0hn78s= In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------npnlp1J6uaFFyvI8poIH2Io8" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dQ43X47NFz3vCp This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------npnlp1J6uaFFyvI8poIH2Io8 Content-Type: multipart/mixed; boundary="------------ecD3I21BcKXgGHCd6W8Eqn09"; protected-headers="v1" From: Kajetan Staszkiewicz To: Konstantin Belousov Cc: net@freebsd.org Message-ID: Subject: Re: RSS causing bad forwarding performance? References: In-Reply-To: --------------ecD3I21BcKXgGHCd6W8Eqn09 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2025-12-08 00:55, Konstantin Belousov wrote: > It is somewhat strange that with/without RSS results differ for UDP. > mlx5en driver always enable hashing the packet into rx queue. And, > with single UDP stream I would expect all packets to hit the same queue= =2E With a single UDP stream and RSS disabled the DUT gets 2 CPU cores loaded. One at 100%, I understand this is where the interrupts for incoming packets land and it handles receiving, forwarding and sending the packet (with direct ISR dispatch) and another around 15-20%, my best guess that it's handling interrupts for confirmations of packets sent out through the other NIC. With a single UDP stream and RSS enabled the DUT gets only 1 CPU core loaded. I understand that thanks to RSS the outbound queue on mce1 is the same as inbound queue on mce0 and thus the same CPU core handles irq for both queues. > As consequence, with/without RSS should be same (low). It is low for no RSS, but with RSS it's not just low, it's terrible. > Would it be UDP which encapsulates some other traffic, e.g. tunnel that= > can be further classified by the internal headers, like inner headers > of the vxlan, then more that one receive queue could be used. The script stl/udp_1pkt_simple.py (provided with TRex) creates UDP packets from port 1025 to port 12, filled with 0x78, length 10 B. My goal is to test packets per second performance, so I've choosen this test as it creates very short packets. > BTW, mce cards have huge numbers of supported offloads, but all of them= are > host-oriented, they would not help for the forwarding. > Again, since iperf stream would hit single send/receive queue. > Parallel iperfs between same machines scale. It seems that parallel streams forwarded through the machine scale too. It's a single stream that kills it, and only with option RSS enabled. --=20 | pozdrawiam / regards | Powered by Debian and FreeBSD | | Kajetan Staszkiewicz | www: http://tuxpowered.net | | | matrix: @vegeta:tuxpowered.net | `----------------------^--------------------------------' --------------ecD3I21BcKXgGHCd6W8Eqn09-- --------------npnlp1J6uaFFyvI8poIH2Io8 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEfSEIcxY9kDeZvSZsgKrXf6bzAFMFAmk2328FAwAAAAAACgkQgKrXf6bzAFO2 vA/9E3GMFqWceT4kTNuBVbzs/30JJXrtjf4nro9TeUrRLHywuGPaEL9ozc14BDtjiZE63BUX7W9y cKbd9Zd0ndQjLUW4IldBGyCUW9B5edfls6+rqFOJ6kbpt/SfFYucYU7rS9Erj/0js1VQj6m03/T/ 5u9yedHveavK7e69afQXGkczLmphTpXUy/AHrJhWVX/aSzlpVkuJju+4hjzhyyR7A0XJ6IH4DXzQ ubzD6P9pUB3CmiwIW5lfBsQlPSUEI1wndycfH1juvl/6wLKfqV4o+GN3AF20Tkiu6eTTf0CB4yoI yOSd7AOdV78MNWKJEMyk+UsXStX1EkXyYMmm06OHC3YrzOtexYOtijDE49eIh1tJddq2CeNWpkzl d+AQ7+4c8eHk3ZKyuo3FAcnCqvH7khFyAbCSP/AgvMfveCEkHSAVDpCBKkwHG7Zh7qR/gJI5lWzZ smyF/CSLY0Q9LLL3yN9dAlTAzHpW0X/Ily3nUK+TBs0mEmb+ZVqN/Yr0QgPjNIXOVKxT2vbNRvfR jcElCsNoiJ3kDnyMSZbPfkKX3fGa3hNFibZAtChIqADX40wkLmJPtiCSkZkt55fjrWWmC3hwwinV 4UotmV+IGVgXuPj6rz1N3G5bVQWrijmKoyhSeGrjiw7XJQn5QdkStkSc2l+LSOfp162kxLLZ6mZz 3dY= =YY0X -----END PGP SIGNATURE----- --------------npnlp1J6uaFFyvI8poIH2Io8-- From nobody Mon Dec 8 15:45:21 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 4dQ5sb25Rqz6K02G for ; Mon, 08 Dec 2025 15:45:23 +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 4dQ5sZ6jgyz46L2 for ; Mon, 08 Dec 2025 15:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765208723; 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=3fN2bYUZFizCAJqOai1zS1ikwlhZO2Kv1jJIYp6YvvI=; b=MHU8cr7t/U8kH6rX1zThJISMo18cKpTFF6pI3ftAqJOmwlw9zwtOXaDHMjPb0yahA1ZQyi Kuak7g/peR/30Ijlhzskd3zwaC7uAV3tj6brUXR0K9SljyxgSjfuJ9ddG4dEK/tHy0Vuu1 lDFPY6XkL74pVN8zR7tqNODaYQhIJFzITFhEpvN3/zApzxtIgJGdQsCNFHPWqgQfTMZuP+ AtqzkFMISqu1IKPePfCi58JZhhJEGxlADpZ5xkJeY/cgcEl59tACk8Ua11JWQ2MbE/KrnT 9pjwuyjlhe3hKPnD3CsIFEI8WmnzKFn2tyhiMUHarL9Reshzm7TrcQHzgTc23w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765208723; 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=3fN2bYUZFizCAJqOai1zS1ikwlhZO2Kv1jJIYp6YvvI=; b=j6Uj++l9BkczTEsaN+o9ProbrA7hX2IUe1AOWWw/LmEDuyKiyi1C6FzmLLx72n1Nm/N1cL zIiDbPUpGAvcypFgVkmdH/xXZp8nX65uIewx1ga2GZgo2njbsU6rBFpPj/WbO1QecVJCn3 pWkVL4oD8aHauz7kruIHBbWe98aCiU9MNzs3rtoMBnkjONry5m0oAFj8Evk41hzpl0BFUr W5B+8OoS6V2PIicpKOOD/jFKgL/4Q4F8ESBMV/TUOQKF2L6ABkBJcdbMYDCwV/nFK3U5re 79BoFBVWIPW9+g86F/Onxc2t1So9Yd6IJEJ6R3y5LmENwZdn2kifE8fACPCpYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765208723; a=rsa-sha256; cv=none; b=LaV4vaOj8mkkN2qdLJBcWb2WCnLDOYModAudH7lFupJrSE2WO/jG/8blYV+I5CXLJ+gUuA PsSn0DTNn063S3vJ7d9OcgsmtvG0rcr4F72SU2BB3ectI8lJBMjr+axeNttzK1Acn6g1GV +6LOwh3Icr/uiivWmVIdquhYpHKmlaZmHLIOsJCeSzi+Jjl6hexz0zSsLk7rST453C6jFG EjiGV3VS9OZXSOYNNurc+flJKZ/wg/P3dJavK669QJ7hz72QuzDrSRVopxOoTl3vYr7pAq 72h2Z3pD0WRpkEpjEOyGwywPDs8PTykQynbfNVwheGqD/QIkz85o014GITEMlg== 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 4dQ5sZ5x7Sz3st for ; Mon, 08 Dec 2025 15:45:22 +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 5B8FjMjU057406 for ; Mon, 8 Dec 2025 15:45:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8FjM9P057405 for net@FreeBSD.org; Mon, 8 Dec 2025 15:45:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 290793] iovctl on mlx5en won't work Date: Mon, 08 Dec 2025 15:45:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable15? mfc-stable14- 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=3D290793 --- Comment #23 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2032abb31cbe067d41067a81e529d91f1= bace4c9 commit 2032abb31cbe067d41067a81e529d91f1bace4c9 Author: Bjoern A. Zeeb AuthorDate: 2025-12-02 16:04:22 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-12-08 15:43:51 +0000 LinuxKPI: pci: undo the pci_resource_len() check in lkpi_pci_request_region() Creating non-passthru SR-IOV interfaces on a mlx5en(4) failed. The problem lies in the pci_resource_len() call but not that the BAR le= ngth is tmeporary 0 but in that we call lkpi_pci_get_bar() with a true argum= ent which will create the BAR resource for us and report the approriate len= gth back. However, the later call to bus_alloc_resource_any() will then fa= il given the resource already exists. Restore the previous behaviour and let bus_alloc_resource_any() do the work. Adjust the return values from -ENODEV to -EBUSY to match callers expectations. In linuxkpi_pcim_request_all_regions(), like in linuxkpi_pci_request_regions(), filter out the -EBUSY errors as "not an error" and try the next bar. This also seems to be consistent with the expectations of the callers. PR: 290793 Reported by: David BOYER (jcduss13 gmail.com) Tested on: mlx5en, iwlwifi, mt7921 Reviewed by: kib Fixes: 7e21158d44cd "implement [linuxkpi_]pcim_request_all_regions()" Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53902 (cherry picked from commit ed29ffd396e522a45ab1980c12a75b3409b51712) sys/compat/linuxkpi/common/src/linux_pci.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 8 16:28:35 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 4dQ6qS44Bqz6K2tm for ; Mon, 08 Dec 2025 16:28:36 +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 4dQ6qS34jQz3KL8 for ; Mon, 08 Dec 2025 16:28:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765211316; 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=yUnUbsdV1j91rJgK49/T8VS1LOHO7A7rm3Z9/rnkRsY=; b=GT/yEg7zt4+d9LL6v0dx3E+SaZG/Vb2dyGrWEAxbyPU7RyFcKToiEeUGj/lEUj9iTvlsBJ BWZ0K017Q9QD9HbHG17Fc6SfYdZim0mClINkXo9B9LeiVq0+iBXK4nkjIQrfSUspRLWt98 VG/YRLFz6onYBzaapMajRAy2oIDXH0BAPUdx/sqvfCrP2udjYe1FiZi5wE2bdH04/Dv/kv 3TDgq/xpZDrqs8HrpAxRByeQQqFnfZ8a6mUMTmpLM5C5Squg6GQaV863Npa1Qttcidybmb m9kkoQDwU7KlGPh4QfvLuE0qxonUm/quQkEIcQDEfxa8oqV7V0fcV2VsVbVbIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765211316; 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=yUnUbsdV1j91rJgK49/T8VS1LOHO7A7rm3Z9/rnkRsY=; b=H3oash+sG6Knm83HBdT87Eas9KphxBDByfuCJFIolTV7SRABZm4xnfCaaXALxteNp0rjCd CErICMa5N4J0OhHraIwXCK8wKNb4WSYX1ZeLBbWax+rpfWKhhhcsIliu1QfSjDmrkYzIPI 0rhvhscGtEZHg60YgeI2LPwtvUCI4KGGVzGWZkckxcFnTs9Ajjej3a/B1H2wJ0Ab4gWCct NepbnqpJixApF4EPNGLVR7uDaZv9I5Aq+ZHiMc84CVjKTGC4NfPgFZOgkSyIOLC6+DGGNj QitkHLvxSggpcZnath0+YwLQ8y2UQ6U3GwST+eADzOZY2as6TiD2ixWomNuBNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765211316; a=rsa-sha256; cv=none; b=HzCNsxyi0VPYI3jhguxNhJyYbnR+0vCXzJpW5JT1rSdIzq+/11RmCR/xOqN/0fOznTRxDe /uTbH4YLdDWNoL4s01EjwDcJIdUkdRKif6p9/9Fb1pbpMOrOtxyJJx5YjaQjHmVjpsyjBj ekJdlZhf/fO0jES+wGzNsVbeCzFd32kLTdwHMiew8G0S6wqaGaQgUK4KaAidBiLsR5TPPP YDvJoDOGe4skLO9H++24UTjW4rHUQ+siYFTlsNeCwhiwSbqYdx3wRY2HAlr6n6j3NI1FlS jD1MJD7rmw4mSPJglBfhyzI1cyptIaXlkbgNV3rnqJP6c1+6Ql23YSc//1ygdw== 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 4dQ6qS2Y0Cz4ZY for ; Mon, 08 Dec 2025 16:28:36 +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 5B8GSaTR037758 for ; Mon, 8 Dec 2025 16:28:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8GSari037757 for net@FreeBSD.org; Mon, 8 Dec 2025 16:28:36 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Mon, 08 Dec 2025 16:28:35 +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: tuexen@freebsd.org 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=3D291420 --- Comment #10 from Michael Tuexen --- I am pretty sure that https://cgit.freebsd.org/src/commit/sys/net/if_epair.c?h=3Dstable/14&id=3D5= 03bf058cd0adfe3d5e66340b13d32b4516390cb results in the problem you are experiencing. If you disable txcsum on the epair interface, the problem goes away. I just want to understand the root cause of the problem. If I understand your data correctly, then the problem goes away if you set forced_udpcsum to 1. I think the problem should be limited to UDP, because bge devices announce TXCSUM support, but only do this for TCP, whereas the implicit assumption by the rest of the system is that TCP and UDP is supported. Setting forced_udp= csum to 1 enforces support for UDP. The default is forced_udpcsum =3D 0, since Broadcom NICs don't compute the UDP always correctly (I am not sure if this= is currently fixed). We try to reproduce it in my lab, but we need to test it on a system with a Broadcom NIC. Once it is clear, we will work on a solution. As a workaround you can just disable txcsum for the epair interface. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 16:33:25 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 4dQ6xG2vT3z6K3hV for ; Mon, 08 Dec 2025 16:33:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQ6xF69zxz3LNl for ; Mon, 08 Dec 2025 16:33:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-4eddfb8c7f5so46624561cf.1 for ; Mon, 08 Dec 2025 08:33:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765211617; x=1765816417; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1PTPb+iqCX11rayrYer5IhVx8PfqXMOk/bORCRFoFEg=; b=X1l2avJ9nef28ZiiVNjRQe9PXyFFnei9VarZjj1pp4tKw8DxteFPVQ3geHPeZ6k/bp atTxzJ0sLbBKFI8bM2hypca3PpOA2aWFqaYYj3iXJT4tvVVdc+cTCwcJabBhpchUhq6h KV5gWC7UbF0VbdOhcn7aqjD5euOLyUlEUTdTmz0GbjSTdar0iS6tMFifi5r168PxjKyp yL+fPqRCym9dGtQct66HdM88S+VyKrLwqUFgGzlzmHWOi7MQi7wIUxuaJE+TFZV37x81 eEPlU3dYRTz4Y0kWGiraDKjQczdvvvFCBNYFrX2RhLE4eRDhnmPXBGWcuZzGOnXnwbPi KxmA== X-Forwarded-Encrypted: i=1; AJvYcCXQN+31cbwkfk+J/5q34C7ADIzJBs2SmZ3XZQtlfYdeRm5wlswr9b4sD9hWv7R1/vMlJZE=@freebsd.org X-Gm-Message-State: AOJu0YwbIYrB28773j/fAU4sLx/LsYsnB6upjNLV5Kx7KdkMbwmNqrig SZxSxXQxqU8WlBuYYWf7L171NL6qFeuqrzOUTaji5eMlOmYzwbcL4wvCQOyqY9CrEe1kkYozNnc 66+QUXjXw+QLVb6suBZwq+pxmTh2jbHj9/qtc X-Gm-Gg: ASbGnctFXgIbCki1inDLvpMMe0Zd4mPbMh0CdHj+Bb7ALWMwALq+kdHpYkexs0qIhhg 9qVLl0DIL9J7PLJwXEfWUZ1+njRJTAk1XD5Qpi7unOSuwipqZhwbwFYhHbT5Xcx1ya18bh74/kf 69pDocHPU84A6MTCatUIfu5/p8uGroJHPF3macvNWPfdSL7IWU9T9qi+GEe6gE7SEY83hvfUC+B HwwyCOen9qK8hu4bVyoNmoewpT5R2ui7mQi1bSDX+C69ZRKCoIePa/+zLR59zXHKDlpspSqEub6 sQ1BZ1aaWCEo8mQmO4+3HqAGWjWkyw== X-Google-Smtp-Source: AGHT+IHlXi4zwfecTFyeXRKdo0KJmIr8FuJfZzI5fm64buppBaCzwT7P8Yp/xbbilfUKVCCmihzRDxZ4ixkRE76YgSw= X-Received: by 2002:a05:622a:4a18:b0:4ee:2868:4e4a with SMTP id d75a77b69052e-4f03fd4fe1emr132461581cf.14.1765211616771; Mon, 08 Dec 2025 08:33:36 -0800 (PST) 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 References: In-Reply-To: From: Adrian Chadd Date: Mon, 8 Dec 2025 08:33:25 -0800 X-Gm-Features: AQt7F2pJAB0TVsD9lTrKJ5Z2jactmAeKbq6BbBowW9wAqZn6eKOdkPdm2g1_AwU Message-ID: Subject: Re: RSS causing bad forwarding performance? To: Kajetan Staszkiewicz Cc: Konstantin Belousov , net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dQ6xF69zxz3LNl On Mon, 8 Dec 2025 at 06:24, Kajetan Staszkiewicz wrote: > > On 2025-12-08 00:55, Konstantin Belousov wrote: > > > It is somewhat strange that with/without RSS results differ for UDP. > > mlx5en driver always enable hashing the packet into rx queue. And, > > with single UDP stream I would expect all packets to hit the same queue. > With a single UDP stream and RSS disabled the DUT gets 2 CPU cores > loaded. One at 100%, I understand this is where the interrupts for > incoming packets land and it handles receiving, forwarding and sending > the packet (with direct ISR dispatch) and another around 15-20%, my best > guess that it's handling interrupts for confirmations of packets sent > out through the other NIC. > > With a single UDP stream and RSS enabled the DUT gets only 1 CPU core > loaded. I understand that thanks to RSS the outbound queue on mce1 is > the same as inbound queue on mce0 and thus the same CPU core handles irq > for both queues. > > > As consequence, with/without RSS should be same (low). > > It is low for no RSS, but with RSS it's not just low, it's terrible. > > > Would it be UDP which encapsulates some other traffic, e.g. tunnel that > > can be further classified by the internal headers, like inner headers > > of the vxlan, then more that one receive queue could be used. > > The script stl/udp_1pkt_simple.py (provided with TRex) creates UDP > packets from port 1025 to port 12, filled with 0x78, length 10 B. My > goal is to test packets per second performance, so I've choosen this > test as it creates very short packets. > > > BTW, mce cards have huge numbers of supported offloads, but all of them are > > host-oriented, they would not help for the forwarding. > > > Again, since iperf stream would hit single send/receive queue. > > Parallel iperfs between same machines scale. > > It seems that parallel streams forwarded through the machine scale too. > It's a single stream that kills it, and only with option RSS enabled. RSS was never really designed for optimising a single flow by having it consume two CPU cores. It was designed for optimising a /whole lot of flows/ by directing them to a consistent CPU mapping and if used in conjunction with CPU selection for the transmit side, to avoid cross-CPU locking/synchronisation entirely. It doesn't help that the RSS defaults (ie only one netisr, not hybrid mode IIRC, etc) are not the best for lots of flows. So in short, I think you're testing the wrong thing. -adrian From nobody Mon Dec 8 21:44:08 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 4dQFqk75Npz6KRBv for ; Mon, 08 Dec 2025 21:44:18 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQFqj3fMJz3C8T for ; Mon, 08 Dec 2025 21:44:17 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuxpowered-net.20230601.gappssmtp.com header.s=20230601 header.b=22fiq2zM; dmarc=none; spf=pass (mx1.freebsd.org: domain of vegeta@tuxpowered.net designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=vegeta@tuxpowered.net Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-b73161849e1so78825966b.2 for ; Mon, 08 Dec 2025 13:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxpowered-net.20230601.gappssmtp.com; s=20230601; t=1765230250; x=1765835050; darn=freebsd.org; h=in-reply-to:autocrypt:references:cc:to:content-language:subject :from:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=odlaVl98Q11fBDq/TUOvW4gfRTCF/0kZUJ/1iSRK2z0=; b=22fiq2zMUsJIfW8ZvVI1yWtII8xUZf22dRJnix8z6TkbKAQm7c3f1LCDMnnjD1C+8o 58iVRBD0v6cvucCm8vq9fys10yqImFYdLDKwHLcAFY6lBKUIKp4I0YYLCCT81uVu/zdd Z4UhaRXWJIDmsuKdsx7U1WKAjFC0EFg+7+0U+RPWwSmWlH1tkW05l6DpZ54w4xfmEn6W Q3WKgUFVzddEmkfPYq1Eizu5YiJCB9c4i4BzY+VcC+2twvd8vMKpYrYCcyQ3G3wStR4E 3MrENXeEDSwYh63FxJpQgkw6eM7hPpkPqUg2mSxH9lwkevIdmiZ7rOplfGAhoRWGPCCE 96gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765230250; x=1765835050; h=in-reply-to:autocrypt:references:cc:to:content-language:subject :from:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=odlaVl98Q11fBDq/TUOvW4gfRTCF/0kZUJ/1iSRK2z0=; b=WF3Sftb/KiLMxp8K4ArPE08W6lqb6geiEr2P4apAB0z7nAgzFPt75wF8xwl4YG0+wj JsCmFucXinhQSUm+DBPyjT+hcUkG6TPrjJhyOotgJFVAo3+LpgJe/U6gDXI9xDuLOVuu ivd+q2yqKYl8z5biwmYWQ1nBcNAiPLxqJERZL60wZ6x4tPeYkZXEJrgUF1xkR4EK6WiM pJYTXRNpTdhRHgtKibDxW1aMsWjl533YmwYun+89rrJZZsLYywdkDi1QGB5wlSia3erx FLUtEbpk2Rna361ulfxkXEod3USXvH5S0hJs8XY/hF8tCTtsOZqK9exLR6anePBOBia/ yq2Q== X-Gm-Message-State: AOJu0YzWIMtpohcgXeH2gA4deHwcqK7+5bAKhz68AyMVveTzNx8AyShU PwvJmys3hxaFx1Bj9Hk6J7k7b3HXdplcgEMtBv3jL1vQ7ADWDdoQupzeFii3+RctSdN7ELX6tZ9 wu/dx X-Gm-Gg: ASbGncueenvRs+HduE+lafJUc9RFjq9r/OBu/rVdyjJA1b1vRtCAehUrN+BKi1a65X5 2x7GXrLNY4Lkzh07ugQfqO8xhbNZB0WrbDFindQPzdfDLEv9DOHTR9Ye32ip/NXNNoeeizDnXtF epQKDr5MHCWZAP8md3rtJr0tNlW+ATrdsqVGlPv3E/5I68O2CEwICbxhuYOmy0VkdlIRh1DeiL0 zH9PO8Q9q9V+tK7uUMV49XSWo0E9l1yeyT8k6VaTYkFZfZfcY6tI8GoqPQlkjSw/ZjJsar7wAa/ 4kIO2HF/JaNMKVEOAKd2i3FY9zyACUcaf3Muinao/CWJr355QMALbY7PIbjadyviI6vaHtignf8 X6s3WCvnK+1zsRMEWUwemIUeisy2oVyNr2bPjpa8m1Ggxwnn3gvt0cXDBFOILKz/v3lrzmxSGLw TBH5BB4KvcqoDppIxdNpmZrXMbvrM86KfpaJhTp4YTrXgPA71N1n/OVOQJrOv12hhJMT8ViKKT7 a8lSajuUdE= X-Google-Smtp-Source: AGHT+IH68qVK2W+X3AjtpcdA0DG/WH1l7AftFspRA7GmHNa6uz1xmYCyFSaULsyBe3H8nm7iKuKFxQ== X-Received: by 2002:a17:907:3f1c:b0:b79:fe3a:6d3 with SMTP id a640c23a62f3a-b7a24777343mr865179566b.37.1765230250068; Mon, 08 Dec 2025 13:44:10 -0800 (PST) Received: from [192.168.178.122] (149.224.164.71.dynamic-pppoe.dt.ipv4.wtnet.de. [149.224.164.71]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b79f4a2f401sm1188964666b.65.2025.12.08.13.44.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Dec 2025 13:44:09 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2025 22:44:08 +0100 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 User-Agent: Mozilla Thunderbird From: Kajetan Staszkiewicz Subject: Re: RSS causing bad forwarding performance? Content-Language: en-GB To: Konstantin Belousov Cc: net@freebsd.org References: Autocrypt: addr=vegeta@tuxpowered.net; keydata= xsFNBGSvtwgBEADIx3vgFBaDsFD4MOGIsWSmHag9q8x3J5OrqBR9aIdeeDW4ghnPM1NgD8EQ HQvaAufffQ/vYXSWWJyDdquVARWprEXXQIMQZcDhw0pHtSrNK6NFF5UWfBkxYxAr2hTlRp0b R7QZk3ezGUElBpf+SJq5cCOy//32hnzJiKb+5hlL0QOheWKwKignhLckW8Yat+kjhsxw7pR8 vn/XSCwyejx3I8v2DZsTuXVOvbKr6kNwDryjl6JJwKFoQ/aNUeD7dmLP2ieB9HCHBBBIi16Z JcUCyJw8LI6GPrfr5zPEP38Up/psDQWoldbO2Kf5DyCN2HGFKLrK9StyjiMs4dgaA0ZXxIdn JTzdAP6+d1qIfvv5mGhbqTvHgX6ReR7l93eE3Q6WJqGiuFGUtKdU5qaRHd4IdbFnhNK/rWjg ZoKAlZwhnZ9BWZC8Vb9DznURYQUubt2Gr7Sutt0043d/WoWyGS2p7dEfXaeE1WE7n/6KqbBU zG/rF/20eeT0lmrNAy9pgFD5WmTtzHnljBzQSBDMTxZP3iEmFa0pXP+Ch/H26AxV99MXs7Tz Xj6VF5NKcIJ67m1pwJSW2vO9UhL2OVBJI3571C+9qn52QJjZdm4R4gHpgjbr4EoCUdlchCa1 iUQ1gV6SJI70WqgwmVprYwvaN1Rdld2iQFX+W6aOq6be1VzrwQARAQABzSxLYWpldGFuIFN0 YXN6a2lld2ljeiA8dmVnZXRhQHR1eHBvd2VyZWQubmV0PsLBlwQTAQgAQQIbAwUJB4YelwUL CQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBH0hCHMWPZA3mb0mbICq13+m8wBTBQJkr7gjAhkB AAoJEICq13+m8wBT14sQAKj1sG3yLeRfoKmmMgdbCErSrEg0uCChvWhRz/PCNfJB4SrUfSBj unM56CeCVUf1SBI7cq6tJDujMor433OpiuZvtlgJezfoeyTvgjiGshVnstNAik77+B6lnhvJ VwA7O3aT19kW/wUiVx9bATAleE4SQjyXq1z0onzh+FLeYZucfzISzUgOx2Ggb/eseDZ+v2re ja47WmMl/iU6ERvG3+GbmgZuYGRDIhzsa0l1YFzMrCmqrZ6ysW2JMwH+wkbw94yyLmF1k7uU KkRrejDiQjDk8Db2Smf7MaLGOCQGrz0Q2vSuETIavw2zQYs0bsQLuhV2/TlXegdfbe4wNhsD t4Zs2KEr8lHrXfIckxDn/vwlh2TWnPLQqlN13dctesfK/HFWqReIhfYu2B9WQCugLR2NAlO+ hw9wuOzBu8SfOX+CIcqHfX2Q+c7KrHFSsscENu2QnE27my5vqjkig4cpjZDLitKTyqKm8UNI f2O1xF137zA5byn/4rQFlfn8LbhuPdLBexvasjIQzuSgTZZ7cjUqbXFXssYsU0CFUHCoH5yF VrW8RGvx+W1l2nZQr03cZEoQEL+La4+LIRiuwFfohpz5xCsP0GdBDVIinC9vAkW7I6Y6ssCv ykMhaOGXZzs8mR47KCt6aFPX3vir9WmHQvHvSXaSxLNzfzmwl1e1hXD1zsFNBGSvtwgBEACw 4wl+FEyUehwSjs6/jhECE9r4fzwG+nUg1Q2ct8BneAjjUV/0UcMPQtphIGKqlJTxnxIEiz8D R3kb3Y535qkAeAU4RV8ONCUrJLyXoLei/Ymk7161Gui9x3AB1Z2Yi3x76MuRAFH7QIAxhXYo MN97IpgFDrv/ALwCD/eROFWEm5vNP8fvvpKBxtNaolebXWMfSFo3GJ8C73x+L8vW3D0uOp43 9MKUVAm6SMZXvYQA2P5+q15gxVUs0uhT69gHTrUMPHqPvARxZK5vpY+n3Phys9CZw84WaXcz qLjvmpKqqs/ody3r7caXZcN7eg3sihI0ud6R3UufM4WJ1UV8YLdwIi8dRMx0ozzjw+3E5ji0 gatXhhdZ9N7MsEOfy2o4IxukxJSvsDO9WRqIY2PgyXHlpiM026hhXiJRyCeV0TN1MAwId8YM 2+Ujce9n+Cu78d8+1lLVx82kvArm5zEL/Dj9b4SAZbyzQd5JzkiEWcYtZvTBG+NiAXgm9DR9 i4IC0TuEXfxT+vuriDKYhlyXzPhvaCngIkQ574YwGOrbjfCsSvZCrrSHtb+Mw1uC7kNvegfW 9ZUegD7knKXCt+4AX1xP27JB+ERdFoi7Ri7ROZLJB3Ne8oDS/aN40roKHj8mkm15lAMwrYB1 7ct/J8UCfQH4eagW8SwS2M6Tut6B4VWG+wARAQABwsF8BBgBCAAmFiEEfSEIcxY9kDeZvSZs gKrXf6bzAFMFAmSvtwgCGwwFCQeGHpcACgkQgKrXf6bzAFNbXRAAgFwTrMTEZDO79izcm/uU uGBoa3SKkxIwfhjYWwkHoLyr9P8fqRX6NjW///e8YWdLmf1jBESRnQYEbuSvociDpc7CJ57f 3GaKlHZs2ci5u0tqM0H/VKI/cAuPBGXli/unnbozlsU1fU4uZfY/4Tl2P8FNApJh2vbNalIt Mc9l0Iz3d5URPWAe7Pnb29tEVu5TNR/bJg7ihLsTY18XcePkHRRrnPF9ui9egB5FbCAQ/VSg Pl7/kD/PkOT/3kc+C4RhddRMUmPxH0G4hvBPLRuvLgwtaj8vnurN1NxbllzK33ZWkvbUhIrw Qcv23jfhQmg/cpzsQKeyu7L53bgUc4+zYoq/wd3n9SMCO5vTMUrswNqmD4wyopjblCGSeKNy kiiFA70umn5tB+Ra8H5k+n/e2QluKns+DoIg1Hm5chk/emBG42JYTdrMhLFQGZnzJU3WJf1j cVzOFLcqDuq+IwRPJrCZXsLft2O79uU+zbla+RdWd0uIzjbM4R8jch470h5cK61kcaQ7UwSb OpdPyq9PqFl26x2g4jDNmFLAuQDEBJoxmZA2bNfQk+DwYYTuoTItN3F674nb8Fk+tQyXL6fl 5CXOJOTJArKmokrPLcr3HXGUQpfBzXRDuK0UKgn3m9UXq2laaODgswuoZqm0vqWuWIRMm84J Wbiwhrslf0hn78s= In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------9hYYcHnQELeKB44TQwnP7RDJ" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.59 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[tuxpowered-net.20230601.gappssmtp.com:s=20230601]; RCVD_TLS_LAST(0.00)[]; HAS_ATTACHMENT(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; DMARC_NA(0.00)[tuxpowered.net]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[tuxpowered-net.20230601.gappssmtp.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[net@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62a:from] X-Rspamd-Queue-Id: 4dQFqj3fMJz3C8T This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------9hYYcHnQELeKB44TQwnP7RDJ Content-Type: multipart/mixed; boundary="------------OvOSabp5Sn5BRx3B3bD0M0xD"; protected-headers="v1" From: Kajetan Staszkiewicz To: Konstantin Belousov Cc: net@freebsd.org Message-ID: Subject: Re: RSS causing bad forwarding performance? References: In-Reply-To: --------------OvOSabp5Sn5BRx3B3bD0M0xD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think I've found the culprit. When using RSS the mlx5 driver binds queue interrupts to CPUs. To simulate what it would do, but without RSS, I've configured both NICs to have only one queue and then bound the RX NIC to CPU 1 and the TX NIC to CPU 2. I got 3.3Mpps forwarded this way. Then I've bound the TX NIC to CPU 1. The forwarding rate immediately dropped to 0.5Mpps. Both NIC queues on CPU 1: RX IRQ 546/s TX IRQ 546/s dev.mce.1.txstat0tc0.enobuf grows at 3.9M/s Forwarding at 0.5Mp/s mce0 queue 0 on CPU 1, mce1 queue 0 on CPU 2: RX IRQ: 403/s TX IRQ: 85000/s dev.mce.1.txstat0tc0.enobuf does not grow Forwarding at 3.3Mp/s Let's play with the TX NICs sysctls dev.mce.1.conf.tx_coalesce_mode=3D1 dev.mce.1.conf.tx_completion_fact=3D32 dev.mce.1.conf.tx_coalesce_pkts=3D128 dev.mce.1.conf.tx_coalesce_usecs=3D128 TX IRQ: 4300/s dev.mce.1.txstat0tc0.enobuf grows at 1.6M/s Forwarding rate 2.19Mp/s dev.mce.1.conf.tx_queue_size=3D16384 dev.mce.1.conf.tx_coalesce_mode=3D0 dev.mce.1.conf.tx_completion_fact=3D512 dev.mce.1.conf.tx_coalesce_pkts=3D128 dev.mce.1.conf.tx_coalesce_usecs=3D128 TX IRQ: 7700/s dev.mce.1.txstat0tc0.enobuf does not grow Forwarding at 3.39Mp/s Now the TX IRQ can be set back to CPU 1 and forwarding rate is at 3.27Mp/= s. Lesson learned: don't forget about interrupt coalescing on the TX side to= o. --=20 | pozdrawiam / regards | Powered by Debian and FreeBSD | | Kajetan Staszkiewicz | www: http://tuxpowered.net | | | matrix: @vegeta:tuxpowered.net | `----------------------^--------------------------------' --------------OvOSabp5Sn5BRx3B3bD0M0xD-- --------------9hYYcHnQELeKB44TQwnP7RDJ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEfSEIcxY9kDeZvSZsgKrXf6bzAFMFAmk3RqgFAwAAAAAACgkQgKrXf6bzAFOx 9w/9EyJzbSWJDES0UFYUxkxlZZ9k0PixkbM7AVcHgrN3idBXjxrB45lpiTpWwbDDi+wzR08qycC7 Tb/KrZ5DaaDuu1t9PN/RWihPSVUTtseYtSng9MRxr0rZieB/t+gfNQcXnR7wjHEXkZC84v1+oVFB Atr44upFxk0618GVd+JH+ReZx49TUb5nmYJoCWGaJF7+R9mjLJeGsCdRavY0OZqZqXY4jhDHser4 dytmJS1651KKHNgjqEVtcvQOOstNjrGCCkN2lO5Ts35aNrfnqYwQhiMWpjkY1+D4mTO+lum2bufp jmFlGr0Ycv2aeJvgFGaeMARmo2ryR43MSXRec5bbTKdVcN6BWzmGB3oHvzvpPj0fab/Ok8jJS/w6 UcyxV2Yspqx1JDRGC8Lb1aTjivN6UhWLpin+Gaep1NcYMvimagL0+2LVHcc7DrRhYUeI28BRcUYb ZjE1V2MyeiNY0MIPj+w/BjZcszWK1t+4YLMz1w0MdFnbbxbNbzdZpCTgsB2cT0Hx5W+ml+m758ng fxEbDf4RF3k8I0meGXhQAvpTsAAdpvmJ3pysAzMm1LO6U3L0E4KJ3J0X3WeFZhRRGrNEEw+kf0X/ eZBWjOs/QSWY2C+5kF7BZnoy15AcyWTXw8tk2sgQwCwRA4ntM1o+golI8NW8ExmvKHv/GwaSlaw7 f+I= =TCfb -----END PGP SIGNATURE----- --------------9hYYcHnQELeKB44TQwnP7RDJ-- From nobody Tue Dec 9 12:04:17 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 4dQcw254kwz6KWnj for ; Tue, 09 Dec 2025 12:04: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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQcw24GgSz3P4R for ; Tue, 09 Dec 2025 12:04: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=1765281858; 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=yWfHAvs6xootDni0TyOv2M2VULNGJiE21RiZ1lRNOpI=; b=ToTLexnCt62k7xckFkvpkwSn8/udc4i0EeAN1yJOcOs0Lb4LEAXtdgqmUcbCHIxolxrBVO LaiJLjK7dIIUk5XWyZygrz5Lr2NwoeFkAwWjmrS1nXA8olAqiwWpB4RF6pjfndbMw9z+6K AlxgTAVPL5EJlWObCQbJ8cjEloyxN/KMp0p9RzcTBy+N+qSCRg28iU+G+ectguCMNmnHdg GpOsup63xjS0Cl04WlJlvdeFRD0ryh0eKrxCm6/M+5RRyG2ANqxEnqH5ToRKDYI/lvRBLj BxwJroTEJw15oUOwkYVKl7+08sHuhz+eVYCYXUA2oLgtMNHbYN9k6P1yA57bwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765281858; 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=yWfHAvs6xootDni0TyOv2M2VULNGJiE21RiZ1lRNOpI=; b=La16Tj6GByGkmZR1geAmWSTyiSROs2jMR56i373agutPSEm9e+cdrwB499OKZDDwAZLrPw JsVxehlEO0D2DXqGx5h+DUrpfcZ1d1Kb7ppoUu6l1fWOlu1jrBidpv999lErOdgn0ROhHV qlQuAqAsCBvEbCZ5jC7rp/hMoA5CZ+soIAyyt1vS2eponJGazk9J/iXKXQA6Xf47afH07b ZqZnX1xUCYVfWiWq3rcOE13GCDXvjJGeqN0ZTlSH+eaGrgRizXVZEMItm7ha7w2zbKOwuY L4tiW5l0ovsw4lCejHn5sDhYOZQjUmrbduR/JbVnREjyNWw+e6l9J7+oNbn3/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765281858; a=rsa-sha256; cv=none; b=xglSk96tf+htPi7SSTQxJVRf/1vgdCwykaxSff776if37qCD2n6UUDFNXUb46Cf/6ih+38 Jj+G2wHO5JJPzTDfFSCTPDCJ9gq95L9XhmkfLhIh8YcQRSRITVzpZOEVkr4ZbMzO21C0fL IkCdmpFwGds1KFMZ9Qka7uokznHOrUaaYmDEuEc2u4wGrC2zk1U8n00HjC9uHoLqwDm7Hz XBVYLtdKJ7VGRwjO305Gd4NWZKIvbFSv11PFwYbrbMSaXA3ZxAyz+29e7rg5JVX52IKzjF UkbDPzSB61mplRwgCUpRz/FVHUsRjtO+9Uhh97TNQPqQ40PNYjG8c5SQgkKZDQ== 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 4dQcw23qbdzy8P for ; Tue, 09 Dec 2025 12:04:18 +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 5B9C4I6H071805 for ; Tue, 9 Dec 2025 12:04:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9C4I3R071804 for net@FreeBSD.org; Tue, 9 Dec 2025 12:04:18 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 12:04:17 +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: dmitryluhtionov@gmail.com 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=3D291420 --- Comment #11 from Dmitry Lukhtionov --- Problem with UDP goes away, when I set `dev.bge.1.forced_udpcsum=3D1` or `ifconfig epair1a -txcsum` But problem with ICMP, when a machine from jail doesn't see, the interface = on the host machine remains. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 9 13:05:33 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 4dQfGj0mlfz6KbT4 for ; Tue, 09 Dec 2025 13:05:33 +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 4dQfGj00HMz3VCK for ; Tue, 09 Dec 2025 13:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765285533; 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=HwZaB5/hbUqQx5IXou8+jjaiUzdAS+puzVdLl6a2tfs=; b=LDfK7MADlEiidQBO8OyKnB/5DvCmMpw4P6XHO8QzEWqSA/S+wL2+m+VREZh5TSooIhkfv+ VADTwCVsYpeXY+fOEudvCEJJTUcG8WLR3JVa95ZcbgB72ZUv9vxbp8w3DIsSxF8xJjm8nx B4rT242UWBCXJvrb71d+GIZc5+dA/kAPEB1kG9Un50hM6ZBFIuwBjdQ+EzJKFeFLZCVQRP UMYIm+DT+uMMxAdE/img9yrGpJroRrVpBXMooziWF0lr6oT/f3w7zUTjgSVuJl9WekUynM zmshyHdf11k82yfB0912H5k/cFzTAcPqy9Zs5mLbmLukgBGdZgnfUngwbR+i1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765285533; 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=HwZaB5/hbUqQx5IXou8+jjaiUzdAS+puzVdLl6a2tfs=; b=UTD5mKIaC39r91HreTkeiV31ZaBa3pYlns0qzZDPwvqgUUa2MrNyKbi9ClModlt7WbLSFm h62JEELBn7UpSlmFdk6KkCsCjW7L2i50ti59CA7eyeNiEc+2cRHHJK+S64zvxX2gDn04Gl N9tZSi+6px1yVNkB1GPvcfi/9FxPlpePJVg/LMo1pTtHHwjhzO4IP0jGavu5QpS11LR81L LygrzB1m8tmJW8vdNK/x++gWB7wag382KTi/FtMsDLfgJIAkfx61xAVXocqYV7YZ7z5Qou Q8me52oNTT/3KKeIgbZJhwWJX7SgAzVEQS78AeHrzzRwQpJzotMYUtQjXqb7NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765285533; a=rsa-sha256; cv=none; b=MNBwg2VwpIgUnJQrX2a6rANK4+0sfVUT6LF/fGILB+n1XzH5WTPEvy0W014Ldh7evaSfcu cQzQ/Z+Ra60RkdX3VtI500TdPWPIbGCHPwEaPASpWfTVfrq4cutGym5yeUG2EZqSqt77tS n39UxvjcqmJZFfahBwGPOO2R1o/wubtzRsRsfXoR2qWcwglAGZZIealxx3UJ1tJmOl3naE bazcVkiI1RQ42ApUhTmx7iYYIcq0wB1t/Wr/zxeRplzVFb9ERrZeRRkC3CfMPnKundVKIw DsTyg+kjic31i/kzCn5ho2xCUmKgz4api73M40Ilc9l1xdXi2BgO7HKLZ9E6RQ== 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 4dQfGh6ZFTz10TD for ; Tue, 09 Dec 2025 13:05: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 5B9D5Wu5084113 for ; Tue, 9 Dec 2025 13:05:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9D5WN6084112 for net@FreeBSD.org; Tue, 9 Dec 2025 13:05: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 242081] dhclient doesn't exit on link down event, and devd is only configured to start dhclient on link up. Date: Tue, 09 Dec 2025 13:05:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ziaee@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc resolution bug_status 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=3D242081 Alexander Ziaee changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org CC| |ziaee@FreeBSD.org Resolution|--- |Unable to Reproduce Status|New |Closed --- Comment #2 from Alexander Ziaee --- > My experience today with dhclient is ... > $ ifconfig wlan0 down > will cause dhclient to exit. This is my experience too. Please re-open if this is still an issue! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 9 19:30:00 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 4dQppK3TSyz6Jg8c for ; Tue, 09 Dec 2025 19:30:01 +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 4dQppK2m7pz3l0X for ; Tue, 09 Dec 2025 19:30:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308601; 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=svm6FxCu04hKUdfUg2Z+aTWBFOQQDpTFOUToq0Q2PHo=; b=SjwSHjtMi6D5Z3BLFxFdxhWgAMkdePy8nqWgTjOHu4OdNAvIVTm9IA6jntFvtJvckYfgFq BjimOLiYJ3R/KiY8FROMtR32lC/qAR3R1lFtHGIsdvogm06/xRKWdUAqwus/7yRgNNYI2u 0F4eXzd/3ZZ4xmZ8nRqS+YM5kTng3dn6JRLIDe30MQL7LrL1+lS96QOw/jih4hp75Fq8hk yxewLIwpi76HEz8fUvw1yP3aTUDD2RrNDnJvA2fhcXfiYacuuKFBKiRVtjR0DS6gBXkZEu wzQpHs0OeJChSnj/Qm9x0LgeUvop9XTZNSns52qwOPW+UNCN0bs8mr79noQPsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308601; 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=svm6FxCu04hKUdfUg2Z+aTWBFOQQDpTFOUToq0Q2PHo=; b=Pzx1YeZkBkdw11Pl9Fk/QJVJe4RTDedvDrCKxpJYWukdit0wLOyGAiFeG+dhjSQBcyaljT WjOJnbwhHBWMERESH2GsVhvBIKymMAX/8tyyj6EpP0v7wwhutXAaazXKGYf7bxRjQPS8Op 5HCTvxkeKwk8t0CiUiYk47iGpWZgXfTuifSeKPW46vqQeLd9AGboDqDqlP7bxRJflj/d2x 1hy8FO4k/bkZdg5CnmrKHg6NNzdVd7UoN+A0pCE27zbzd+qkEbkxLGBvrApHXVnqxpUJmu YUi4UZqBJ5n02lbaRT+O1puE5MWRmsNhRmCIC0SFo4iVZhTAUYg0tW1gN/FE8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765308601; a=rsa-sha256; cv=none; b=n7l4jAX4zncjLKhGIeIA1uJiNv8DBSVxoLJi+AV+pNn93Z5s8pY8w580Xqrfx5RbuYcv6f /EwPWrbXlIZwVtG3KOXTRdga9Zg233Lb3l2hmBsxookU3s9QXX0vXonPRIEEmhAf7h4R+v 8krw+qKrYNYqAtvctgUmqAf72d28uMOQvEofeJ5NGxM9ldToNL9gmfLM+Ud6IUYZluOyUr fbsr1p4aTzb4aKSnFYZJ3RO4Ou9VzxC8YHve94xGhV49lH88h+HRMZuZx7EFTliliRlSyC QGjC/se/8vsdJXBS37S7M2uFU0qZV6IPScc/KZ4DMqjaFE2QdO8NTgXWT9zFog== 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 4dQppK29q1z1BVl for ; Tue, 09 Dec 2025 19:30:01 +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 5B9JU14t008582 for ; Tue, 9 Dec 2025 19:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9JU1TM008581 for net@FreeBSD.org; Tue, 9 Dec 2025 19:30:01 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 19:30:00 +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: tuexen@freebsd.org 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=3D291420 --- Comment #12 from Michael Tuexen --- (In reply to Dmitry Lukhtionov from comment #11) Timo was able to reproduce the problem. The checksum problem is specific to bge devices and the root cause is understood. We are still contemplating how to deal with it. Most likely, we will disable txcsum per default for epair. A longer term fix will improve t= he bridge device to handle checksum offloading. I think that the ICMP problem is not related to this. When Timo configured = the IP address not on the bge member of the bridge, but on the bridge itself, it worked. Can you double check? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 9 19:30:47 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 4dQpqD2M70z6Jg8f for ; Tue, 09 Dec 2025 19:30:48 +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 4dQpqD1s1fz3lhS for ; Tue, 09 Dec 2025 19:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308648; 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=bW3+CL8ExNtRSJnnVL5j/81UrFbr1ylBI7xd2npZEwE=; b=Uqq5g6u70XrObI9FyDFBJILhxGHG+HP18c/pBrpPCRsjh8Sh45zToir3gaGbBVPU6zHp0E eqa81Mip6oS7D1R0ZGeYMVW7IUSamDuqOfJtFISzwLCXuk5RzzEeNhcWJ0lNiQbhyxyDMX nLOB7umNCIAzTavOHVAcjRXjQ9LyHDHqIsDGAvi811tyMgZuljkup87l2v/TTlw7HUCVqI oOphxsvaZW0SK1wphsS0KG3q+qcpN34/Igl3lGyIuEMChHXTU8VSXpyYCHJFuzk97WJBvK +ywQNBm3USsKtjPuJjJzs1jSlmNFIUwWgiR0n9v0Gqw8HUSRz/ARfTG4Nrnv0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308648; 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=bW3+CL8ExNtRSJnnVL5j/81UrFbr1ylBI7xd2npZEwE=; b=OQWJDwkIv1S8Hbb87iGxr3orA7ePbXJGRbmqIsZ5/lXEjQ/HlJX8ZI5cbobp88vdn+tJU8 Z05ut3FabfSXVunKpC/TfqXiwZyXgctoiX07T7UDNE+0JjAKmlg0TBRyp8g8mXcRxqukLe H8wQvPxQ4+Z7bPQjD/PnKSY9QRTrR9vZjTgxdcRRau1Q9GP2Ux/GiWyWci6omr4VDjecHq 9Wh0SXrh6YDcetpyH0BYy71Z5M/AWsVwlTbLiyhJSp9Mq2FiP92PBUqIrmwy8DQ+MI1HUe rxIF9IKZ42I2aPTW89taStgVkjF+QRt1GDsFbe0605IV4ag+5kRrqkRuaua1lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765308648; a=rsa-sha256; cv=none; b=RmfVidDna+CFJi0A5tJ3omIvmrdEjQK031zIb4MX0cNy3bssY//Z5MlnmsBKVzEcmaRtJo 9cGph+pzu/vSUe/mMeU2vkD2N1kxekDfqijqBKEeCZ+Q+8rUgICh000JJJsJ+aJWLlYB9p DoDjILxRpOMKsAxi5YxYSeMtC5qc7jJ1RJbvEMb7yihw9dN+PVdcEF6rXgOcesdKX0AeHJ 5klwldAeLhOFlYOKl+4ChiGSQ9MG5cUuexEJj4PR+CsIIOf6nmdJe3bXHpLkv3ai/bp9BK Sl8k7khXtjlcc3Zb43p0dtgGQEItSA/rTfz3i2GMMEYQdMYojSd29fg0r3NAkg== 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 4dQpqD1SSjz1BYp for ; Tue, 09 Dec 2025 19:30:48 +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 5B9JUm51011158 for ; Tue, 9 Dec 2025 19:30:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9JUmQU011157 for net@FreeBSD.org; Tue, 9 Dec 2025 19:30:48 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 19:30:47 +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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status 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=3D291420 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |tuexen@freebsd.org Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 9 19:31:14 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 4dQpqk27R7z6Jg3w for ; Tue, 09 Dec 2025 19:31:14 +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 4dQpqk0xbJz3mHc for ; Tue, 09 Dec 2025 19:31:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308674; 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=IXD7qql1LUyFYzVoMKoyHfv9OD9iybjozm/v3sYHHq4=; b=N4Ai0QfrzZRSvcF4DFq5toZqh5aCIBH0m/ifKiRQ7hxUGOoqHJ5bXUdzrpAp3UPwwQHCkd dFdklRmTZEGFg5IlP56GQorLoZtNlGef8hNBON7uo+T+vJbQev3MVmuPS1ejVOPY5zAaLh Cubds3ovwJCCQ6+WHzlBdtBA962FeDEzNozrQvIc1Ca9EXNHBZt7idjDasANZxJJqMQnPM LbHwyPtjljEYMrAqtgWbb7S4qpvyF7BYM36EHbTQIzcOqPCYWvSd/IefcsMmQANuFsEWM5 bY3ciSfx4YC6u0DJPM5j4bSLS0Cp8tcpoFUeDAyzQEvULF9q6dwZP9bzsuii9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308674; 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=IXD7qql1LUyFYzVoMKoyHfv9OD9iybjozm/v3sYHHq4=; b=qyViiSiiJBXspme8yrpFZmnuS/KBUWYBNlykaK5l9hiWvHbyoUlgQvgn3OoSjSpX93pp91 EowiZKgTJVKeqYZojEDJ3+sNT/l+Je50ndf2rCL0STK+ok2CyEKGdgj2Qv/R28gQK7hCHS 9uvrAuR6YVlIV+tVQk2ktoDhmVWiPSB3OmU70yu3/XNft/+Tg9ViDnJXjHFGVbH/wA1SKm m4iqHCMClEHvOnOi9YSSI2E/7Rpiis2IE1q9/Ivz02OPDcBGvOyymSXRTMDNBSDKwsA7V1 m+Py48IbVYJiQ1aqVkFLxeUTveRB3moS5JWRXPGgQPfDc/rvJF4K+cIj1bE7Vg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765308674; a=rsa-sha256; cv=none; b=LlfdpPnuX9KaIFrBo51NTdWfoiixsSoMh8Illsas8psZ88ylMrKQ4/zUJeQT4gMFBysiLR GymEKZvWGx1n1GPW5MEqkvUlhwHNzA6haMsbOM3ap2KBXPx5bBlj4QAErhcmMvSV5TRiuw PGn/s2CQT8WiiSHeWvhtCiJHNUOBwkfTQKEQ9EfC59/XUSwT7GdEwzLSWKvhwB8JmdESha Q8eFL0CJNchEuq8Zeb1aF+NF8sLMhvMEB/zCDViMVVtO3RAuK3qSkcda9I2P8mjGb4jb4Z 0YUor6HHdE7jm5sdwlHlKwrsa4YRT3LxPYusFL1JnfXrQONxS6vNBy/8xCiP8A== 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 4dQpqk0YP5z1BcL for ; Tue, 09 Dec 2025 19:31:14 +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 5B9JVDot011689 for ; Tue, 9 Dec 2025 19:31:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9JVD7p011688 for net@FreeBSD.org; Tue, 9 Dec 2025 19:31:13 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 19:31:14 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Dec 9 19:36:38 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 4dQpxy6My3z6Jgqp for ; Tue, 09 Dec 2025 19:36:38 +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 4dQpxy5n74z3n7H for ; Tue, 09 Dec 2025 19:36:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308998; 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=DvmC2s50gXjNiLF1l1z5sownHinRW7p6lwkhAc/PHcU=; b=BCzK54YAMpt7//wtZ2MWj060Efqz5rfvTEgQi+auTCOR1UhhK9KNfJ/keXrvtgYhQ/8v3z BNmyBpqv1zlJrutS9j69orPOe0Q4LWOIJlahVBygJdNKfPP+sI79ruY+iEvdCFNDMZDoas /ncpnUFPzrtoiGOJqd6IfIFDsqhOuDG26xO4BDK2/6m6qNn6BCSYEW99Zo4FLWXq6LAkOI F1bhSTmm+Vqk67nTfivmBf1YoZyCZmOIB9lTB4piHE+nxdsY0uIOgT0blN24YI3wH0Nh6s unXk3F1FD8qIbelLHbSOeq1TYsjeMgz/QprfTU3UbCxtcka5ueicNHUatIub3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765308998; 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=DvmC2s50gXjNiLF1l1z5sownHinRW7p6lwkhAc/PHcU=; b=WrFtDmdDUsaWvD5a+jB4Ppo3zXuPoMOWVSJW9ZWgJPo3wuP7IeSuNAv9FjmVnHsFhHDZf1 UZG5VBDRhDozhN0IbE3B+GwgRXGYplCCfGs0/oFqeCNOIc3yeDZvRhz2dTLxH5K55JWM6E korpZIXMBx80GOf2UzMBveXGULK5Gc9V/bPDx5ECN8RRbXJP/QZkfBaqK9oPs1BqVfuNKY 8iBmJ1+gaH/xq7/NqHYzCwb9o7h4hOsVmueS6199OT4nlgiGHCKWSmRi9M69Ib9Sj2utHs RbXe3jreortBgLEKYY+nitLTnKObSjsyfnYU1TvVrhI3jnCq+S2+3TYamei3NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765308998; a=rsa-sha256; cv=none; b=nzLk8eqY7DeFaREVe03KuaR5/oWT6LlHxR2TjZ1Z7Q8G+Y09LncAZVYABkSmxU0SlZuFIY T+KVZ8OzzRQ2IZPHuurkrqDQL1htQVfL4g6PJCEB3hkClzfcjmgKWWS/jJ0uCkwgHtaFcd kpOJE0VQ0BkvtyV+hJHgJiv0Oj6J3ppCf2fidIxkbPx+KdzrzYgrmSGECm+ev4hjCTAXNP +L6pw2es8QdQGXICKh0XiLUbIxBN+H3jaQLF8OcIxNjPTVjW7kNmhQ99CpzWDK4g5ImGAi 2KIQrmnEMnYEg3sQckXJ90xZpeZ0I+xeqL1d4i7CvFUPYcsz2/KZBXh2D5IHCw== 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 4dQpxy5Nvxz1BZB for ; Tue, 09 Dec 2025 19:36:38 +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 5B9Jac63023404 for ; Tue, 9 Dec 2025 19:36:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9JacPg023403 for net@FreeBSD.org; Tue, 9 Dec 2025 19:36:38 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 19:36:38 +0000 X-Bugzilla-Reason: CC 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: vova@zote.me X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #13 from vova@zote.me --- (In reply to Michael Tuexen from comment #12) by the way, what is the concept of checksum offloading for pure virtual epa= ir interface to hardware device bde, which has no direct relation with epair interface? bde is used just as "checksum co-processor"? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Dec 9 19:47:51 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 4dQqBv35GCz6JhkX for ; Tue, 09 Dec 2025 19:47:51 +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 4dQqBv2Bx9z3qcw for ; Tue, 09 Dec 2025 19:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765309671; 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=5GPFFn1CzspxONy7nQ3MIFEt8MrDyxlx/lgYzJ7S9MA=; b=ZoU9DZH+2YEXQASIgfPW7jbz46fQGgLr5N0GroPytMzbfl6GYNJjDrh/4VpzxKxNMGCEkM wQXbnH3f2NgEZvkBMyURpydEkmz70rwVAmfRlCLYyJJ975k1KUvqUIKKqPMkAFWPdIPRD2 PPlDlNfLmjaYxmBTGQDma51TGOv+odpOuV3vKz9D4HfAx5iYV8cgT3GHaaCazOpmerEQ5a b0U10QMPuXDYKYOWA2mWg5rH+6LUfrTbXGqDIh/OkHgRi3r74S1lcjjAkPTbD6097F7L8k ihJWC/ZlT9U5fd+SAC73a8UBkwkz078QG9ekx4rQci1mWoEzk11ueyH5JkLP7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765309671; 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=5GPFFn1CzspxONy7nQ3MIFEt8MrDyxlx/lgYzJ7S9MA=; b=LRwtB+rC0STURPK6dRzIrEhqK+V7YA7Qlhqu6raerfh8dVYMtQG/VHo5zZq4B6gGAFmNIE LDMqQjQjO0Fmv+QJ9SyhjdHmODiLcY9r5BAzeX3mVXw+vnl8TtNx2LrvIfLOVdv5UehKhZ UsJSfwjcshmKiPEf3BdsQ7Psg//DIGLVMwUsVWY5np8dgECGyxWwVDOXY93QlwzEeORGzD zCU6OQzaYshNU8ipqH6K67cDc0bBpGbAknbXT/7v/zjAO3O0Pk7f+mHp4HY+HhsJw97non UC+CaYMdtFOCtFJfRweJWOjIuQP+xZJtP4+G+sKYmCztVtjphiakwStRwlExXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765309671; a=rsa-sha256; cv=none; b=p1cL2n/acbll1Xf93BXb7xpJ7FAAAEjNYLtT0a+vr74FlzKtJ6MzqOIXSa089Mzw7VxfBz Lx/WC4ZvqKXV5mVN3Q4qfjvG9Xn0pTg13jr22qaAsLysshJJpNRCRNVoaE/kQYXVPwxYq4 kJ4UlzDcGzTVyzqhKnkpZueVPMIVO8yairvv8MOTEPHC9LsKMhJ69MSYKb/WlU40mSZ9KJ h27IyN962l3o5a++8VGv/7zjpxZyXMaH836x2PUEv/hDot9GxUW2BQB0kDcHS09MFk6oyt 1GgJHaP799I/F1CAUlM3xX/E774oCK4UlZyN6Dw8aODcXGzOV/2bJ+GX8MeqEw== 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 4dQqBv1b6Fz1C1D for ; Tue, 09 Dec 2025 19:47:51 +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 5B9JlpT9042984 for ; Tue, 9 Dec 2025 19:47:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9JlpTR042982 for net@FreeBSD.org; Tue, 9 Dec 2025 19:47:51 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 291527] pf: NAT64 af-to generates garbage ICMP error packet when TTL exceeded Date: Tue, 09 Dec 2025 19:47:51 +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: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ivy@FreeBSD.org 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 assigned_to 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=3D291527 ivy@FreeBSD.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 9 21:11:26 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 4dQs3L684hz6JqF5 for ; Tue, 09 Dec 2025 21:11:26 +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 4dQs3L46wgz4DMd for ; Tue, 09 Dec 2025 21:11:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765314686; 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=bIiq4pB98QuzRewWOLERItOuUW6sq2dUmhAE5LQw6Y8=; b=ora5BgD8VMn9iZGwOLrrP9tA2O1OWbFMSX6zfj2pZdpp8kmhRyJnnd60kIQ7XeX9e3bU1c ZR9fX1nBoCz3DDsvOd7W0eiwvCAxEa0KE6edIvZTir3EurNSBUGrC97Sj+YQEIUUcDopkg CLv7iHbboX2JRkJLpaL61GBloMN55Kb3j72JuUfJQCubb01FyJW0tMSRiVHG56Taj72345 qRroTqSjhfsTqLjgTkPolo4jdTNjKHF02xA2ZJvZd4bY03EFH7gDmRm8FKZ4mSWCTOmOYw hM2/lrz2OAwvbvutHS15LpbQttrVQd5WBJ/wKXvlzT6LSmz3HW3EK98vTluMgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765314686; 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=bIiq4pB98QuzRewWOLERItOuUW6sq2dUmhAE5LQw6Y8=; b=kQMlxZBR72hTmTtr35QJ5Ll8vdOOVrJCMqk2q7gI2IkkvIQq9TL/AnoB3tj1vm/6p3D7pd 4F4yNmZanA6WHaOujY1ey17nDtk8cmA63qw7G+Ujtl0LUq6xnrdzjih/m0RjzwPmThvo6x /3Ki9r5h7xZodkunlV4Yg55o2yYR1RnDr0jBULk+FYQ5aM7VvetU+EIU4q4qnBVxyQErfo wdUTR+fHwtY3sJHjD96lJj/6OpWBadbeLNhweaAcj1kjXpjDAJJY6riYFhqVUGVFjktUjV JkPPiBlT8EvzRFtKULpkNEsIIxJvWf+QSUIWwcS1x3H7V0UrSbX1CidcWG7n8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765314686; a=rsa-sha256; cv=none; b=aKHFu/UU7oA1aww/ghufy8qrINLFLbEmfZtKhI5I15XASBqbnmGbp5E69gwSRyHC5Jk+rw I+43pJfR+RxdI48YsEuTiO+7DKagcROZcRbjI+gpdsNkJLE0rk9PSleUl9LM1T5I3IdDF+ OV0FntedaguxGMEiDbVoJzTpD23oc8IvmoG9m6cDBJ7awO0J+AYKpoJddQVYrdqADbdh7E wIPNeLDD15x1QDIGKl193/76Jc+oH0/C0j6cKbQ5v/pdrPFy0yUTnhM/5IssbL/xIpvURK n4yVXN2f3y6mb94E3bmXtuJE4wgOiOI8YHrfEtOQyvvLKXrCEuT2Fah0pa+gGg== 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 4dQs3L3CkVz18p for ; Tue, 09 Dec 2025 21:11:26 +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 5B9LBQlf015036 for ; Tue, 9 Dec 2025 21:11:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9LBQpA015035 for net@FreeBSD.org; Tue, 9 Dec 2025 21:11:26 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 21:11:26 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #14 from Michael Tuexen --- (In reply to vova from comment #13) Yes, the idea is that the computation is delayed until the packet is sent o= n a physical NIC and then make use of the NIC capabilities, if possible. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Dec 9 22:38:51 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 4dQv0D4Lk1z6JxHR for ; Tue, 09 Dec 2025 22:38:52 +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 4dQv0D2ZrNz4L8G for ; Tue, 09 Dec 2025 22:38:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765319932; 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=/5C7jQWjGK35C2C4lq70ayXcDh0O8JOs2dspfjnTv8Y=; b=GTroB61iJrW5+0T3uFOvpp6BNmnd4AtxqYSIaJkdv4K1ohI1/Z5HrHsSHymTOYzLDjDYVI lLUYXPiZt4+jNxTJdvqVEDN9zHBJ6onlgz9tgPqB2FEpr7hygcoVrcpDZxjuPdIOx+qVut jD2Q3EjF5Yn5VTV6z/d7aYuYUvd9pdUoZqWtI8ITRhe2k7AYetSwZ9nMl/9UIsN6I7Bqkz mWiA9aMVmyID9Dvc1n8DjjkPmsyqGmjysp8xQYquhEqxfqXNM1meLHHlw8VJb/zcLYzypk vcMX7PluCosWHtGYU2flLKPKzEfcAMqEwQ6DVTq+UZv9ybQWXbRUrMgELo14xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765319932; 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=/5C7jQWjGK35C2C4lq70ayXcDh0O8JOs2dspfjnTv8Y=; b=xllmUMv2PdyIbAVlronnyUWwUaRt2mXk6wSfrKqSg9AJ3zjVOjTLvL7L8txla87MRXHn1l C/nZ+5dlJEgr9+jy7m2siltU/w74LAXJE5YbgkDfYoaZJg8YBmiar9b9ofYc75jal/IiTm He33nMea7drqVZbFcQIhEhK0uO/ZlEQE0tZypI3cLU+nDYSf4/ssc+O1v9E6fF4rzQB8ry EWlYJ+45PtQOYo9An+DOoe3LH7exzOJOolz0yj+ytJcuXXji2sy8IhJWxGnNvNq1YYZ/re HTy6Et0mFDmPwrZ6BoEmWSODn0WLcG3/VwwaPqRNp5QLfT4WvfX+gJVrjsShRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765319932; a=rsa-sha256; cv=none; b=N+DBO/oU6hFsHvNP0VcaRY4kJalXqfahc01X0uP5tbDQ/ecEcnA+MjHrlq3nk8z/KUpTzY P7qYcpa2c5gyoNSwwr/XLuEaySlzyh9BwYUlDHoTWu2+a1vHUOlTTykcWr4IScL/AtrO+A +T0gVTqWiaOwpF2serSt+JTFvVpz4coIXNqNhPabjBh2p1R+zG51yNM4LHboQI4eemlP8a LHTZTxLMoQojJJ2dSe0LDYEeo+vNHjMuspLQ8YL3rVzYY3Dw10SYO9uW7N5LZUT8jqNXaN dFj8N5o8Gd+StbgRDIkgDXcqdNYIfz/bPqpbuk+T2K18DAynuc7ZPtzaEj8MEw== 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 4dQv0D1zZTz36R for ; Tue, 09 Dec 2025 22:38:52 +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 5B9Mcq0a075176 for ; Tue, 9 Dec 2025 22:38:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B9McqRZ075175 for net@FreeBSD.org; Tue, 9 Dec 2025 22:38:52 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Tue, 09 Dec 2025 22:38:51 +0000 X-Bugzilla-Reason: CC 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: vova@zote.me X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #15 from vova@zote.me --- (In reply to Michael Tuexen from comment #14) so, if tcpdump on traffic after passing epair and before packets out via physical interface there will be no correct checksums? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 06:32:22 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 4dR5VY6S5Mz6K2gm for ; Wed, 10 Dec 2025 06:32:21 +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 4dR5VY5vY0z3vWv for ; Wed, 10 Dec 2025 06:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765348341; 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=ExT6fs5jMgQr1laC6ccQPXdtPRoMfwdEK8WVJKJb4qE=; b=yYitVQNbzRYPGnY3+GR1fvcBRsxhb34p5ZGjcVrN4ou25qMh3Bd9qkzlIZ3MPXcC/mqaGG /YckqR0blrswp6RCSm58gfhkC0tOfcb6aU2TzpSIans9ybuRPrMnoEB+1iJFloRjhdOZlY 5liGu3DuzsMl2mhPwZu7DDp7jCD6pJ1bHAYhVIgKxFl4Hre1dunM5Mn2m4XvE3degSh0hN fBcBGGTZGajL1oEwVBeHho+VhSqoG9eNopdR0wncA59x0BV1PZhbDyLSmAM+vi+Q1pkBGQ VTx7622LEv4tKhFn7VsHOSLTna5zs9dFLQoCo+tpCHNesW6L00lQOdb4fgkwxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765348341; 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=ExT6fs5jMgQr1laC6ccQPXdtPRoMfwdEK8WVJKJb4qE=; b=qtlznEjnxJxmLAhMeLildpgzzJlDuk8R/Js52bAHtqUuTtErini0KQNvt3VYdAzaWY4WuG yFWdm29isk04LO0cGUfG+TG5xJ83H0Ca75yrdiysb/Px7QNO0UGQ9H6BlQ7AOXDUFQB1QI iPopb1pQb7F1V7lpTE9OpRFUGZGVwqkqK0fAFy+91xN9bJ7vXqwS6vQxZGmp0MwYQg7X/3 speI+Ar+IF2H0AdKzl1ups0bmbNUiwfvL/Dz5bMCyUH8nsecZAnJ6I7+izVfz+vrKIbHFu F/9p30Ft24koEJ8ZZ0IZqiIYyG18YmekXBMAYFbO2dkFXhnx+MiJu7LFcBpw0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765348341; a=rsa-sha256; cv=none; b=RxDqrAJA2SY/1rEJaKzFK6+jlGTNZzBaoZgU+Zdfg9lEsge1hx2CN4Fs9c31Zh71cWgyFt BuLhCrHjtoLjjp1sf41c5Sx1VL37IEOXrzfxU28vYP5+PYw3BL/bha9L96nJ2Q3VjqBqUN W15vEFeONv07w9DD9K6DBVafQJjd5KhsAKeYFknwND+bOvGKG/JUHUfV27uzmsxmQD4LBl JoVyi0CcK+pCE01vgmVZZe/EhkB/v80/OG8/7l7eAd2hY2kl/nhZkjHjRR8NpE0lvVNFnq eft1XBMJFxsK4k12KhcI+PzazZfakpeieVG9Er3l/bBDXNxoMQ4RwQ9m3kGxFQ== 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 4dR5VY5DbNzZhw for ; Wed, 10 Dec 2025 06:32:21 +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 5BA6WLaj042694 for ; Wed, 10 Dec 2025 06:32:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BA6WLbi042691 for net@FreeBSD.org; Wed, 10 Dec 2025 06:32:21 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 10 Dec 2025 06:32:22 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #16 from Michael Tuexen --- (In reply to vova from comment #15) Correct. Even if you capture outgoing traffic on the bge interface. This is always the case: If you capture an outgoing packet with delayed checksum, t= he checksum will not contain the correct checksum, but only the header checksu= m. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 07:09:56 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 4dR6Kw6t0mz6K5Hf for ; Wed, 10 Dec 2025 07:09:56 +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 4dR6Kw4Jskz43Lx for ; Wed, 10 Dec 2025 07:09:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765350596; 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=uG65uW+g4ZNKL5zX6C55zGlYb25CDYVJisAAjM2MlEc=; b=KBu6jIGORqNoZ3mCLcG32JNIz77i7GzguTmBZ7J/uBtVEX/6A9QWMPrUuJgcNwxp+Gi7hQ 6rqrhPm5JZ/aaE+csoVnMUuDbIUGfv4/IaXCgeBTl7Rr6SpFdt27CyucPX9ze3XVCj1y+X BquixitmHI1C3xbNX2GEVUwKUmnweoijGykcQdyhWCJBsny7p0mqasM3/zzJsXlpXTPxx1 3/iEzVInDcOLOe9ByBAWYO36KZE/mngx6uDu05E3MWRZIp3BmYRJzWKiX3OE86cmfwsUt9 CXLlDTLkYDErPPMN498mF/A9Gqcwx+m8hDELsmVAqVnAbkFEZZ0rxphkzXZ4fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765350596; 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=uG65uW+g4ZNKL5zX6C55zGlYb25CDYVJisAAjM2MlEc=; b=tN1ZLOmHg3zt3mNU2ujN9OXa4ZblUgxpf+V9C2fVP00buO1DcU2dI6+KW3uP4bKPvDJ8BQ IOHPlFfYZ5sx2OPxINMDPnTQzycUSGkzBTFfy4B/8uK2Yk8bBplJOIkUW0i5wEvj4papjR +bgxYTJlCIGP78mxxkHktlOs20bpRYRZN1WK1LBVAzE7EZR+Ne1NAxSJ2nnW8alxVDllos zniqB5hBSeQSKYwuOUkzpeZyrpiS3CyO/sTe4D6XnlW2MaZepdnrU/NoencxeqVLBKogZh dEc5jgywvdlyt3GrUNn/XTIWdmLAo8OSIJFBc1GShBNuhvlfhbCW/yRZCHJlYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765350596; a=rsa-sha256; cv=none; b=IlbAgp0cz+wIEl3QjK9x0wfgvVZXqgwkfK1CWD2IaR2ARbD8q8X0OwAy1KnxZ3lZnuPi4u 07m828f9C3IttYQ8WI1erYjs0KXAfBVEzK+MA41Ke6j0OVZ/fJ87rNfutkEuvIUzOhTkxS S61Jw0UNBe45ezqsRxV22L6yLef8nk1XlwIMXECG9xFbmfUR1eDsnk46DhPMXwIlc20AiW 1vj1WrX9xunoK0Aa7irNApSdUySq0I9fojyRarR8RpOxBAw9CULoMExKYOu/m4QlNTiR7C FvD62nS1LGsDQ68z2Z8Yd5eZpqpJpXrvsOGnJvAq14nc03GOvk9T7XRtH5jNAg== 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 4dR6Kw3gW0zb6t for ; Wed, 10 Dec 2025 07:09:56 +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 5BA79ucm001575 for ; Wed, 10 Dec 2025 07:09:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BA79uQQ001574 for net@FreeBSD.org; Wed, 10 Dec 2025 07:09:56 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 291527] pf: NAT64 af-to generates garbage ICMP error packet when TTL exceeded Date: Wed, 10 Dec 2025 07:09:56 +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: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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=3D291527 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |pf@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 09:02:52 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 4dR8rF2v0tz6KF3Z for ; Wed, 10 Dec 2025 09:02:53 +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 4dR8rF2FTMz3Rrw for ; Wed, 10 Dec 2025 09:02:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765357373; 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=TdyIcA9rDnTaBjAsok6B6/JRPkWWOev2uAucxW1nJ3U=; b=xjoaSXcDomhEt1yfVmJv+UPeTOllQmligz7yRPtua/f9afxDlyZ3sUlZfMAoyCSp24CtEy /GOufdDNP1ZWDi5OZD8bXFOH4oMt1D5eT06Q5kgeK/CFkTrN3yLEiTImrzbNhCEGZcStSd BDHRjGyMr0RR6PJzB0CKyvKohzzDrnLDciPsP44A0uQPihkUXfNa/czdS0VS2AKCwoE+De DaFCvquYzLUAywZmBL27CcN0gJ3rjP6fE8saqu2MuFKQtv6MquXLiYQnuw5L5hMIxjrsFX pnl2pfc6iyJQpDq9IbX0kQPNM/e8kCprp0OAwLFMrlzdaJzntpxVOJaboXT+HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765357373; 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=TdyIcA9rDnTaBjAsok6B6/JRPkWWOev2uAucxW1nJ3U=; b=j52koO65ncyDH/LU014sQ5+kaKSdJ+p9b8776TJ+frh73/4UH9P4nO9VlL3flDnKlu6OmX D1a68/9VKYtXV6BwfkgKGhjXMzHVATaa8E+KjwEmkHbIrs3hmcZEqxWhGbIKBmcjmeVVBo VBG19LUQrdTCV/u2E1D53QNQAjBXbJiiSeVk7eW/mJ5dPGIkdu9JJuZ5KGau/ktXKf7yaL 3vxPxt/A2Wo0kP7qWwJlhCnYtqU2xYP5J3MqyXiqCdT3linIWjih3UFg/2KLpMf7ZtyZGy Zx8DsKzmHT+D8x6aSsXgUp+Rmw1z4jMZiwzNg4vlukqCVMCyZhQ2GgyWmH+FZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765357373; a=rsa-sha256; cv=none; b=W41FdkU0fHEpvCMre7B0e5mS4X7ojlYys81SKQ9TGYl5AEIQlQv9SPQ30KVu0ziqz6W7HD ybApJCoJoHjM0ZThrJ6/swBGiwRgRgq79b9AURUvAWqVM2tqhXNgIGdOw2j1gnIi4SoRiE WjGat9Nf/dyyoUBt0bD0X1md6hhxkpY/M8zDr2ajdMZcJxnnKkPTeAvZ/HZ8MPpoDamAOX mTte74M5XEYckkWAquUje1Warey2y3HszoTUaRYDk2ivPxyDk0ynxYr/dIuniBAoERW237 fGIYIuFjNjq5D8nQPJ2FnXG3GbxQ44/2bzloqE/0foByxENUIkHRuP5+Bs2JiA== 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 4dR8rF1Xs0zfgZ for ; Wed, 10 Dec 2025 09:02:53 +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 5BA92rZP003563 for ; Wed, 10 Dec 2025 09:02:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BA92rXZ003562 for net@FreeBSD.org; Wed, 10 Dec 2025 09:02:53 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 10 Dec 2025 09:02:52 +0000 X-Bugzilla-Reason: CC 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: vova@zote.me X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #17 from vova@zote.me --- (In reply to Michael Tuexen from comment #16) aha,=20 what if system has multiple exit interfaces and some of them have no offloading? what if system has virtual exit interfaces (like tunnels)? all these cases are up to adminstrator or kernel should always calculate checksum on exit via non-local interfaces if it was delayed? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 11:47:23 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 4dRDV451lwz6KRXK for ; Wed, 10 Dec 2025 11:47:24 +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 4dRDV44LB7z3rMm for ; Wed, 10 Dec 2025 11:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765367244; 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=WmKoPQiF2RyAXTwuMvG+oxCnKLtXKyh7g/n/QBmc+uY=; b=EHvnUMWaSNQ8F0XoyRWISwYlLlm60MzkDLHLupytfbCXpj/aU4tcR9QgkfmEXPHrYQpWHT YVSWNiJ/Gu+X86F61HUYBHHog6DbulpdonHNX59kwvfLv7McgK31gpCmdsy8vivqjbBQpv C0ANC/byMwaIlOj68Zde1w07KLnUIKCOY3Q3CJ4bUkK63EdT/imgyre+BqOkVPRHrqO09E MEYE+VnyikcMtZpL6926cRVhePnzKufkneSHE1NQDmLaQb6Pj1OCCVbfbAun0QDRvLdhkv Eb59MKB6boHK4egARZxmlghqO4xTvQ0zw5aEyh0Wije1JmKOCqroqDv4Zwgcgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765367244; 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=WmKoPQiF2RyAXTwuMvG+oxCnKLtXKyh7g/n/QBmc+uY=; b=tAp3pjedC2SGa2yIK1+P9xNAWc/aJRpWyskAGquPGY6rCZDI3ic/a93gjl67qdLCRoUer9 BBACEbxys8iOQn8GjUfv/WkIRebF3A0Rg50xw81YPHFbkU61okA9XN3EFWCk474rECehng Prxmzp7bP542IcSRYBjs6f+JkiVARMIVSh9hcOKERkuYDUDgdxvhanlp5AEmbR5ZrH4a9H Cdgh+lQwpn4kYipHeX5ewLLWA0mhsOc+jsJNYVehaY3y9yoinYBJ87H+sc7hjZA1e7XJKP Syksb0w+g18bFlShyx/dtsGKjgq0wUSYTpU/FePeLVHhZqMUKdsnJVYNmxR9Aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765367244; a=rsa-sha256; cv=none; b=R0WVIRoA0Hl6jXJXWCyYAODI/4VDEkTSHbEeQRSM9iDCh9G7MwgMOxepEuYcqR/NEnyWdF 00dtQ4vvZWK5FuxiPzY2MNUJQX9hPM5UbBnjx7C1FkaZG/S+DkebrO8in46LcrKCwALIMc 57g1MiVvG1AIu4x6tWQkoUPiToGJJqH6apu1NLRfB6azZNWQhXajiwy0OtqiCFV1+hYxOt Q5bSesSTOit7LniefNaBg9/PlnEmSDmnA4SdHwym5AueXwkKOkYlQtF4Q28ouik/RoFcDH H/RIx8FhiB5BA1rybqNG1SePo4DdNDkRj02N/Sie20uRRVfLNlpCp+rz3w3Kzw== 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 4dRDV43sqtzk1G for ; Wed, 10 Dec 2025 11:47:24 +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 5BABlOnF095485 for ; Wed, 10 Dec 2025 11:47:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BABlOp0095484 for net@FreeBSD.org; Wed, 10 Dec 2025 11:47:24 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 10 Dec 2025 11:47:23 +0000 X-Bugzilla-Reason: CC 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: afedorov@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afedorov@FreeBSD.org --- Comment #18 from Aleksandr Fedorov --- (In reply to vova from comment #17) > what if system has multiple exit interfaces and some of them have no offl= oading? There's no problem here. If the interface doesn't support offloading, you n= eed to calculate checksums. Just like in Linux. Check the flags in mbuf and if_hwassist; if anything doesn't match, calcula= te it software-based. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 13:44:25 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 4dRH552xRvz6Kb3N for ; Wed, 10 Dec 2025 13:44:25 +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 4dRH551DLxz45ht for ; Wed, 10 Dec 2025 13:44:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765374265; 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=1g15vLv+E10YSBTI7nthS0ieBAU7d6mhYVQYD1emMI0=; b=d5yYma21XDwcgXk/G0k1Q5Vs32vlV7O+SbZ1W3hb3iPn+tRhq73VTgpLkxUtvBjRSwiWGk vxrp9lEKGNKOjIiHJHI1/0sm0TtTzs5/AWfHBD9DmUmWfPgG52kFZ3r9DmOeZCFXhb1Swu UEBSb00++pfONwkLbxrjnNRT3fq5KO6O3q+fyi7ZGCsWZ7nlL4BTrzLLCoLtokK/R0RuXi s6sQnsl8vU3AMdnibv8vgICgs9duW3kyoer2Gmtj+sLM9kbr7wBYJOptnD9KmRScu3Z97+ pcOa9CKEoiWB3BR3wbPFg1eTFAAiDv1J+WfMDKrwthfj0rB6jJfFax4xhWnUMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765374265; 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=1g15vLv+E10YSBTI7nthS0ieBAU7d6mhYVQYD1emMI0=; b=GJWjfSAeGhoSms5WLipuujUzgPKwKCECo3O1KA+2z5vBI0wgzVz4mYHdvEbGZ3ZPYWRrvd lYVQLDB+BuXc7c8Km4tpkRypByaKXzEKcx5ardVlXKzAzcqH1OWw7YpARYAsE41MhcwL31 ADFQWQ/DVi5wxw9NWqO4oNKvHkxjacomjeCzF7JiREKE/Vl8SYBPB6p0gw+xn9HMkLL1/u Fk+INqyA2uPCO6qTWVFZLJIvTBo+RVmui44wjdFTJW8+CPITHKTU3GtkTi2Isv+bSu3j+6 OijeEE8apAokAproGQdgvKEyUP3KxIbDgKswZe1dtJ5iI0TrNw7W01QQNTp0iw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765374265; a=rsa-sha256; cv=none; b=IV0cotNi3+1og0W30aBT6BjjkaMLaMsKdOZyoDRYrEraj3+QUSPF5R838/51xyMlyb24UH fTqY/K3R2tXxGicmg3ck4lKBZohzYhstKS7vRZTeo7j0Ec5Yo+bojRAgoPAAUp+v+Iz6ZK 5g04w7XVNaTU2Vh04Ht68wnaLWTmJvEoNLDuTVJYjdnk/bgS8ta6+GJiknkj7EGLUpqLbt fD4dZjf1pQ+XY2IBZAEhlgyxSmK5crgjbP/bNohBlmetb/x9mOFzlzwf6NHYheCO7C8KvY +8XhssKjv3cMFj2VlrJH+RzDHYog0LrOatqWb7iXLHQsPGF8dFervu8N2CHGvA== 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 4dRH550dZczn4T for ; Wed, 10 Dec 2025 13:44:25 +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 5BADiORp011509 for ; Wed, 10 Dec 2025 13:44:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BADiOVA011508 for net@FreeBSD.org; Wed, 10 Dec 2025 13:44:24 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 10 Dec 2025 13:44:25 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #19 from Michael Tuexen --- (In reply to vova from comment #17) The kernel will take care. The problem here is that bge interfaces announce TXCSUM support, but only do this for TCP. All other interfaces I know of, support no checksum offloadin= g at all, TCP and UDP, or SCTP, TCP and UDP. Only TCP is what breaks here UDP traffic. Setting forced_udpcsum to 1, adds support for UDP checksum offloading. Unfortunately, the hardware implementa= tion does not handle the case where the computation gives 0 correctly. That is w= hy the default is off. Disabling TXCSUM also avoids being hit by the problem, since then no checksum offloading at all is done. The long term solution will most likely be to add the capability to the bri= dge interface to compute the checksum in software when needed. The short term solution might be just to disable TXCSUM per default for epair... --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 13:57:17 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 4dRHMy0lqSz6Kbk4 for ; Wed, 10 Dec 2025 13:57: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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRHMy07nvz46bD for ; Wed, 10 Dec 2025 13:57: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=1765375038; 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=u+LVxhswwHDbEb3GX8HnI768l6PUOkhr97OyLblom+k=; b=SJ6af717iFIPmRqsOEgGq/hc8NpAQA3gAc73ZefkDxBRD2/TC7LxPm5fXCHmM2PFSXR++G EiCeEtwcdHF3BG3lYM94GXBLf6JTiKNWiLm1f5WZcVP786TXHlmXC5tkfzaIeP5eI/19eU SWD/cLMEmc+Pq9DJW95NOTXAqhqBojD6FI/LgPa8bH5altup6kUcr4nlAMNJs/voh0bCxw zFcSk/aNrh8Z0Tj8RmNgXPPM2Lz90acHMV+4ciKDaUGg4cUcTy0oaSAtJYLpXSjxTxlL1P OVoUp7H6LIWBe80AuhsDxbztnRmmlnwT1IC7cbZ2D2TGiZCA2DDO7MhIWuitdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765375038; 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=u+LVxhswwHDbEb3GX8HnI768l6PUOkhr97OyLblom+k=; b=yrQ27ZWcsLR8CHnh7dSTjR0KzK/n5kRGlz8FkrBz8hL1TF/xeiAAdhoxEB1bzGqKnCfwY5 quJTvm+CN7NJx8rPa6cxGDlqAM30GCtXG6aCf+oZBGkqWk/9fFpcq7lbTBsAS0OKZPd1K0 LQF+MIawDIZDFGV3M8RLBTiajJDKv/u3sepXdtnKdiQCu/s5lYhnfT05Ei8kuzWI0Lm/3B k/nkl8uElz1JmUqGYxmNk0ZRrw87KAVA69SY1csnoASkXPDxLEyIOYyFMkTtkERRzogSb1 IXi9lfanqWMrzCR22iHiOmIkW2nU8gEPThKj0OAdkCBEJZkH0NEtjtXET1tsNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765375038; a=rsa-sha256; cv=none; b=xs9TKN6zDfN6erwIdVbWGIQQhk0jyOlFZX4UCIJmGcT4n+eMtU0g5Dp3B3NRMMe3D4Zzt2 fFAIm+QaUNVOX7GK6SVF7vV/a4/sKTnvlk0rB2fNDt3iZpjlK1Xf+olkS6IoMM6TqeRbcb of2XbOVFzIIm70cui91WKgFuCJhysosgyIA/xSu/cRnPNUsY+zf66etfU1SXl5s8iYpYbO bPkshhtchoaEHRkH4iljfdkS5HqjRxuWjddUaKpsCP3zexZy1i0gduzq62yP9XYbFR/xPc bwbeh1NEf2Ad5DFlag1m080z83y7pRg1x78O+TRKnJCCRnD2/r8f2xXvisP0/g== 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 4dRHMx6cw5znwl for ; Wed, 10 Dec 2025 13:57: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 5BADvHuZ029752 for ; Wed, 10 Dec 2025 13:57:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BADvHlA029750 for net@FreeBSD.org; Wed, 10 Dec 2025 13:57: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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Wed, 10 Dec 2025 13:57:17 +0000 X-Bugzilla-Reason: CC 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: dmitryluhtionov@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #20 from Dmitry Lukhtionov --- (In reply to Michael Tuexen from comment #12) On host machine ``` root@DL360_Gen9_m19:/home/mitya # sysctl net.link.bridge.member_ifaddrs net.link.bridge.member_ifaddrs: 1 root@DL360_Gen9_m19:/home/mitya # ifconfig bge1 | grep inet inet 193.34.20.5 netmask 0xfffffff0 broadcast 193.34.20.15 root@DL360_Gen9_m19:/home/mitya # ifconfig bge1 delete 193.34.20.5 root@DL360_Gen9_m19:/home/mitya # ifconfig bridge1 inet 193.34.20.5/24 ``` Iside jail ``` root@mail:/ # ping 193.34.20.5 PING 193.34.20.5 (193.34.20.5): 56 data bytes ^C --- 193.34.20.5 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss root@mail:/ # ping 193.34.20.5 PING 193.34.20.5 (193.34.20.5): 56 data bytes 64 bytes from 193.34.20.5: icmp_seq=3D0 ttl=3D64 time=3D0.199 ms 64 bytes from 193.34.20.5: icmp_seq=3D1 ttl=3D64 time=3D0.154 ms ^C --- 193.34.20.5 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.154/0.176/0.199/0.022 ms ``` --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 10 14:25:21 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 4dRJ0k733Xz6KdmN for ; Wed, 10 Dec 2025 14:25:42 +0000 (UTC) (envelope-from pen@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRJ0j6F2Qz3Byj for ; Wed, 10 Dec 2025 14:25:41 +0000 (UTC) (envelope-from pen@lysator.liu.se) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=lysator.liu.se; spf=pass (mx1.freebsd.org: domain of pen@lysator.liu.se designates 2001:6b0:17:f0a0::3 as permitted sender) smtp.mailfrom=pen@lysator.liu.se Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id DE6E02AE1 for ; Wed, 10 Dec 2025 15:25:32 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id D1EE52B4E; Wed, 10 Dec 2025 15:25:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=4.0.1 X-Spam-Score: -1.0 Received: from smtpclient.apple (unknown [IPv6:2001:6b0:17:f002:1000::97]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 521AB2B92 for ; Wed, 10 Dec 2025 15:25:31 +0100 (CET) From: Peter Eriksson Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3826.700.81.1.3\)) Subject: Is it possible to force packets to go over a loopback cable? Message-Id: <3C76FF27-49A7-4C45-8E8F-51C1BBF3C6E0@lysator.liu.se> Date: Wed, 10 Dec 2025 15:25:21 +0100 To: "net@freebsd.org" X-Mailer: Apple Mail (2.3826.700.81.1.3) X-Virus-Scanned: ClamAV using ClamSMTP X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.23 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.925]; DMARC_POLICY_ALLOW(-0.50)[lysator.liu.se,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:mail.lysator.liu.se]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:1653, ipnet:2001:6b0::/32, country:EU]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[net@FreeBSD.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4dRJ0j6F2Qz3Byj I=E2=80=99d like to find some way to force FreeBSD to send a stream of = packet over a loopback cable connected between two ethernet ports on the = same machine, but it seems FreeBSD also short-circuits it and handles = that traffic internally in the OS. Which normally is a good thing for = speed, but bad when you are trying to test suspect cables :-) I=E2=80=99ve found references that back in the pre-FreeBSD 10 days there = used to exist a sysctl: net.link.ether.inet.useloopback that could be set to 0 to disable this internal shortcut and force the = packets out onto the cable=E2=80=A6 Any suggestions? :-) - Peter= From nobody Wed Dec 10 14:44:38 2025 X-Original-To: freebsd-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 4dRJQz00dRz6Kg96 for ; Wed, 10 Dec 2025 14:44:59 +0000 (UTC) (envelope-from tom.smyth@wirelessconnect.eu) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRJQy3Y8dz3Fxw for ; Wed, 10 Dec 2025 14:44:57 +0000 (UTC) (envelope-from tom.smyth@wirelessconnect.eu) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-42e2e08b27eso2988518f8f.1 for ; Wed, 10 Dec 2025 06:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wirelessconnect.eu; s=google; t=1765377890; x=1765982690; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=MJJ28Na/aRFm9WFVUdYdJDqul1/ZK6aO597pP772h5k=; b=r5s4SlS6QM/NxcydiP2//C30EqadezpWJiChB5JGUM9nkSX25cocGcnrdXKfJpxTFr wZeD3yNVTNcf1nfYfrvs/NfwFlsYm/b4soySSYd2Zb6PZs+is0BpMCcTa8mUmt3zj637 EnlVOHJCMUflQZW6WxJI/agAe7Avcw23ZXMaPqhe6np1SD9Whh2QrIX71+2LUdMxjZV+ 5wSmc1+rDiQiM9ApZPFqibg0NutiJXayWIfIx0hpEsW7tqF46P6zSpc22nfBvt06Ijzp GI87gcbH0ZCuj799qeg6oJW0/QYQxx6kpY6aQ8Kk+a3VCNE65mCe3Nhy7S3kS7dlUW+p 1GpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765377890; x=1765982690; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MJJ28Na/aRFm9WFVUdYdJDqul1/ZK6aO597pP772h5k=; b=XINYqRvfVDZ6kbM8WqGNeNaICZO/vcN65qncfX/oKhToeA4R6OA19DK3JCSuQw++rq k8tgKvohgM+L5Uz69qNpz8NwOE3IWWQelaZoAYFssGOyONQZ8qGqhDp/Zw29DmnSCmnB Iui64gkffKKRILu5L+oRbV+sb4QEC+uQEj9gQrLTol9uGHk1mCPURBLa+LdlEWfMYsqI 0T6gr7bTmAT8H2DNt+Zk70az+8x7vnTRsOOfpItZBC2p++shJwTL4a+vgbBT3jtB3reN mQlLUhUwBBGvrSxGOL34zPt5sbb3uTJvBBtLJHs8JUG7aNyYszoKFFU8BjwA7/Bo+8uB n/nw== X-Forwarded-Encrypted: i=1; AJvYcCVGeGBNy3gepetF3J7XpjzTQhDkIgDQZelUp+WZ2GnDcRe+W2vLhFon/r3fPbh2Ngtpzr0zuwXXmBkcWQ==@freebsd.org X-Gm-Message-State: AOJu0YyGYZvXNnpEBbfuCP94tQWRw2EKXwyVplElZPSqTYBl97SQI3nF Saa7/QEjdp8gOSSGhBeJ51cuxAZ6sN3WOUpFZQ1NlzAgaHhaiqx/mk1NmCZLMD4mWAhMr1DrM4l 1WTcvnz2yvQpDdZ/BEmgnWp8F7GzxaslnTrTQYTpgKw== X-Gm-Gg: AY/fxX6GCecQNI+WjJ6rKB8KCBwDucUIoL7dobnH5vuO/nS9pS2knb1BMhy7VYnOC0/ oUrqy7+BZH8HPdGJO84ZAWi/kut/tgE814u1lWEIRVFU9mVduekQL4sgbJLd5FvBfzO7sgP9vKm uA9xSJ/MA4CByFIu4x9wifCdta1ST7t4f5rBUoYyXulSipsOq9e4ha/tRLAQK1zmYdsQaWuuoBF DJFu2ft0pn5cH0SeJznj1hSXcNSA7cDkRd+dCgNk87Kh+ZET0NuESZxqLS2d0ZwwuPMPxl9Orgo qSB4WFOmqIVxk1mUwgKs1zK7MFmrUEICkGKH0/AQPVEqDDL0pjMK8ckS5WGC0bBMDHDzVT2TK92 t88Gr9kgfU0AR1uAXlQT4blypbPyO9NN+IRHYFd9jILoEYtfM20UzExumtaL7wb8izRXMMHUPSg bY7s6BtgAqvekX0Fn/tPvsen4tSVgts67beqL2cxaDxcPhuwgEjhB6Q4F/SZLH4dd383Y8mW+kw sMT5B36IZHUjKqp84Psy29T2ngWzjYsR4GzvJ5wvhHbGrhvNV/f X-Google-Smtp-Source: AGHT+IHOjB59bTBhTXN96YZy2Jp/BjITX9P7xPNJT0eq2nnoT76WTG35vVPyGrRsJBjP+GycUfM2S+//OVshsnde788= X-Received: by 2002:a05:6000:4304:b0:3fb:aca3:d5d9 with SMTP id ffacd0b85a97d-42fa39d9430mr2493516f8f.1.1765377890204; Wed, 10 Dec 2025 06:44:50 -0800 (PST) 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 References: <3C76FF27-49A7-4C45-8E8F-51C1BBF3C6E0@lysator.liu.se> In-Reply-To: <3C76FF27-49A7-4C45-8E8F-51C1BBF3C6E0@lysator.liu.se> From: Tom Smyth Date: Wed, 10 Dec 2025 14:44:38 +0000 X-Gm-Features: AQt7F2rGQ8klM9C4rRxiucXE3nB4aAE5u5lK5_jGiqkcx793WXjkUX2MtGWpGWs Message-ID: Subject: Re: Is it possible to force packets to go over a loopback cable? To: Peter Eriksson , freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="0000000000000a4de506459a12c9" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dRJQy3Y8dz3Fxw --0000000000000a4de506459a12c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Peter im guessing Loopback cable as in a cross over cable between two interfaces.. as opposed to a loopback cable plugged into the one interface (ie tx - rx wired together) in principle you want to put the interface you are routing to into a different routing domain... so lets just say you have IP address A on interface A on the loopback cable, and IP address B on the interface B on the loopback cable, put interface B into a different VRF (networking language) / Routing domain Rtable (openbsd terminology) ... run the process you want to send packets inside the VRF listening on IP address B ... and set the default gateway routing out to Interface A ... but that is the approach I would use. which just uses routing and the physical cross over cable between two interfaces... and all that can be done without VRF leaking in the firewall support in PF Im not sure how to do that in FreeBSD... but im sure they support the same functionality ... Tom Smyth On Wed, 10 Dec 2025 at 14:25, Peter Eriksson wrote: > I=E2=80=99d like to find some way to force FreeBSD to send a stream of pa= cket over > a loopback cable connected between two ethernet ports on the same machine= , > but it seems FreeBSD also short-circuits it and handles that traffic > internally in the OS. Which normally is a good thing for speed, but bad > when you are trying to test suspect cables :-) > > I=E2=80=99ve found references that back in the pre-FreeBSD 10 days there = used to > exist a sysctl: > > net.link.ether.inet.useloopback > > that could be set to 0 to disable this internal shortcut and force the > packets out onto the cable=E2=80=A6 > > Any suggestions? :-) > > - Peter > --=20 Kindest regards, Tom Smyth. --0000000000000a4de506459a12c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Peter=C2=A0
im guessing Loopback cable as in a cros= s over cable between two interfaces.. as opposed to a loopback cable plugge= d into the one interface (ie tx - rx=C2=A0 wired together)=C2=A0
=
in principle you want to put the interface you are routing t= o=C2=A0 into a different routing domain...=C2=A0

s= o lets just say you have IP address A on interface A=C2=A0 on the loopback = cable, and IP address B on the interface B on the loopback cable,=C2=A0

put interface B into a different VRF (networking lang= uage)=C2=A0 / Routing domain=C2=A0 Rtable=C2=A0 =C2=A0(openbsd terminology)= ...

run the process you want to send packets insi= de the VRF listening on IP address B ... and set the default gateway routin= g out to Interface A ...=C2=A0=C2=A0


but that is the approach I would use. which just uses routing and=C2=A0 t= he physical cross over cable=C2=A0 between two interfaces...=C2=A0

and all that can be done without VRF leaking in the firewa= ll support=C2=A0 =C2=A0 =C2=A0in PF=C2=A0

Im not s= ure how to do that in FreeBSD... but im sure they support the same function= ality ...=C2=A0


Tom Smyth=C2=A0



On Wed, 10 Dec 2025 a= t 14:25, Peter Eriksson <pen@lysat= or.liu.se> wrote:
I=E2=80=99d like to find some way to force FreeBSD to send a str= eam of packet over a loopback cable connected between two ethernet ports on= the same machine, but it seems FreeBSD also short-circuits it and handles = that traffic internally in the OS. Which normally is a good thing for speed= , but bad when you are trying to test suspect cables :-)

I=E2=80=99ve found references that back in the pre-FreeBSD 10 days there us= ed to exist a sysctl:

=C2=A0 net.link.ether.inet.useloopback

that could be set to 0 to disable this internal shortcut and force the pack= ets out onto the cable=E2=80=A6

Any suggestions? :-)

- Peter


--
Kindest regards,
Tom Smyth.
--0000000000000a4de506459a12c9-- From nobody Wed Dec 10 15:07:13 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 4dRJwd2CVbz6Kjlr for ; Wed, 10 Dec 2025 15:07:13 +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 4dRJwd1HBYz3Srv for ; Wed, 10 Dec 2025 15:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765379233; 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=Jr13qqhl6gBst9jtSya6eW/aWNaVYm/c+PlPR7i0aYo=; b=ohAXSr/1xqmfTYSDhkaKr1NbZ2RWTcofaTsOJ2gm9teYZcEb4VNZfZfCyM6dtu4s9+m5Ps mpGbMkpXReUHWTgPth7YpLXmMUwHoniQsahPe8CDccdGMNn+28B+qICwC6agVOmwJ/WIlj 2cpaeFpAkrJQ/iF7TFbjizsgmdL/ArAyqhUMPiLbNx9tdjpRb9B+S5lJG0vkSZo69HsKqd JANyppW9bQlstYHNpPu8sSvOCr/lnPJnW5nEFBnybkzSzj2eW+0dJ669EYan2OS9vGkE3N 6iqewwPW+igUYfHWynyskvBZ+CQeQn/MjFOXcazGMZ6g7Iwl/s8BVftEXKcK2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765379233; 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=Jr13qqhl6gBst9jtSya6eW/aWNaVYm/c+PlPR7i0aYo=; b=o8FLI4aegbU0wH1v8zwh8Cg6New08XQFnIPaKQWoW6pKNZx2O2ocDRIxftuFUZ/0Wbpko9 kUVkrgX+CHlNbu/VtNkauEDqXX/JH6cen7nwlr0exvJsDzm7ojicpFttdtDqPB56nPgIAa Z64hgMAlPzVcENu+LEGATtd4ICICWMbxfVDjEHPYL8X5sYnK2T0qWekzw/gfyemRi0Hxs/ r28KdqcjFVEVaTARqb6B7FuKWr5zBXxez69CkAuh9Bo9f+yN8IaNPlOf2dLWmX06Ltus4j 9OMB2xireSTjMZh1guLQmSHDaCApOBV2bULKQq6E/64PnIY2ktuAt2W59IZKOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765379233; a=rsa-sha256; cv=none; b=el7eAskOGQniL66iRoz+VAqJ2r0Lubez0muF3AoLZtcRGnQCtveynkpR80FkBL4joxRiu/ kIBID7xLk3H9wUo9cF+F4KMXAc2R0HMf9c4pzu/+RKJjchN9S9E1xFAVEZsu9tzimkfC9t XoqBRuIKzfz7hrEDjonkFD6sbxJw1JOVcHl4Crr4gcEVVkIPoBwd6UkWR2E6UT7fgLBchd eFn1LHK4RP6Ho26Oq590VXSUUa1x5BsMgf7kZ7O8EmxCTkvh7935WE2mYM733rbh0Q/WAg GyfuYppdWG6MmihT9lzeTb9kXUXqBqos/eSncKzo0YQ1CHcJ2bhrVkTvDxoU2Q== 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 4dRJwd0fmTzqlH for ; Wed, 10 Dec 2025 15:07:13 +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 5BAF7CxS057739 for ; Wed, 10 Dec 2025 15:07:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BAF7COA057737 for net@FreeBSD.org; Wed, 10 Dec 2025 15:07:12 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: Wed, 10 Dec 2025 15:07:13 +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: attachments.created 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 #32 from relvy --- Created attachment 266070 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266070&action= =3Dedit opnsense configuration file to reproduce This is the opnsense configuration file to help to reproduce the issue. First run standard opnsense installation, e.g. in a VM. After login go to System -> Configuration -> Backups In the "Restore" section select this configuration file and click on "resto= re configuration" After the reboot you have my testbed configuration. root has the opnsense default passwd. Login and configure the Wireguard peer. I use the wireguard peer generator. Then from the peer initiate the connection. On successful reproduction the peer will receive **NO** packet. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 15:40:41 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 4dRKgY5wcKz6KlVr for ; Wed, 10 Dec 2025 15:40:57 +0000 (UTC) (envelope-from john@sanren.ac.za) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRKgX5rckz3Y7g for ; Wed, 10 Dec 2025 15:40:56 +0000 (UTC) (envelope-from john@sanren.ac.za) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-37d056f5703so62320291fa.0 for ; Wed, 10 Dec 2025 07:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sanren-ac-za.20230601.gappssmtp.com; s=20230601; t=1765381253; x=1765986053; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6WHTcSxhSCv7Fvm/+IHt3cMIrS5uUi5BAH1UgLKer2I=; b=tLt6MzQWJw8bgjgRUrGjlVc0CHi4o1wCPAoTbVbuo2IJp4tBodSizR+LCx7ySVLLrY M7ysjSDM6o5N1v9Ag+tN882lz1A1QsV93qply8njpctalfGu8Iy7aWLWy9uZLxKiXM1f FL125lF2e255J70QXSEaWHqXNG4i8kkKfgTOuqOsdfJyBjsFasMphcF3flISFiwFnYhH 4oNcDyqxfbcqz7gqX0Km/JDp3QlfaHsvz7kbvgIvVpHwfcUOkSo6Y3Q+aoSk7538QTEG j2x9DI5u6enq5PHnxkhPZ+1d1X8dok27+qE/fWhpvwgQu+6Y6k0aj7IoOR7gMR9hk9rw piqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765381253; x=1765986053; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6WHTcSxhSCv7Fvm/+IHt3cMIrS5uUi5BAH1UgLKer2I=; b=Hkzc3iAxBvI7MjFMQqr2FykZNW0uyR9hmDItP/OT4sEAZ27tDaqQbDrYlgK75x4chP Xb7ny3ckmUT+dBDiK0SCa0NGBlxy4vd7VpMSO3uzRPLOy0O0Dp3GeAF9ZxVZnLGPvwVR Tw552hWaKATCoXf1RJ1EsX+ggIGfsfWQ9VOnuBQ5HOU49cxOgulRTIZr1Q9arZiMHqcN JQZ48qt1y3KrQobeuI9ychRKPjMW2lSCKZQQRWSXFm0Yw1ZN8W8itYLf/8ZI4r4KMgFH +0XK5gR3mF3Pp0DUvScCwOC3VSkKFBXSXTyuEvqBkB7/DNQ/WiJtNBN1kG0RbdwxQ5SK U7pQ== X-Gm-Message-State: AOJu0Yzsfkklk+6VE63Cu3cZ9l2NoF3TycDPVWOVIEuyypvQipN0r3Rk OkzD8dNXp+hZv3LNaDrrl+KgHSSp9kb9Nn97eAWg8WhzTTxfNXCX5a9IwcxzIDF8Lvf6CtivRt1 yZB4v65jhnuJmX1Mc46xg5v8HhUrW0pbGfXdeKHED2Q== X-Gm-Gg: AY/fxX7k3gFrAJAYFzDVuALV5ahlu/1RWlnA4YT02gLjljuv3DyyJEWZrPvw8wlQZ/N ikj1zszMES/A7OF2g5c85/jjCNbEDKZbOhFqCxo9tNeETVPgibIAr7haDDbdPlnKMhY4atNPaGZ mfinF9WFzn2eeaoAPXXrxyKhjrFd6wczJiKXxyxxMZLMc9byO/ZnZBQS/SuqAFPKcebN4Zmdexz QDzg/lJCykXn5ijIuZKYO+kRFz4z1cVybWVpziLbSGW+Yh0LQsYZsw4LWobZB8NZX8fEKyfQFuC TN0= X-Google-Smtp-Source: AGHT+IFGyx6sVURdmJikY6giOLy68GmFSzlbspb4X/0+xdlU1ZD18SZxQquZvUspCkCB5AYG2Amf5hb2YcowFtuPikI= X-Received: by 2002:a2e:be2c:0:b0:37b:9771:4f41 with SMTP id 38308e7fff4ca-37fb213b94amr8534191fa.37.1765381253039; Wed, 10 Dec 2025 07:40:53 -0800 (PST) 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 References: <3C76FF27-49A7-4C45-8E8F-51C1BBF3C6E0@lysator.liu.se> In-Reply-To: <3C76FF27-49A7-4C45-8E8F-51C1BBF3C6E0@lysator.liu.se> From: John Hay Date: Wed, 10 Dec 2025 17:40:41 +0200 X-Gm-Features: AQt7F2rXsnPfDe1ar_rM8IPDl4xCwVjc_c1_eVAClwqT5cq4wXWiy7P6e4e50UI Message-ID: Subject: Re: Is it possible to force packets to go over a loopback cable? To: Peter Eriksson Cc: "net@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000007b17e106459ada6d" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dRKgX5rckz3Y7g --0000000000007b17e106459ada6d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Peter, On Wed, 10 Dec 2025 at 16:25, Peter Eriksson wrote: > I=E2=80=99d like to find some way to force FreeBSD to send a stream of pa= cket over > a loopback cable connected between two ethernet ports on the same machine= , > but it seems FreeBSD also short-circuits it and handles that traffic > internally in the OS. Which normally is a good thing for speed, but bad > when you are trying to test suspect cables :-) > > I=E2=80=99ve found references that back in the pre-FreeBSD 10 days there = used to > exist a sysctl: > > net.link.ether.inet.useloopback > > that could be set to 0 to disable this internal shortcut and force the > packets out onto the cable=E2=80=A6 > > Any suggestions? :-) > > - Peter > You can use a jail + vnet. There are examples in this pdf: https://freebsdfoundation.org/wp-content/uploads/2020/03/Jail-vnet-by-Examp= les.pdf I do something similar. There are basically 3 steps. Create the vnet capable jail, move the interface inside, configure the address(es). Here is one half of it: ######## if1=3D"mce0" if1_jail_name=3D"via_mce0" if1_ip=3D"10.0.0.1/24" if1_testip=3D"10.0.0.2" jail -i -c name=3D${if1_jail_name} host.hostname=3D${if1_jail_name} vnet pe= rsist ifconfig ${if1} vnet ${if1_jail_name} jexec ${if1_jail_name} ifconfig ${if1} ${if1_ip} # Check by pinging the other side echo jexec ${if1_jail_name} ping -c 3 ${if1_testip} jexec ${if1_jail_name} ping -c 3 ${if1_testip} ######### John --0000000000007b17e106459ada6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Peter,

On We= d, 10 Dec 2025 at 16:25, Peter Eriksson <pen@lysator.liu.se> wrote:
I=E2=80=99d like to find some way to force FreeBSD= to send a stream of packet over a loopback cable connected between two eth= ernet ports on the same machine, but it seems FreeBSD also short-circuits i= t and handles that traffic internally in the OS. Which normally is a good t= hing for speed, but bad when you are trying to test suspect cables :-)

I=E2=80=99ve found references that back in the pre-FreeBSD 10 days there us= ed to exist a sysctl:

=C2=A0 net.link.ether.inet.useloopback

that could be set to 0 to disable this internal shortcut and force the pack= ets out onto the cable=E2=80=A6

Any suggestions? :-)

- Peter

You can use a jail + vnet. Ther= e are examples in this pdf:
=

I do something similar. There are basically 3 steps. Cr= eate the vnet capable jail, move the interface inside, configure the addres= s(es).

Here is one half of it:
########<= /div>
if1=3D"mce0"
if1_jail_name=3D"via_mce0"if1_ip=3D"10.0.0.1/24"
if1= _testip=3D"10.0.0.2"
jail -i -c name=3D${if1_jail_name}= host.hostname=3D${if1_jail_name} vnet persist
ifconfig ${if1} vn= et ${if1_jail_name}
jexec ${if1_jail_name} ifconfig ${if1} ${if1_= ip}

# Check by pinging the other side
echo jexe= c ${if1_jail_name} ping -c 3 ${if1_testip}
jexec ${if1_jail_name} ping -= c 3 ${if1_testip}
#########

John


--0000000000007b17e106459ada6d-- From nobody Thu Dec 11 01:01:01 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 4dRZ5p0m0Bz6K1JC for ; Thu, 11 Dec 2025 01:01:02 +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 4dRZ5p0606z3fN2 for ; Thu, 11 Dec 2025 01:01:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765414862; 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=cVqT3I/DuCZ3n+Se9xoKVxYQKGt+a3voOf5i+XrKP1I=; b=SHC/Wo1ErjOKkUSCVjS4lZYqOzPrPt7h27PjVn42lY3Vq+1L7Xmt/3W1yaJRKfgRDTbpL/ 7jBIDT6Pa8tWZdHmAZ3bB1GCQlExfV7peDp3L9x8RGoBgFZr9K5s7/okefMwA4SwVrBN90 F/lDoK60WJ2V+vkq8SxwwBM/baWrVkFIxgnKL62jm9h4HRn30k4bJsrMF9xxwRs3JDCeDn QxNm1aRCgbkIbHU9xLKo4KHKOt0iWsfr7TlhDHyNhMpfLh2wJGLEYGRBSWj9YkaP2eueyJ /RyS4OAYrk2gD0t+1O9nhJmixYfw7wMp3CnUGiBNmSWPhL26tSFofbZaXq6Gsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765414862; 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=cVqT3I/DuCZ3n+Se9xoKVxYQKGt+a3voOf5i+XrKP1I=; b=B9w2fX3hytLUtyTTQR8vovmigOiz68mS0LZ8VD8VKHY0iQKisils8BgqlOvQG9qLYXIh7r dENVsTdijiyZtpIm98hgmMJ6G4SWaUAwzV90axmZYx+IMq/ZJ63mckAnoFs/ReqWYzKNdz +gddMUsOTQsX6oyG8y210Bz8tNz4vrbG/Va8soP1KKojHPLZyZsikLYaWFfyXb6PnVnlal pGwUffrSMgVqBpksg+dNSDqUWjXoBf44HAcywywesxyCkqxotMfKHGRvuaXjzfjeCYGTIn BNJNjzauo3zxLfnP0cAYpb8La33onJdqadIOP7jO+URLDjO/KxZxbKEAB28Hag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765414862; a=rsa-sha256; cv=none; b=ZCmsHEtWhj5ypECMrqWlaJPXYgYBeZf5OkbvEK8tYuimwSFZPOW+lrzq8ZdFe4ekWGmuil 78vfZhKWq1wsDDGhxfr1UtuqSTBsCNpxKv88GJ2uQJq4u8X95j/opDRJsIQQcXz7icotyb wpNwVdOTOsCpKuUsweW0xCpaqw3JEFW8+BEI6gaUeFl0kRgPzrElQgrjeLs3jboMyGrmc2 k+UHZqBDSbREaBDf+GzY/HJAONNcE5Gesz6yKKrLLEOQAfOydiTpOlEg48ZYYHf7X/WadZ zTldnDBoeCd6NQkCusgaQHQAQtWDM4YzxvZHw4f8vF8hgONmJH+d80o7h0KMlA== 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 4dRZ5n6csdz17SZ for ; Thu, 11 Dec 2025 01:01:01 +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 5BB111Ds072221 for ; Thu, 11 Dec 2025 01:01:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BB1110D072220 for net@FreeBSD.org; Thu, 11 Dec 2025 01:01:01 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 291552] vlan on wireless with ipv6 kernel panic Date: Thu, 11 Dec 2025 01:01:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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=3D291552 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org, | |net@FreeBSD.org --- Comment #1 from Bjoern A. Zeeb --- Can you lookup the IP and show us the matching line +/- a few lines? I am a bit confused about your "VLAN" part (as I cannot see vlans in the bo= ot log) and I figured I better ask: how is that bit configured (as net80211 internally also supports vlans for statations)? That said, this smells like a net@ bug and not wireless but we'll see. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 11 01:37:59 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 4dRZwR2wYjz6K44W for ; Thu, 11 Dec 2025 01:37:59 +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 4dRZwR1X59z3lTv for ; Thu, 11 Dec 2025 01:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765417079; 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=zrMy4QlhTRFk6Bs3QX42QVvbPCCNGj81zwfXAT6kgB4=; b=YS/DNl8aVy2tO6FX4rWZ8NgWQpZ4VhfVDZGmSwx1vmfqruOYrySUZ9lrssTRP5ykeba9ev Te2+j02PRXTH8PE6rm6G4InI0LXAP+pVOvVGUZgeGbkxFkS8LdzqZCcvYF0k1XM/oq+SCd 4AEm3Ou2YMAxUkRHcPSHDS0TLn79xQlKT8+CBgd+LPvrHBbkp83ne2B6EB2sdao6WeOQMl vBIs75YSGNlU3Ynnbhznlb20+0JHyi3DQRN6nqS2/cOUqax+x2o0z2DoLgNDexoqUbfUBK 5MNK939wL5Ygry240c5wH++/GS/dBC4XIK9Mg67ChIEQyDlYouezeWAPoJ1qTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765417079; 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=zrMy4QlhTRFk6Bs3QX42QVvbPCCNGj81zwfXAT6kgB4=; b=L0msH3iJMP6jNt0mHJlTb4vR1E1qzdz2hYi4ui49h5EtAitGGYIRFNH8lQPxyqMgZ2Wyse dw0iog0XbC/0zXpMJieCILfWTmiumpyDKaLyifOjlIMo3ooF78SOFNv0lVpKcEu4BBjnsu U9S2ZA7eQGA4ywtqF2E6z3lJx7j3YcZG8Ck0RH11mCvPAfCCCxBCSazXEI551QiSgDU03v BvHN1hEdcYXt4Y7BrduulJBXk/9DborXrKiqw0teSU3FTbqT1o64JsBk71pjWSIXrTJJia nmEczd4oTUetnxmadvQQAd9vCtcw/DdcKUYt+L7D9ZHv7b11yccYt1nTU5p+9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765417079; a=rsa-sha256; cv=none; b=LqfDS60A55sJVtxYzOsziNnJqBp4RCQwzu2Bvd3+ReNsdl0PqKZA7a0FmBTwMCVeHmex8K vtkb9VTIdebNV+2caXuxAUVgTHW1E6UCLUapnzKUAVN5JBqB4oHjUaefOI+XiLK0lIPDUL kh2CsmPT1zcK+9i5x+Twpf9+40mhVsTQUiQk8zi/o92+/UtN/Aw9l2TyLpH6JyXSl2VAhS BndQwGiIU+WoUnKMzmccdVdYHaDt6QsmfhFbnlSA+ZeomL5s5JsNhRiJBsp4hBsL9Xwwy0 A0QHbx7uLY+SEb6Q45f0ypm1rR/hP6qejD5qRk1usxJqh7KHhH8XHKrwDRNJ+g== 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 4dRZwR12Wvz1922 for ; Thu, 11 Dec 2025 01:37:59 +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 5BB1bxYW045130 for ; Thu, 11 Dec 2025 01:37:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BB1bxQW045129 for net@FreeBSD.org; Thu, 11 Dec 2025 01:37:59 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 291145] UDP connected sockets cannot be disconnected Date: Thu, 11 Dec 2025 01:37:59 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: contact@zentec.dev 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=3D291145 --- Comment #1 from John Studnicka --- I tried this with the Rust socket2 crate for the following scenarios and neither of the sockets were able to reach a "disconnected" or unfiltered st= ate after the initial connect to a client IP: socket2::Socket::new(Domain::IPV4, Type::DGRAM, Some(Protocol::UDP)) connect to AF_UNSPEC -> EAFNOSUPPORT connect to NULL -> EINVAL socket2::Socket::new(Domain::IPV6, Type::RAW, Some(Protocol::ICMPV6)) connect to AF_UNSPEC -> EINVAL connect to NULL -> EINVAL --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 11 05:23:13 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 4dRgx74F8zz6KLtH for ; Thu, 11 Dec 2025 05:23:55 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRgx73DHRz3Fnt for ; Thu, 11 Dec 2025 05:23:55 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765430635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Kk1o6Wpo80oPtOCpWT51fUW6T+jRRHTCj0nvLnHvqsQ=; b=IKXxzWgISq8o5S/7aFZ5qqhmE/JhxrLnXlWKd7LGGMRqpr+JIdCe5ZhMG3eDrsjcZJXZc+ WlsX7ZgdndJRIgn+txvAyUq4gCURP1DuFV+0l9qrHbBvAtzP0ntjxI80L2v+5PVcSKJs/Q GWqNldF3VQZ3tiapnEU9R1mH/IRG9CvtlCrnNV6h1YZ0rPiif1EbfH1Ee0ZH/P25uEaB8r rkI0TeeV1qXMV6v/JHqLPSUPvvAtL4T/0U4yAgZKEvVBdF900tYAVwHdeKhVFKb90BN4dg oYdi7TBMRITKq6C/EA1g2bo3PBd0hibck/Vh1g02U/fIWS0xp5wVVCGpGD47WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765430635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Kk1o6Wpo80oPtOCpWT51fUW6T+jRRHTCj0nvLnHvqsQ=; b=o9X9ofzkum42ktLohoS/HU309mIGiuyxSbBM9UbDFbG7cJTlRPovHneE+t/1lIwDXTTKUV g7LyYQcxXdHc8sqn7PqUZzyIH6dT2wXBPQvymxTsUoLbY3Xk8USQcZLv+WXB6WPKjvA2ss MbDP98fbF+I8e3F1fmp0bXYaBlGnCYaf2llyv82DV6j22QZ04PCiLfQFngd7Rh9HQEzY9r aj7TmxbCkRJfadD8FgJr95740Ul7vCCnTAQhFJsV1bD8N5pWBeeZO1pdBaXj2Tgei2W+Ow kS5V6WYvqLe+nKPKygdvBUx4bw6sWBARSozBq3MgbHvleTK7+naysxGw35Zf2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765430635; a=rsa-sha256; cv=none; b=HeVxIsz64qQH59dzWQQg7GEHpE5ImiUlHB3gFcIGETCATIA7Yguzotc1Pr7evQdrxPE0VB UBofbSzGvMESh9yegBv8Qnd6OOEm35pJn34zEhf7qJoSkdXcPWD3WqJfkUf4EchPSLfsKj 3kOrGIW4o0R+zYpLPuwLInstAwtJrGVKc+f897Un3vbigRN9zbWNiASdOMRMe5Wj58V9O4 +m2l16H6gsT38zOyVpye8vNsf+ypS0Lu8CVvVtrX6pFR4zj2+JxnqFsVZ1wsiwJUJKU/0C urxKjdEq47dwKaPSELIsEB6N2abDMyQioGBPH1+noEWsx36r6DYH5gAbQF8RXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (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) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dRgx711wNz1LS for ; Thu, 11 Dec 2025 05:23:55 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Thu, 11 Dec 2025 05:23:13 +0000 From: Lexi Winter To: net@freebsd.org Subject: Help wanted with GSSAPI in OpenSSH Message-ID: Mail-Followup-To: net@freebsd.org 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9T7SNxQ+uRGfEsNJ" Content-Disposition: inline --9T7SNxQ+uRGfEsNJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, OpenSSH recently asked for help with GSSAPI, as no one in their development team is able to properly maintain it: https://marc.info/?l=openssh-unix-dev&m=176541607606907&w=2 if the situation doesn't improve, they may decide to remove GSSAPI support from OpenSSH. i know at least a few people here use GSS, so perhaps someone might be interested in helping. --9T7SNxQ+uRGfEsNJ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaTpVPQAKCRD1nT63mIK/ YGlrAQCIhKEm/rtb2uYVFsffFTUzE4IpytdT0oGRCGCM/K3BYQEA/rDAydsCyCZo 8d7YxVk7qk/6wYfAL0v737Xebs+m1AM= =ljOo -----END PGP SIGNATURE----- --9T7SNxQ+uRGfEsNJ-- From nobody Thu Dec 11 10:25:36 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 4dRpdD5X0Hz6Kjcf for ; Thu, 11 Dec 2025 10:25:36 +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 4dRpdD50jfz3nF2 for ; Thu, 11 Dec 2025 10:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765448736; 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=Agu9ksQUmj67O/Q1gZ228NV3wsIPY9jLWvt3jZ4lZsY=; b=rJTE5++fFoCp3FEHW+lYwmfH8cG82j8ySOywQ+ArfCXVH6BP+UG40g92DAC7MkK83QvRdb ayN1nFti/7BCitszK5fNqHhe7o28Scyx7IozWMqH411LTvkAoREybEa3x/PWeCQhz61Fhw gqUL+GSG0lB4YkTGZw7WTT4jhDk1v5pQ6BVUUcxgcSNZAvOGlUdLbg0rSTVVEHoSbwAzU5 p0wMtF7YOyzJePMVMFOxAjMmYuiLEYjFCLhUnjM0kIVAofRqtWpxHndhGbGhhbOCxQpMHH FmcavdmVGz3YB/YC/LK2ab6dJxEdVwDo1HxNN4EJIXrXwLwynT6i/XvHEZCPXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765448736; 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=Agu9ksQUmj67O/Q1gZ228NV3wsIPY9jLWvt3jZ4lZsY=; b=s/TJY8isBk6c2rsBZjDV17tT/7kcvnKirAI/qqLROlnUX7BXIpATzUdYzD920Aj8+NJvWJ eXoYa0BorTkU3TLuWY4hg9NJep8qioxGtB/CLJEyxP7t1IKjUYD13qitqFoRx++s9iACSu 58A3SnmRSx+TSiZwPBiOYzTHJrMMF+e2X4mckss+w3JOfzMAKFVgh48jILLFHUHOUmns90 LmBjnv0+tbZuAduLnBVYx6zxqNgWq76JDNgE1pAWe2Go8pTVtTY53Ow6XrN9fExu5BrPzG CJ7Qy3PIfnJAso+ZX08TShY5B0dHB+WJ70qieGWnotVmH5Kyj/N4KXk9FyZfiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765448736; a=rsa-sha256; cv=none; b=LN6HfDKFeP0OAMz4brsTRTNwsLjFPS/NWHklO5XWus4nEtyNIGl21mL2abII2QpaVWxGI5 b4LCOeLziuFeCh81/qMC6o6YW/kSgfKacRWbm9l2U8wUu6ghRSHEsVmLnpaLRO5Ujko08Q 24tWPpWmHoOlGfYt8z21JK/m1uF5VpvD8S98E4Gl9IqaCJxTClSsy7ImcPaOqAuFrd2WQ8 F0vg+JLSao9rKLCj4xR8jNTMzESGMwxm8rQBjA38XM++ULyp5SzuBcEJpvMdHJbVzr2wky jNoVFhiJvnhBB6FFf3rqiVdk9yaBJ1kDSTl2L2KymtcYIeZfXcYKGIkyJT4uTQ== 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 4dRpdD4Z6NzBpJ for ; Thu, 11 Dec 2025 10:25:36 +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 5BBAPaLh063260 for ; Thu, 11 Dec 2025 10:25:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BBAPad2063259 for net@FreeBSD.org; Thu, 11 Dec 2025 10:25:36 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 291552] vlan on wireless with ipv6 kernel panic Date: Thu, 11 Dec 2025 10:25:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zip@zip.sexy X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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=3D291552 --- Comment #2 from Zo=C3=AB Cat --- (In reply to Bjoern A. Zeeb from comment #1) I'm describing the smallest test case I could find: 1. Boot FreeBSD-15.0-RELEASE-amd64-memstick.img from a USB drive 2. Choose "live system" at the first installer menu 3. Log in as root 4. ifconfig wlan0 create wlandev iwm0 5. ifconfig wlan0.50 create vlan 50 vlandev wlan0 inet6 -ifdisabled up 6. Once the machine came back up, I copied the dmesg output I'm working on the assumption that the dmesg output, which appears to captu= re the first boot, the crash, and the subsequent reboot, is not missing anythi= ng important. I can go back and photograph the screen after triggering the cra= sh if that will contain anything more. I did initially find this with an rc.conf equivalent, but there's no IP addresses here, nor is the wifi card connected to any SSIDs yet - although = it does crash in that case as well. I'm not sure why nothing is visible in the dmesg output, unless you're looking for lines logged by the /etc/rc.d/netif. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 11 11:19:14 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 4dRqq837Cpz6KnBr for ; Thu, 11 Dec 2025 11:19:16 +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 4dRqq80k9Wz40wZ for ; Thu, 11 Dec 2025 11:19:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765451956; 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=KICiapQRJ0ZBDJAMolyD5V72fTXuj9QmLDP49JqQkVI=; b=ttHerKGRb5KUvyahiFdLT608M+dEMgis8yA784wLVao2KvNIaVRIMksGkuZSg3RcKN15XC VqA/fQH1ijkf0/CV8oFIgG0+KOPu7PjE+2B1LSjGMywD9V3YlU5eoxIYu12pmI4fZcqzZr 4o3aglNdjgFGwRjATVJyAwsdgCtuAJDVsRrbyihDwejr1g80QNyF+5FamFgQQkjgYK1iMx csrEElXGg8n1DYlj0/8Nt7K9bO0T/+fuYQqf1DywRYtlCNDZc6xGqjD1RvDpdNLZ6GJ9hn XtpSYplYDpfC0fGUK680iyEITOt7hOmgI/ybQrLNA8vvnpBNroMZKaM3iQeW5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765451956; 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=KICiapQRJ0ZBDJAMolyD5V72fTXuj9QmLDP49JqQkVI=; b=UsatWjp0To7903UVQsVe7Ffbb5nFMp9rxVdOR0BpVqRrptDmMO/ksS6lEbMPP79GDX42KA XbBTgPwHPOvLroHnJlxDFY+su+uvd+Wo2VMoZmuhu+T6xkzXGVXWOhTW6YmCVcbfUMkzDN 8LZOGLkRv5FHQM+JL1qAkBzDEeA2KS8Tld0SjuTsNwJUX26kQWD0HGGoaLBGZjgAYtnuW0 Z2H4PjEuoWGmJcRFN3y3J/eOraQlDd+k0WvNQ6WNTErxR36bq3Q68bC6TznEnTO3zfCVpx XdsYv3MY285uqr2BEZkoDQGbw1JRux7aXoMKeu2Wdc+hGYwKjNXtDOzf7MHSiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765451956; a=rsa-sha256; cv=none; b=ZWAn311B6VnXwHJ9r7WGKneuUB4eY4ADW2eGnCUXJEVd/iWuGsbj5JL8ot3T29Zc1+pQxi 5H5CkWQcNcz0icz9WzW4v+/RV7qXik3h1zCRlACMjt7mgKs6PXCc3J8U4BdF9iT0zgoKx3 9WeIkTiVw1B2np6wXS7EpLyGgpzkC8cP49Rm9jKDeB8IAq5HdY8qR/QhxbTJkh/cs/KQx7 y/qu44ZZaeNz1zT9y7GMPNoG07RrqabQS09kCJ0DgeO28MvHoo3JQlJWXtuR/FzNpZMwh9 iDXP29wmwYG7REJtirhamz4CYD+zpOUAg9ulDTD31VMEffyXEr/cqMGUuyezAA== 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 4dRqq80BvYzD7y for ; Thu, 11 Dec 2025 11:19:15 +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 5BBBJFLP058172 for ; Thu, 11 Dec 2025 11:19:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BBBJFqI058171 for net@FreeBSD.org; Thu, 11 Dec 2025 11:19:15 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: Thu, 11 Dec 2025 11:19:14 +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 #33 from relvy --- OpnSense provided a FreeBSD 15.0 kernel for testing. I can still reproduce the issue. pfctl -s states | fgrep 51820 all udp 10.2.1.30:51820 <- a.b.c.d:42501 NO_TRAFFIC:SINGLE all udp a.b.c.d:42501 -> 10.2.1.30:51820 SINGLE:NO_TRAFFIC tcpdump: 12:03:03.697882 IP a.b.c.d.42501 > 10.2.1.30.51820: UDP, length 148 12:03:03.697904 IP a.b.c.d.42501 > 10.2.1.30.51820: UDP, length 148 12:03:03.700075 IP a.b.c.d.42501 > 10.2.1.30.51820: UDP, length 148 12:03:03.700098 IP a.b.c.d.42501 > 10.2.1.30.51820: UDP, length 148 dmesg: [14] wg1: Handshake for peer 1 did not complete after 5 seconds, retrying (= try 2) [14] wg1: Sending handshake initiation to peer 1 [14] wg1: Unable to send packet: 47 wg show: interface: wg1 public key: listening port: 51820 peer: allowed ips: 10.251.0.4/32 transfer: 0 B received, 23.12 KiB sent persistent keepalive: every 30 seconds --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 13:11:09 2025 X-Original-To: freebsd-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 4dSVG21Vysz6KtFc for ; Fri, 12 Dec 2025 13:11:22 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E8" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSVG107nTz3QY8 for ; Fri, 12 Dec 2025 13:11:20 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b="kvA/JH+q"; dmarc=pass (policy=none) header.from=zabbadoz.net; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 3EFA3A64806; Fri, 12 Dec 2025 13:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1765545057; bh=FXiR/j6WL0aRukVLPT2YJt3I8FtLH5EOawmn6hIFzgM=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=kvA/JH+q5FCuwpFwUZiJ87h+pqc7ZVjyVayVexcNu9yRvOKQU5Wphz4Q21dfpqA1a uu2TKrwa8uUV/YM/Ou5rIWGIccyupr8utlOIvG9xJ2gF4Vjl3bzt8H13V+s7nsu7dS ZckTOcWVjasGrtzXnF0s/awzf9rNE4JqLYfXznlqVDDO3UfPuZHbq5tAjFTyBgxXKM Kj4wUcg1s02YFxE9XFfpNZOollS1zBAPPGMeXr245ZGrt5XqrcQncDv7QJpqh6jeta wCJ01LClcVPW2tvY7dU7mopijI2lvri+N9Uo+x69d3DBVq2KoJFROFhQtjI5oAJTri EfT/4bW3ldN7dB1EgmMfNgGK8HcfYL1IxUvlTfzNpnFX5/1nlaSvsN1wsYwwWEs/fD GowWn6eaYKcn80qWANZFQ1XPQFLmHK+EHMAOm60xs8aFtdvpSqw9z3eSYxUz47Wtez SvslE9NokP/lVXpZ633ju/ak9FX7ufRoifX/m0Ac6UE09RPFTK/uUrVw7H8q2tIW9E sMzp0fyoZq9gCRySnmGX/yLWfWmzoejdzeCkU1EjL4cnvymSc/YP26Tu743GC9MzlD jF5bJFZqpL0o6rzdSpt944Yd1n91gHEBw9DbqYdZax02GxFMFeqIQjm9lOgLT2Tta7 fIG66+oFHqcxAetdghzzJ0s8= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 568A02D029E7; Fri, 12 Dec 2025 13:11:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 1aF-DnRkOtWd; Fri, 12 Dec 2025 13:11:10 +0000 (UTC) Received: from nv.t4-02.sbone.de (nv.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:22]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id E5EB92D029D8; Fri, 12 Dec 2025 13:11:09 +0000 (UTC) Date: Fri, 12 Dec 2025 13:11:09 +0000 (UTC) From: "Bjoern A. Zeeb" To: Markus Mayer cc: "freebsd-net@freebsd.org" Subject: Re: NetXtreme II BCM57810 10 Gigabit Ethernet From In-Reply-To: <2dAl6BneCzsEIULJjURZHvaZSUKHLhrjdJtKBPlBqGfdM4DtAJYW01oairAudXGdOWRt45bx9B0EuuzUYPwSkFeMXzW9F29dW0Xo07MQfuc=@mmayer.net> Message-ID: <57qp9n8q-ps29-2p4n-5444-4n8qp7q8q15@mnoonqbm.arg> References: <2dAl6BneCzsEIULJjURZHvaZSUKHLhrjdJtKBPlBqGfdM4DtAJYW01oairAudXGdOWRt45bx9B0EuuzUYPwSkFeMXzW9F29dW0Xo07MQfuc=@mmayer.net> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4dSVG107nTz3QY8 On Mon, 8 Dec 2025, Markus Mayer wrote: > Box 3: > > $ ifconfig bxe0 > bxe0: flags=8802 metric 0 mtu 1500 > options=527bb > ether 98:b7:85:20:f8:ed > media: Ethernet autoselect (none) > status: no carrier > nd6 options=29 > > Any thoughts on what might be going on? Any ideas how to troubleshoot this? I have no experience with bxe but it seems it doesn't recognize the SFP+. But given it says: bxe0: Found 10Gb Fiber media. bxe0: IFMEDIA flags : 20 That should be: 13853 sc->media = IFM_1000_SX; and IFM_ETHER The latter ocnfuses me. What does ifconfig -v -m bxe0 show on box3? What happens if you re-plug the SFP+ once the box is up and running? Also, is there a cable attached and the link supposed to be up? Just random ideas; my 5 Pfennig. /bz -- Bjoern A. Zeeb r15:7 From nobody Fri Dec 12 14:37:43 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 4dSX9h2hwsz6L0RH for ; Fri, 12 Dec 2025 14:37:44 +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 4dSX9h2DfRz3YLW for ; Fri, 12 Dec 2025 14:37:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550264; 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=sZPYYCtoK9Vp9VhYclAMYUCqlxzabgPJ4KCLzTLoWpI=; b=QDTiYjQMdK46zS2ZpF0Zvn/QW/dXoSU5GBwHEFu2FVTq0WeqHVE80sCCfYctOMJi5DgxMX jop1T4Pqc53To2WuOuX1M9dtV/pnJHUi+Hf5k6+23U7bp7Z/ykxYuqAoDMjJvSvFQqc2bn +Rb2BWfowaUUtv/8dWryu8LbPiIF0TneO+dEU/cU5OSw+Jy+f821YDW3lC2SumClIY73qv xImPt4cfTt3glrgwTWVkSOGRjdsSTtpC/01/cBKDdlOYHYRYSAZKji3BKs2t1hUbeCc8pX Vvi0QUmEsaZMPLlx5DnhT1TBODUBITzYzUeGeM5nfeKwd8FU/1Tq5JRiFZgPvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550264; 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=sZPYYCtoK9Vp9VhYclAMYUCqlxzabgPJ4KCLzTLoWpI=; b=c6UPiPv5+NvWE+wGo6wGjm0kbHBNnAbfDVgcOmJ9xo080kf8S2z8USi2XahsqYz1e8fQnt lXVNJE4rojQhMD1dwSJTIw9EKY5etHUuXeDNt74+bg2xljIX5u07Lu3FxgRT6LLa8WCjS/ bM1mrYZLSpv2ZY6lOahWn3mwdkTJJxQdMZHjLVn75/BsBmqk2QvGmcPHLsHkFGIl5nKRsz LpPUondVaRpV+1llj4nEC1X20yq9rF1T9GEKOaNXSShPHnwZ11vNBA2ENTxs/OAPwCzU7C 0IrN91Oovii1+bxJdzphxmLEfJJID5G+CQwd/1vqYdcqfXmc1jge5HNzLN/BSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765550264; a=rsa-sha256; cv=none; b=R/gEQdSYkEQMXKWGZq2DrubVdz1h+K7nWGkIs1OtVWSl04Y+Nmo5gEoZLL2atj6V+a7pFs PNF3npHaZiSZSmUdJ0kAVDVr34tKyisBBjLgo0dJWT1mHSDcZ7UxT742uQVx3a/pCZQrQ6 d6hXSGqMuEk4WLbAOeYhe7zJyQia19i9JXtJFl1FyN9wE2/9VD8+bQFlXErJPrbDQRKDrU 6OWQNYBJ/2sWaxTE2HeISmhcNytYDo0ES39K3HuB7BABf2tOjyy0qo0Cdi/fQitHg4qNef KZZwoWRTzo1qLTilVyElpg37aiIsgPA5wxtJgxeBFORuejILVWSfXLDJa5SIqQ== 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 4dSX9h1l72z5rm for ; Fri, 12 Dec 2025 14:37:44 +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 5BCEbiNv051131 for ; Fri, 12 Dec 2025 14:37:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCEbicT051130 for net@FreeBSD.org; Fri, 12 Dec 2025 14:37:44 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Fri, 12 Dec 2025 14:37:43 +0000 X-Bugzilla-Reason: CC 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: dmitryluhtionov@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #21 from Dmitry Lukhtionov --- Can you imagine the problem when the address from inside jail+epair is not accessible when accessed from the host machine from the address on the phys= ical interface, and vice versa? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 12 14:41:15 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 4dSXFm1qM4z6L0Qn for ; Fri, 12 Dec 2025 14:41:16 +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 4dSXFm19DLz3ZJX for ; Fri, 12 Dec 2025 14:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550476; 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=VjhSieeb7kuERk2h+FU8lttDbdRDWLXMphNCLwKOSHA=; b=DtABRuG7illYrvaKtG1nVhT8LDHyTddUMRqzM2k+TkiYFbQdSZS4xvD0MSr9Gh7ZStkesp wK6FACUm7SyEgsEtwH1CUNQ0Ohd/XYk2RMEEKBjDwPX+FU7vsB1PqkFi8pM0A2ymf8XTJu dchrqfucXPM67F5t4m0BAI/7GVs0ZUXexpzbpSxrgP+MejT+6313dI4KHZLpIIqPFLY+MD RgGd2mgff0fvGkDqYmR66BYbpkkXy3KiMoMtBtQk+51biw8QiVZMwyUuKdtW9KXyoLY5o7 H2ph2r98a6olOgtb0q5+1TZbdpOg+sXfpSSFmiW/t1KaP9BTRwO1pO7ATWwoLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550476; 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=VjhSieeb7kuERk2h+FU8lttDbdRDWLXMphNCLwKOSHA=; b=v5gaj+1ROWpcZRJWjtbmzeWWbWZbK51wXlDT7nV/mF2QPn9ke/VF92v95JSXh5TO5V7Tas kg7c6XppSwvpIySUqIh2bljO07EG5CQERkxh32iq15FNQ6AwzXI/pBZuUiGYQsCfK8gfu6 DYCIMM5OXGH3fr5julqQAzqPp8+hb1QutgbOzNBivONMQax6GkLJWnRNL8Q4mUolZmV12k PdBoMcmzvRWZYGCfKSuiVl7DZXPe7XHbzQAbx3nsjpQ+9UNts51EP3QE8BV7XLbUWZ3BQz PBWn5qTdzhgi/VSgJlt53m9WmsGFAN9erTbt/gFoAzK84ecCaoJUtMeQnkxC8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765550476; a=rsa-sha256; cv=none; b=h1S+fhGI3kl1LekZjBQs89Zm/VaSGk6RWHoanAgsjU/UJhQITRF6cJXUw0TZOLwKWQFLam q/yqhJBr8KLmiuXjvOcdPjYNfxR5UebeafoVCmCUyZ5eG3uveH/ruN3vy0CA/87MdIwiDk L7PJ/TsImi1hTqQ5TITZNABoSP/IA6R3gkoLZ/oYnVdDT/cJBc7FlLsMo70X3eJlA7cV0k 4ii3MFZW65d5ayz4G6G7nRMaU/z+dCYDAPR0VXzfcpNnPR6e2Mng/r/QhxCqcRmaienjNy O/WYkkwiuofRFAYm3+o9N9kom5YZY2Dat83z8JkRA4coqAnhCpmdVrfStUlEUw== 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 4dSXFm0ZNcz69p for ; Fri, 12 Dec 2025 14:41:16 +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 5BCEfFA3058896 for ; Fri, 12 Dec 2025 14:41:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCEfFEM058895 for net@FreeBSD.org; Fri, 12 Dec 2025 14:41:15 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 14:41:15 +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 #34 from relvy --- With help from opnsense I am able to build a 14.3 kernel myself. I digged into it with if_printf() and printf(). wg_socket_init() runs with port 0 and for each wg interface with the correct listening port. udp_set_kernel_tunneling() registers wg_input(). But when udp_append() is called it never calls the callback function u_tun_= func that should point to wg_input(). It looks like u_tun_func pointer gets lost somewhere. Not left as a wild pointer but reset to NULL. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 15:32:24 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 4dSYNn3W4sz6L3sq for ; Fri, 12 Dec 2025 15:32:25 +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 4dSYNn2YTFz3flj for ; Fri, 12 Dec 2025 15:32:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765553545; 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=JUXFdeUK34QPEVouxczDsFcdGozDwoeTWWKKqIr9//g=; b=C99IbT/mqYcso8k29FSztZd2zfLASD2BFwJ58aJEl3bKYUeBLXXWk8cZQKD9Se2DzB619N pqrdMpyzgECnTyRzNXc61vmZgJnZ/eFJvvwalMFpQJOZzPnVjmizEaE3mX/wKNxCQhjK34 ECxxGLeVskaBLmMqqno2u9JUa+lSCc3JncMOYEo9A0mzsOfuCX5uSZSwK5/LvS/bhuVq4o lFzwOxyYCFi2sWskuHFL67AaugCyVbnbOvbdajAIhUeutBObVJpGbO0V30Kkk8tLRHhY0V FU0CPZY+iH/HOfZml03s02sk9Q9qL9fRLCYhwOP26wxuVJRrQrKD0iaZCaPA7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765553545; 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=JUXFdeUK34QPEVouxczDsFcdGozDwoeTWWKKqIr9//g=; b=MCFJDRAqH/Map5x3fMTyFzDVsXpnQu6Pm371LWX3fOfvTPQDKvBTCRTWYcQjXJQWo5vpdY K0rsIBNTCnQwcErpqcLaxnGKPxy2cj95wIXCczT5zaERpCh4FKc6L3dg716FCuj6rPKnMP xiWhr0WJm2OWIFnuHQTbgXvBWGdBiZgHCoFS+3olyWKyAybAP8kuo7/JBebLwb6Mq6cVmk IcfANDamR9rneN1O1X+uVl3BkPJknblu49Je4PwtP/knnIX1N+eK6JBfVtQZB8fzUCea15 tza+5eUG83xALOoIUuI5g6wJgWE2uNdsFIhrfYQGMp+pegCvL/+LTNxmRl+m3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765553545; a=rsa-sha256; cv=none; b=uLEuWDelLENIkARrZoZBTxhvgcQGtuYGMtP8d24MB7Wburo7J1Qfh+s73S9pEbr0Juz//a cgZQuvu6jD+bv3TMwd6oZMqVphYXtNm7Kbb3zpSvNpuLUshhUr6C2U69C0JoPdPTu0I+d8 4tQ3UdpHK580pOGwtpULJrPwTLZtJwADfV5qm/bNy1+Jav8+0FMop7YBL5IpXkd17+CDX6 2UKugTy0NMgGliu/4mdChn7tuM9sVQdiFe9ywNPah6IAZKWIyh+vyIJw/qXlnT3qepRxer 7wzqfZzvwB2biVdMV0Cyqt1KIdF/qvDdnW/ZtTgobaAjo1RlewWoMcLKldWA4A== 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 4dSYNn29Nrz7N0 for ; Fri, 12 Dec 2025 15:32:25 +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 5BCFWPQH039486 for ; Fri, 12 Dec 2025 15:32:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCFWPTO039485 for net@FreeBSD.org; Fri, 12 Dec 2025 15:32:25 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 15:32:24 +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: kevans@freebsd.org 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 #35 from Kyle Evans --- (In reply to relvy from comment #34) The implication, then, is probably that the packet is arriving and somehow = not associated with the correct inpcb that we registered for tunneling on, thus `intoudpcb` gives you the wrong udpcb that doesn't have a u_tun_func. I somewhat suspect this may have more to do with pfil address rewriting, some= how, than it does carp. Can you try to eliminate carp from the setup completely, but maintain the inbound pf forwarding and see if it reproduces still? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 16:03:47 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 4dSZ511Gg8z6JrS0 for ; Fri, 12 Dec 2025 16:03:49 +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 4dSZ505wrGz3mkt for ; Fri, 12 Dec 2025 16:03:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765555428; 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=M2albn7zVpK4IX0/WyLZcTK8YGdqOsi97FPIruI16+o=; b=XoI8aBXe2ejR+DcW/QeilehyGpGwBzvMN96tpGA2AcRxagdfLZ2/vsyu6mMumCuGnoGTty nFtrafJKqx8F4ndUijsZSoz0h8a1re9F9JtD43ppUhmgNOfyAS2/r4nRRgMJe6ifi3HprG U2xN1CFGzH9sak2UeEjflj+jkfhEGblvkj7tCobFoehwq5qqd28UJxM7+MACYXOlOeGJWV IPfMCO6RDHDj7g8gIFxBlNyS5lAx+Bnpp4ruPLS3tOS3Q6jOLrEuZLNPNkcKxsy9of03az ID7+lDIGugog9xr7UcdM79GumwxEXQm6zWQqWpGvSe4P8mofc89VBTz938ibWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765555428; 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=M2albn7zVpK4IX0/WyLZcTK8YGdqOsi97FPIruI16+o=; b=mQBYMMRTa9aSwIik5OdcviWWxIUGY66PrdH1wwjZ/WYrvCmeh5cjEswYC1ltHd4n2HJBb8 4W3OyfuPNtWPO54HuHW21JQzqUQZU5v6H4u04TtTruYmoEfDP7BwouqeKtBZVhYE5FPR0S qOca9f52W9ypywv1ls0klvHzkNfwRoIytm9OBrd7lqlVaDv3P/z+AqJlUsntTe7QGRImWJ eT2POirh7Cxf9Sbf5SPqTu5vB9UZw26lf4b4adRRJrKrHKVYDEt1gm5zg2bYK3mcbcPFjv gT693fXafu5M5zamKCmXmI7NAMniN+68yIRqpYbYQzd9JtPAqfGFZ0CHC6jq8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765555428; a=rsa-sha256; cv=none; b=nE4E+L98ZcEvSDT7+Wg/drzmyBAe1mQyogNc4HJa0gY5DPc04oCSKrk+fkk6A09b4VIef/ xXojE84gN7MfnZzYmIGElfk8FkEZY81PqyHWwt1f2gUw6qILxCI92/aT6aGcWOg53PncFS OzyVMYAJe7dGpw2+p4YeCszmHTu1DOuM9sLG0K4/HbADp4+qWlGZbYAu3CHV04mOaOzZbc rA/N8P1t7SKIpmrMcQh3XpwOl5ZPBgieHqtubtgyf4wBRkDkxVVBeMi++4GuvWTw/M6yJS 2nRO2hr+LFp+6ALSyPkIEAY6GJ47Dvz6T9IXQLYZ9UEiHlY8zOBK18B1LjLC8Q== 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 4dSZ505PSSz8JC for ; Fri, 12 Dec 2025 16:03:48 +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 5BCG3mR9089896 for ; Fri, 12 Dec 2025 16:03:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCG3mtP089895 for net@FreeBSD.org; Fri, 12 Dec 2025 16:03:48 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:03:47 +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: kevans@freebsd.org 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 #36 from Kyle Evans --- I'm not sure that actually makes sense, but it'd still be good to confirm t= hat CARP is actually a requirement. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 16:17:45 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 4dSZP61jfYz6Jrxk for ; Fri, 12 Dec 2025 16:17:46 +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 4dSZP61B5tz3p3J for ; Fri, 12 Dec 2025 16:17:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556266; 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=8zG7N2WQA+SGNAIBzJ3v/p9TqOQ2Dx+LtON88+IXOeo=; b=ZY4LjLj7TgtRuWXYnmIKmgGQVYh8BW+RLGYSprNRn1MWXGGyOGeHEEV9Puo2LvsE5Dp19c 3znbVDopp/pGv5jmUDDk1Vh/foTItK1SjZlWNocssWDpceO1zxNb9gW0SsOM6EpOS6lJQw GNCi8D884bltyNUoCgkOzcC2J7mMsLR9DP+MLT8PufOvijJ8M6QH7O8CblbfyYj0w5vwvQ MDy8Bw0JDkbqgeNcWXfeEYlgcX60V5qIXSy5zB6AgXUBEry4QmFxGpiWqwRpeQp9ezWeuj raUeau5kp8LNUX0v6UnibwscmXIx5yp6YTMyLJleZt3tX+HGWCiGGdslh7vgHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556266; 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=8zG7N2WQA+SGNAIBzJ3v/p9TqOQ2Dx+LtON88+IXOeo=; b=oyes59BX5bJRaBqUhybNLrN7WUkb74PhK7xYMpHWDz3BXA7+QOqSEI6mcDbWsliEj35/dA GoyYl14ZH3jSQxh8RS0LS5MJ7GqRmxB/OkxBblsUn186GaXH1IOO4F4V2Xq+YwhxGp0Z0H 9mUgUr7VobQvLxRP9cP584Tf3PJwWUWUu1cKqnlLnFS6o6UgGW2k7cT+QdCbKxnfpzzD/O y0cJNIlfsR+adskzID7weCelKncnR67yvhi/jUBRZPlLjMQJ4C3tHmajCKmazLNA7b6b41 87x8OsgH7BC39m/tWnmKgAjZddT7kZl1ChvS9Zh7gaDfzst0nHiYDnZ3A2LYAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765556266; a=rsa-sha256; cv=none; b=p1ptEr7a+qqAWILc3Eb+J7yxCzeu4fQIURSMnPAelrup7gGVzooEQl78k4sJPJbUvdKCCV Nmb+LpROXm4gqHdRE6arL0d0gTiRPpOxFMNgiI86MXrvHeeXPrylGsC+/no/thOynbOJeI VDjVu5yq/BiM70PWj6LH20B9nJldf4WWQyF1B+fi6Hr58xMJ1aMa+VCgOouP02z2sQsYV2 s9Ri+hmuOZ8F7AHmWrrOAmSB0LLeDxzk2L6LvKVT3kaFUsuN+Vty2ErBXGjn3eUvgxcHBj PCR2LfFjdxO2tiUKAADYy5o0iJYppnUSjYMw7NaYzhTESdRBH5TSuoauLgNo+w== 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 4dSZP60hlXz8WS for ; Fri, 12 Dec 2025 16:17:46 +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 5BCGHkgt016070 for ; Fri, 12 Dec 2025 16:17:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGHkLG016069 for net@FreeBSD.org; Fri, 12 Dec 2025 16:17:46 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:17:45 +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: kevans@freebsd.org 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 #37 from Kyle Evans --- Wait, hold up: > wg_socket_init() runs with port 0 and for each wg interface with the corr= ect listening port. What do you mean there? If wg_socket_init() runs with port=3D0, that means 'random port'. How does it then have the correct listening port? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 16:21:09 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 4dSZT20Dp9z6JsmL for ; Fri, 12 Dec 2025 16:21:10 +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 4dSZT12Kffz3q13 for ; Fri, 12 Dec 2025 16:21:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556469; 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=1i0v8Q7i2zcZQfAMALy5s/FqnTITHMh4wFjzbXSW53E=; b=bk+uCN/Lwhr2J72wLdDOSEuqC0M8ErJKLYYkhs6lwma82SuLGujGb5rgLnH6Dpn8NY5NGY Ejmzp7Nd8kJP5ScW4XCmDoSvOyB/NBVjUd4y6W3d2oeiFNEyUU0aRDZMu8CuJQ/FoMpX4a xppSVIalHP5MUWdajDeOzgrtOpV4xHQl4X0Y0jHqmEQfr5kawJ2Q7Idh6hTKexn9q+ZAzH MjWtahCxcseBs4GLVkisGZiz5HQTLbv9dCc7eCKuKpvLMW9b1CuqVOcM+opXQyxTVhG4ax tnL9ajCwHd/FpnI7EGgG0PMKDBc5205DNPTfvvAzrqidplf2iTS2fcciNCGDIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765556469; 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=1i0v8Q7i2zcZQfAMALy5s/FqnTITHMh4wFjzbXSW53E=; b=HefTYusr7VgV8kgXmCdU87L0aUjpwA0OfxG0qfojQSHKopVkaxGFxrWkMgMFsFZbSgW6uZ fz53/gvKgXXEYLebEYWQnCt8r0C2TNWhcJiRB/iEvwEqCEyVP20kw/vRlEdlhhgaj1I0oT CNiH2msrW6yzlIecmiIsBLj2W/LEaqhXEliBMcy5zg97TcCfUXvy9sG+IOpKWNN5O0Ax29 mzndSXJ6qa6X/b4a6423HKFYansHDv+aqKjcyjrGhlHevRJCm/ce23U6O62RJWc/wAjluf MusgxuCjTr77zbd33PF1PziZlHG7oIGVgHbAZ62Xz/lKnutqHKgQ+BTYSIoc6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765556469; a=rsa-sha256; cv=none; b=NXtp8tsY/uuZMNrz+zYWtDOqPX99q/w6cA85HwK5O7ZbGO0OqK+to8JSvu+mVl8vXZZXKC 3DJs/V/u51ATcL0ksZ3oT2ygeofTs7/77k9NavLzMIfqJefdPi0otAs+QdLgBQEu2l7E6L qlppUpwXznyBJ85CYRHiBzn4Ab9GmNcB3Png7vGrxkH37wN+UyWmQsyumcftRStdUcMSsg CHj8bEBqhEK6P+5JG4LDdU2nhGdPpVhDcwe41HO2x59hd02wGUa95yXZczotIMroBGP1rW EaeHDR3agI0i01gvu2D4CH0RHvXu6uJ3IPT0QoX5TvQOJUB9q0kReRMqLbO0ag== 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 4dSZT11wlMz8J7 for ; Fri, 12 Dec 2025 16:21:09 +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 5BCGL9Hi021120 for ; Fri, 12 Dec 2025 16:21:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGL91b021119 for net@FreeBSD.org; Fri, 12 Dec 2025 16:21:09 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:21:09 +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 #38 from relvy --- (In reply to Kyle Evans from comment #35) > Can you try to eliminate carp from the setup completely, but maintain the= inbound pf forwarding and see if it reproduces still? I eliminated carp completely. I still reproduce the issue. In my first comment I wrote: > I got Wireguard working. That was before I moving into production environment. There I set the peer endpoint via ioctl. A binat reflection rule on my local firewall (=3D not the opnsense machine)= did the proper port mapping between peer and wireguard server. --=20 You are receiving this mail because: You are the assignee for the bug.= 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.= From nobody Fri Dec 12 16:35:25 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 4dSZnY6W4xz6JtpJ for ; Fri, 12 Dec 2025 16:35:29 +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 4dSZnY5kxDz3sWl for ; Fri, 12 Dec 2025 16:35:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557329; 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=NlGAJwiner/0xmyKvQmm6lPyb74ORmgYhG8BU82SbOU=; b=L+cmhU49vQn/bI19iTIiixsn/WKv2KVGOvWziAouh81YgnjBF5Sv+3EKtqmo1ltQ5X9rt8 xFoAYEGJ8mVviz//z5j/5P8O+y07X4UHMmDNHIqS4uCTvikScYj6Et9mGJB2X8kDD8Vqk2 jZiHgqmVq4bbK5ASXUo0g4aP9DwigWb2XraaD5F6NJBdjWab+RRlKHbZbH+yKNuufZ/SZB rSs0msTATKTh4KvhQ231UtbeKtTpg7eCG+/i4jt3htbHn5Kpkb3u7WMFpdsKL9Fj60gt4M jOhzpUrn8ukNAL1c2EUU3IAws3VvczYq0C4OVsZrAkudV8rgkfld+zdN3ccUjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557329; 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=NlGAJwiner/0xmyKvQmm6lPyb74ORmgYhG8BU82SbOU=; b=cqCCYr6kok270YhHP9Jz3euaGrjEVargANaqGWT2uToGaMXsWqpoUKo02xsyLHOzp5GtL2 HDzor+6Ip4dP2vXtidk7sGQlzjhUz/LIr9k8DSHQQiPITFpWdEc+P83tO/+aypQ1Fm7n42 QZEbFo2hGNW4MmeSudXbbaD7s9Kbp8OtuDRblpVpFWSMoNFlu7/d4k8e2lCjaTtaXBbvyf HE4qaOPG/efWMmw9n1EAOCRDcG7dDPxpPEdYxR9UntbFoUAfF/p+fGzKJ3TFo2Qs9JZwbF 8tFFfFXhutPBOGYfmv9/nWIH0mazSdiExh3vXwo2lKbsWB1VOLQhSjqVR3ySmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765557329; a=rsa-sha256; cv=none; b=qE/KSRW8Mq1+f40HgKkDAuYKfQozK9X6pwGH+M/jAMDp4COCS7Fwbom8oSO0fU7wOYQB26 OzsgvsDdTkXQXzN+cjuA9rWfDIppCrEbSJimOUZdPh7hwNPan7Yn93fZpU7AFTIY361HeR bNax5r9DkedLzBBXuMq4T3cTu0psDLjcmZmswj4PNaOYpKnOONEAO/y80pEy23+H9LpFSW erwDzZNZsyyx3NUNxbx+xslhFc5aK9YwM7FW2/ACXvpd6SU2E4cD4B0x5zDUlnwDXU2gr+ 7h6lymAdTpRZTrSnC/V0xKIkjKETGrlItUusqzBGP8O/kWXgtUD5XxKF8QrZPQ== 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 4dSZnY56v8z90h for ; Fri, 12 Dec 2025 16:35:29 +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 5BCGZT9G047492 for ; Fri, 12 Dec 2025 16:35:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGZTF8047490 for net@FreeBSD.org; Fri, 12 Dec 2025 16:35:29 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 118111] rc: network.subr Add MAC address based interface renaming Date: Fri, 12 Dec 2025 16:35:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: easy, feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: maintainer-feedback? 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=3D118111 --- Comment #12 from Mark Linimon --- (In reply to Zhenlei Huang from comment #10) Bugmeister note: as of 20251212, D39689 is still in "Needs Review". --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 12 16:37:26 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 4dSZqq1fdHz6JvNb for ; Fri, 12 Dec 2025 16:37:27 +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 4dSZqq0tpPz3t2k for ; Fri, 12 Dec 2025 16:37:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557447; 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=W5KQDnM+vMuQrjPF1SfHVOHx4Vxcgr0T/nG7pNkG3pU=; b=DnyF1TIF7GdvAc08VC7Mq6Couhdqw8DOkgym9FbOkfQWumHPUBtgTksI+qo5OMpLu6wrae lLW0h+Ogpsm0HF9YNgvJCZr9cKcXFp4m83XD3eq84eXxKBiG78CXDhGfHbSLOmKHK0oFuJ 7RO9mY2GYAf0gqxwL7ttEU/9mTKnvMjSdgJFHQ5OT+3p3cbMTcUFoIjx4/KrP6pApOIcJx FWElM46f3F4DptizZkyRT4wSJlM3AGd7/kMkLb9RCdwUaP+Ya7r17355E53C0vvr/+iT3V iz7cEFAm/nvgrZKv+McBJRBdjNeGk5iC+g60Fu6zBFvUCHRoHfsnN07Bl9KhHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557447; 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=W5KQDnM+vMuQrjPF1SfHVOHx4Vxcgr0T/nG7pNkG3pU=; b=R4GMy/Zky7eCI5hDRtxMcuKqkCShlKXIq2n20Dv4fP7aHDu/nLjeSihOugI1+wj9kMIplC i2iuEEYN6VYB5/cLPxp61Z7zU3B4f20jJdpsvETQV82paHIZyebTRAk0P14zKh8LRzP/Cl 3+eGndTOSlqvBUUVGJMPAf+OB7k/wnvfSp7spZejo0Q5NFK0kU+d8D+zlENymrOb9XI6b0 rynlA50EvfnDGBZkzSLstX3lfmQy+d5nEukl8hIr01kPOmFU9CFaf1nXpR9gLVn+Ssq6tq pSGV4QyMByjwsUtQ32hMdTHvguAoQiuGopYYpmBaFrD1nx2dVdQZKBdx+ywOZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765557447; a=rsa-sha256; cv=none; b=yTccdJ9f0ax2C5TBrpMwSOB4l4qknA3KUswsxC4d77vRd8B76KQvF+qrQNC7jy5rT/A+o2 4N0YgzWYQzA1PEH0q47kWzrxepeVgu7qLNAppo1AqooStEC88fGsEWYf/mx9Hphipu8ztb rohGdiRUGol+7UP46JdRWdZwXu/tWZ/CH+U9JdsruguhM8HE6kkJz7pqZj90YvtggC0bvD i+zNDxBNRyvEoKGQbrrp2tvGwv0fUjZHDA98KPkbRkKXEk3ZbZgbzOC7HmlME8eoWewprd SGIdRReD36lumWiBvQtpLZ4ks3uFSFthCElTIXjllCX4mYtvaObYhMd622Urog== 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 4dSZqq0Vbbz90k for ; Fri, 12 Dec 2025 16:37:27 +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 5BCGbQd2048976 for ; Fri, 12 Dec 2025 16:37:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGbQ5U048975 for net@FreeBSD.org; Fri, 12 Dec 2025 16:37:26 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 118111] rc: network.subr Add MAC address based interface renaming Date: Fri, 12 Dec 2025 16:37:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: easy, feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status cc assigned_to 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=3D118111 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Open CC| |bugmeister@FreeBSD.org Assignee|kevans@freebsd.org |rc@FreeBSD.org --- Comment #13 from Mark Linimon --- ^Triage: with bugmeister hat, reset assignee and status. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 12 16:55:54 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 4dSbF65jffz6JwDl for ; Fri, 12 Dec 2025 16:55:54 +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 4dSbF65GpDz3wtM for ; Fri, 12 Dec 2025 16:55:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558554; 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=HuIOpg6A8a8MvLFca2k9vxhgPUVKNtoONguTGXya88c=; b=rTgF4sx5tJ+feY9xlrEo8caNxytUijA41oXT1ZwHFFBrtMF71rwR51oMeEj5B0J7sGowKt u1XnubEpSoIbxjvo9c2OrF2CGQ4ZQS+UrgWn2xdmb1tAIGbdtnNyFSa8W09DJ4RKDIbqNN qgWkS6iwNDUeR0kGWciSYKw3XA/uDCK9nRcugO9a2hnBzhMncBsrDdLNG5i3nQiyxFfj4s 33w/NhrW0Y1rG6WuskRcmRZrU4c3JKLau38oEw9Gry9cA58KQ7vSN2PlKQ/Eolv664ptnw SfLFSk0JSnLI5XXuGDxlkU3aJklv3zsKUEdfe/4yIn+ORqGgB6gTWUzuQ+cNpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558554; 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=HuIOpg6A8a8MvLFca2k9vxhgPUVKNtoONguTGXya88c=; b=Rp62GqhmESA0cgFTXX1xXGDTXeRAfS6Ey1mN5U9/27e3R9zyJ7/71J0RFwCoO9VEJPvrmn YF9mP9xEzLN/fzS7OqxMERq0SReMw819kbFwMpqg+ciwUm/YNaT0Be7AwNQKgpE+fLfKT2 RKTvdqS+o+KDfq61CXqNL0DjSxjDDCzwOrzeDHaOc6Y9rCiWy+vToJaZTJ5Z5dnfJgecwK 07e4O+nndB0O2zewsEhaafl+tEGFhi32jF0vv5CmoIcH1UELA2OPUlYeYOLomCDOYmqyTj G7gy/TowQp4DZyeG59mkx+Yp3NKxcqrcvVXzyGqUco+XgG7Kv+m2p+9ChlfnJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765558554; a=rsa-sha256; cv=none; b=ZaZeDd3BpUyJav5FQ8mKZvdlUELvWGnSomsjD9LsG7ZOrVEjxvVMD4uWB3smaZZN0bwC5a sZZlUAlWJ+PsCxi6sRUlYb2QJIjjEzSBAR7y6IxwgeAvT3nk61PySqXonm3oCBMtjB8RBs izgpuQsDcTlpo64E9ldyJkCYZytNPkjXE28BZ5k8KNvh61N8vyvvahEI9NofX5my5Ju0Y+ IQVOtW6IZC3HhKpRJW8SXOjSGtXriWLzL5GJ9d7eh0XXALGDjnS8ibjWgFrPOzE6VGdpb5 P6bB6rWSpx15j2DatgFAo75K2YCUnTAf9L/hoPCekj4EZtVO0j90Txknc98eTQ== 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 4dSbF64pFvz9cx for ; Fri, 12 Dec 2025 16:55:54 +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 5BCGtst0081017 for ; Fri, 12 Dec 2025 16:55:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGtsrj081016 for net@FreeBSD.org; Fri, 12 Dec 2025 16:55:54 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:55:54 +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 #40 from relvy --- (In reply to Kyle Evans from comment #35) How is a inpcb created ? Is it possible that I have three inpcb's - one for each wg_socket_init() invocation? If so, u_tun_func is set for the inpcb associated with wg0. Another u_tun_func is set for the inpcb associated with wg1. The incoming packet gives me the inpcb associated with port 0 which has no u_tun_func. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 17:02:46 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 4dSbP35DDyz6JwdW for ; Fri, 12 Dec 2025 17:02:47 +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 4dSbP31flsz401N for ; Fri, 12 Dec 2025 17:02:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558967; 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=S9JBcA6gzrntdmttoFL7IlynMifBMlVV3ZzVqF3di9I=; b=rNzJV7LDSJYthOcnkfbHk42Or3+QhkPkSpOwq/qSXK1tmM072NjWxqTASRWpix2PIssWpI BYHhNqaROnYT+NaD9kmw+LzdfQ36gm9mIdDKPzxVAyuc7jtDgsbGxO9RHXk3tsdS+1Y7wy QXBwcoA4MBRYpNYrkvJaIQZNMs95DqOV8oei1pO/edBk0sXjMydpxMPW9Oed6J9G6003a/ pI5/nfm5zEGX+d78QKjT8VNrh3Vop5t27C1FpCrxAXYDZeLFKJXWrChw/ntD/FmKQGlCLy GwkI5FG9I8+fV4ie+ArWVWufe2MryLVs6vWkXGzNjaM46CZjPb+OMP04aF+ZRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558967; 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=S9JBcA6gzrntdmttoFL7IlynMifBMlVV3ZzVqF3di9I=; b=T6Ip8Ldniz8UNVBORURXjYudA+dcqzzZLAl4MXS/hzQ3VSNU1aRv2Yfl35HD/ffUP1uol4 RTzAQWY3HpDD7JfD9F2OcMaM4Z9cnVf9zyJC8EXlrzetnw3Nc5WwehwT3rjtW790sKenws ZShOkDhq1Z14Z9Gq0u5v3Sm0lgP81sUdRIYAWs0KiYy8Ip6a3IW+tSUSs4iWD5OtuM6+T9 QT0z+SiaRZxibR1mhBSC0adHqS9d1XuDh5psxwS6TstZ1H8Ze+Cv7jd/oz9rPz1mM1xlWt AHzoO21sJjCHRT/CMclJ16zXIwKp+wS6LkMmkTa2nNh1KF8nFHOtL8rbuZsgVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765558967; a=rsa-sha256; cv=none; b=tM549aSxn+sNtwkzN8muEUZSqTucRDqHuynEQKRn8JOM9iYOMb+fZ/0vhiJSFUAdJTBvi5 /qYWm5ckT+4bV0swT+haD0pa6xBvsqt/RtAHdOjmWEa/YzPOP1yII/iuTdnLe5XQMeEK3F CcgcvazzUJ0Hq1yWD8LnZ303odS60QkZhvG2g7hhokEC0fNjXIP+UcUWkH5z54yLH3YciO wGnEJNc1BVBK0cjBQ7J7afMZU6G7PqXrxC4zqJ1JWrr8UAtLTM11Z+oz6IqOmO5o0srcs6 VtxJEf20fBGjPGjPWzbp0BE1ENG9YPafR0TvID1i/hJxkOotNBVIecDxDrNFcA== 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 4dSbP31F3Mz9YS for ; Fri, 12 Dec 2025 17:02:47 +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 5BCH2lfo097646 for ; Fri, 12 Dec 2025 17:02:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCH2lfc097644 for net@FreeBSD.org; Fri, 12 Dec 2025 17:02:47 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 273051] ofed: ibv pingpongs not connecting through ipv4 Date: Fri, 12 Dec 2025 17:02:46 +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: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org 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=3D273051 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugmeister@FreeBSD.org --- Comment #2 from Mark Linimon --- ^Triage: to pkubaj: if I understand this correctly, I think this regression was caused by one of your commits? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 17:44: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 4dScKK6wpWz6K1kv for ; Fri, 12 Dec 2025 17:44: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 4dScKK67fbz48lL for ; Fri, 12 Dec 2025 17:44: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=1765561477; 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=k3RSecvj9m1KlB7441pjkvKHgxZ8pGRZq42GKZ/I+DQ=; b=ovzmgwRFZLNuRTpYyw6VO1HjsZJErjdY6fEM9pSaH2mfrWG+z4/QEhOK0bRWe3XgQugIsy WUd4qFG3j8xzcSMBxmF/UfOxetKnGWBWW1A2eDMe803+C3sFYrUAmT3afDRE97WO5kxHd+ 7sNux7EdPcp1P6frVxg8PG0p6GdMVLh+vNCfRckfOseSSW9RhZhQbLYfpNOR1ckRZRk5sI BZJJf9l/j8B3lFBQsglxd/CE9UCAic4DRFyk9exuAXiVUypx8YKLiICoGa3cEDTuUjN44k aeD1rzO94r5NScz3EjB0jHBfFnzXh/WqloDb+VVaHC4eEAxUVWdVCmrmmVQi2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765561477; 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=k3RSecvj9m1KlB7441pjkvKHgxZ8pGRZq42GKZ/I+DQ=; b=IP6x4sXkVQqDlxyKR7BgTLd4CLgen0FM7igfPlI/QPTm2pYoRFpap3zlolKkPNMe0Rc1jQ +Vr7/THilagVRkGeA9pbLr8hDLSwxKiBt44338UGVuVTJ8EqtlqsWDSM10y+jitlTV9cK/ NVvlDDPdeYVYazcc512yJLTkznFRJ6x2A2ttEuEaWyL3wMCLv2mqFNBRNXBxEDNJ416Uaq vgAUBINW247lMkKe34y3JoAQiKK/nOe2Gb6bEzGhTUYj0ipSnvi68jWuJm0DqIw+zWS+SF NnfblvwqA7xSRRupEQVtVPmosZMpuTHwIlZHI5+fgE8a8rGID///HgLzNma7OQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765561477; a=rsa-sha256; cv=none; b=uG2Qd13lft/B3ePVq402ACOzZKwXxOLKxfzD7op0FgT4CL79FV2Eu6hfnZynPMAnS0DH9u GjyzJENKb83eK82IQTsuI0cztM24alRikxAM8xb2liiUKFfwlOUfcnnNOnzX4L0f3rWEYA GkdItTNGbVlIt3eCQmXLEB1AJ0hZt/UQhhy0mU5JhXxZF4+43zL50AjU6lOqfV+uPZkiKH pZdGmVEKsgmbxDqqCoewdB2X9lrJyF9APPCSr7YTrlgTXlf8quHQ2VNvN2Ei9+Dqfsk88l rO8OQLYFwcC4S/dbqls6SNL6v/vxR9blgCtDIzPCR49M/RgYk1SlBu446gTEZw== 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 4dScKK5kRDzC0N for ; Fri, 12 Dec 2025 17:44: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 5BCHibdr064076 for ; Fri, 12 Dec 2025 17:44:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCHibiX064075 for net@FreeBSD.org; Fri, 12 Dec 2025 17:44: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 290793] iovctl on mlx5en won't work Date: Fri, 12 Dec 2025 17:44:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable15? mfc-stable14- X-Bugzilla-Changed-Fields: bug_status resolution 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=3D290793 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #24 from Mark Linimon --- ^Triage: committed via D53902. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 12 22:25:29 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 4dSkYP6MVlz6KQG5 for ; Fri, 12 Dec 2025 22:25:29 +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 4dSkYP5qgqz3f9d for ; Fri, 12 Dec 2025 22:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765578329; 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=x5b9H3ZTE1ilLPOYAPQPGWzq++W+2XSekrqXzsaxw/M=; b=bfCszO5iav2lvN24nuOQ8XFSEq7W//O9EaO2qBFSYsgvkxMJoPnP0p24YCsMWM6ltjGL9W wjL2KazJgO0K/psCcTnDqPtUWGtoZmFpieGx1JeUMm7xkkd4CboB/Omfv01EdSI6Cg4XR0 wMY2158e4ESDwRcgQTgX8fbxrs/umnQBYkweDDsT8HBFOccTvJXpW0zEd+luPDxD2gDhPw W/GvkcerIXRvXhzgd+rigsNaDnaptn6PhrI8ypQS0245GvMHjhEKnNTnmDb41PBZW9vDhZ DdGpuD7V9/e+kuvn6zReRKFTlm0vmbcd8VmJbbqhGyCulrIM+7hdBqXNSPkvmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765578329; 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=x5b9H3ZTE1ilLPOYAPQPGWzq++W+2XSekrqXzsaxw/M=; b=Gq34pIWEtAe3TKAQZADqZBz9shDAfCqe/KJwmyt8MLGZc5iPGkiforKxW3KkNgcXGDNnPP BIuDRerYwTs3iCxJVHDgh/g3Q1/6Hu3/JxJfBkgBc58l4W5AH4fWBGckPDQB0ZCavejexI VcR/PB+qdEGJiidTjymUmunWHstTQie0YIBSG7DR13kHNGGK8xP4tOmGaAz5VFNYor9VeE 0u2x7VEz7J+Dp8Fsh+kVTVyM8Y+LsvSXGnc2ubYbzozksFpDVXPSHXMAS7FiAGxvicI15s LzgoTDieFquQ/rZMGPyHnG5EOu1dJbJQLZIjw1iwvacMMG7ayu2ExcVoYRjUyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765578329; a=rsa-sha256; cv=none; b=BUFZHQVTKToEI9BN1TMIUtAkv4veds2Tk3BqdhL+xxUQXty/JALLQVPVYYhGVX+V2WW0Je JSm0vXV5qz+Tdhr4CJs0b3CETEuU3GYDcWLi+OM6/PJ97/t3lpMNucb4KB7p/A+H0cCbL1 B9m6Wz7gGWj3sFPTm9bcn5fyuc4s/yGh1Cng//U1rM/fJu5F/IjRzWNfcwhzXrMal2hx4N OAO66JR4ajHzjiTIo2IFsUWpmBZ+MlXYOEI/c3jeFPEVAGzvQUuGGoY53v2dwxImgOtxTb G+ZBKlJjrgToV2R7S+2uEX5OCTDat2ZvuctxNuoXgMjTzRr47Xiae09ayoMOQA== 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 4dSkYP5PnDzcd5 for ; Fri, 12 Dec 2025 22:25:29 +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 5BCMPTFE066698 for ; Fri, 12 Dec 2025 22:25:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCMPTsf066697 for net@FreeBSD.org; Fri, 12 Dec 2025 22:25:29 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Fri, 12 Dec 2025 22:25:29 +0000 X-Bugzilla-Reason: CC 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: leper4@protonmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 leper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leper4@protonmail.com --- Comment #22 from leper --- I encountered the same problem with a slightly different setup that does not involve bge, and then reproduced it on 15.0-RELEASE in a VM with only vtnet, epair, bridge, tap devices involved. A bridge with two vnet jails attached to it. One jail running unbound. The second jail running bhyve and an Ubuntu VM with the vm jail's networking se= tup being another bridge of the vnet epair and the tap. The host handles routing for the bridge network for outside connectivity. The VM cannot use the unbound server running in the dns jail for DNS, the U= DP packets have just a partial checksum (according to Wireshark, and it just n= ot working). The VM can use external DNS servers just fine. If one disables tx= csum on the dns jails epair interface it starts working. At least ICMP between the VM and the DNS jail works fine regardless of the txcsum setting. As does DNS from the jail running bhyve. (Out of curiosity I tried if adding the patches for txcsum support for tap devices ( review D51289, review D51291, review D51688) would make a differe= nce (but still on 14-stable) and that also did not change anything.) If it is useful I could provide this test VM image. Host network ``` bridge0: flags=3D1008843 m= etric 0 mtu 1500 options=3D10 ether 58:9c:fc:10:95:97 inet 172.16.0.1 netmask 0xfff00000 broadcast 172.31.255.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 bridge flags=3D0<> member: e0a_vmjail flags=3D143 port 7 priority 128 path cost 2000 vlan protocol 802.1q member: e0a_dns flags=3D143 port 4 priority 128 path cost 2000 vlan protocol 802.1q groups: bridge nd6 options=3D3 e0a_dns: flags=3D1008943 metric 0 mtu 1500 description: vnet0 host interface for Bastille jail dns options=3D60000b ether 58:9c:fc:7f:2f:6a hwaddr 58:9c:fc:10:c5:5f groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 e0a_vmjail: flags=3D1008943 me= tric 0 mtu 1500 description: vnet0 host interface for Bastille jail vmjail options=3D20000b ether 58:9c:fc:6c:b0:ca hwaddr 58:9c:fc:10:67:eb groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 ``` vmjail network: ``` vnet0: flags=3D1008943 metric 0 mtu 1500 description: jail interface for bridge0 options=3D20000b ether 58:9c:fc:6c:b0:cb hwaddr 58:9c:fc:10:13:af groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 bridge1: flags=3D1008843 m= etric 0 mtu 1500 options=3D10 ether 9a:e7:95:53:f9:56 inet 172.16.0.2 netmask 0xffffff00 broadcast 172.16.0.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 bridge flags=3D0<> member: tap0 flags=3D143 port 11 priority 128 path cost 2000000 vlan protocol 802.1q member: vnet0 flags=3D143 port 8 priority 128 path cost 2000 vlan protocol 802.1q groups: bridge vm-switch viid-4c918@ nd6 options=3D9 tap0: flags=3D1008943 metric 0 mtu 1500 description: vmnet/linvm/0/public options=3D80000 ether 0e:79:d9:96:d3:03 groups: tap vm-port media: Ethernet 1000baseT status: active nd6 options=3D29 Opened by PID 10785 ``` --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Dec 13 20:30:36 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 4dTHyN33QHz6K1QQ for ; Sat, 13 Dec 2025 20:30:36 +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 4dTHyN0Wcnz3r1y for ; Sat, 13 Dec 2025 20:30:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765657836; 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=ApOH5FXt/OP5UarAavHDn6BKGfSpvtn7k4cz7dOoZeY=; b=KB7/jvYwtTohO0IZQCUhfAkI81WTud4diFazQm96WYftMmKuC7Be80G4cBmRzUGy6lj55A I4ihQv5GKdhJJNhp+XyuOCPxfI7cECr3Hq9tCOpy276pCygjor4GYNUd7G74Ec2QxcDKO0 Yew7cFgoisRDiupmyjAH6Vs5Iqsh4zF4A/vATW53scV7Xxvu2EbZIoq1ItN4gk0JluWK29 WGDdPQ3AVzvUuVzyR3qJEOOcVtYtR+FveWAErCVOCkT2x0RHn5vojVzQPjQQI5K5KarkfU f5JVz0A5qMBo4icNqn1HNb8/3Be8uu2FQrQPlCYyEbo6S6Rb+uot1b0e3b08mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765657836; 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=ApOH5FXt/OP5UarAavHDn6BKGfSpvtn7k4cz7dOoZeY=; b=AzqhtMFEYk9J1Jt5zIM4qZcFtBhQy80DOj3ekPAvu4yd33oh/oPpPJ8JN+3TOxwnij/qk6 Sin2Yy6dvO9iKK8gJn4ZyJcBggkP+4CYC+oqHgDKhc9E+m5q2efByjGLS2V4rXy8zYOxPh U8bVthN65tk2avoDD5Ic4KWE5UcEcSXMjGuQPaZx7iCSfP7NK33kzgwdoTAM2o9JOJate0 4QIHYcGI8scoY1etTMEgOuic0DVCND45fYy6kkOcuxI/Wp2ozn9iQMP+bvOTXyK8pQgtGB +mCmpKMLpLiMAhQYWUI3v2I3lCwIqdjzAWxiM9CQm8JDnk690xDuC2chZJ9S3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765657836; a=rsa-sha256; cv=none; b=hTSs4N4XMSffqGW1/Nh2n6O4/5YDLYstKNIYBvRoFrDrmLbgBNwkKSR1yWGDHV729Ulrav PO12kbT5Q5qIGIvBF1AyHTiSMf5apkNrvvXtlhXMh3yd81KMLIEif9FLROPN/uDHrveHbw +4LPGDsIX+gpuhHhTMw2hnWTvqsxeWVmPgaSOn4/cHhknijPCXjkhY8GqfPY7qYFwJQ4Y+ bENFi8mkkXdOvkZF/HoaPrTS4UmFrFoItKLDBNzbzUNW/SRIMicqjNRSxbV61g58qYaLRs MiZd6oKW4zMkPZwmpeVhsVV4qKIeS2tsN6yqi2TNsJT2EsXats6gUFZV+fyCDA== 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 4dTHyM6zXhz1HGH for ; Sat, 13 Dec 2025 20:30:35 +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 5BDKUZTI048537 for ; Sat, 13 Dec 2025 20:30:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BDKUZRO048535 for net@FreeBSD.org; Sat, 13 Dec 2025 20:30:35 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Sat, 13 Dec 2025 20:30:36 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #23 from Michael Tuexen --- I would expect that in your vmjail network the bridge0 would disable TXCSUM= on vnet0, because tap0 has it disabled. Did you manually change that? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Dec 13 21:30:00 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 4dTKGw6QTfz6K65C for ; Sat, 13 Dec 2025 21:30:00 +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 4dTKGw5fY3z3wvh for ; Sat, 13 Dec 2025 21:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765661400; 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=ZjUQq3Dm2uAfCvpaooHDgfEfxDQoHV+KPGtAsQ55mmU=; b=NWBpN8BfptTIodqQybggDliGnmz2elmArWdi1CNodxvs7yg3klOSOyc9/V+cQ5WHOq25Zf JWuqJLXHs+kMs3bNOzzy87uTUDLDBH+b6VOhjMDr0hX5oETWhITESxVQL8vMDqjI88nSx5 H872yu9nSYBOTX6tdiWz2iEDFWgoQEsjUesNWhPVPXZIHgw8BHFj6d47WkoDZjWQHGygP+ WYhLaC/wQqttNdPVTtEYTAKOzadQiErYkqAsdVay9P2OPcwLg4b/ob95ok+Wvca5tzDgAG tftfYjJdl9siYsrIgxoU7friUj6cg+eSO1a3cPWdtf1C/f/31r2vW+tQLCbg0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765661400; 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=ZjUQq3Dm2uAfCvpaooHDgfEfxDQoHV+KPGtAsQ55mmU=; b=bRHl3r0X1M6bJ2UldDLtNHsNjMYyhsjj7LXMzoxU0v6FqotlOjE6Mq8oIMDtpaCzwDxi7j e2hvDM1lv3EA/ugLhXfRxwY38QQPrGwJQL4NMJsZQBINOXF5X8c2ssTLwZKR5EVN27dXKI QcDU3EToUiThW/TUP03t/P7zUGx0YGsWUFf/4uhwf1+je2KM7QkTfspR6HK7DHuilCLukA AZtfAtEopdUDzJhvwNhTRzPgr848cDvCz/ixikclyJm1WRgzg4p1aoQO2lFmB3HhRudMqn THcOc9ReYXwe8jW/3pLPh+zqiTSq5S4JsNNNNXA3u0FjCI1twSe2adL6dOYJ9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765661400; a=rsa-sha256; cv=none; b=Kcdlf1JTNLX/YPT2nyEteRgx/npNrLa1f3c+d+jevJrCjnG0019lN7eYenIeqQjw31XDi6 eYN+S5dztGMVCA1wH0Ac95+KKsI8GGTgMSLVsQQgS4pjBPgYXQWUkh1fgtCRHX11RM/V2y 3+Tjz/i40R3rEX2NXiEu2ipzVLhA3mceXZ8XUOcI2yfYN9mKGa2HRs+opwiEA4nbJtg/zm L2HQu2DREX4RVgJUB2mrx1IPb8mfX7LYB2XyWSOZb/TGep9YaJidt/L0FzxXc/Y9GrgeHc YQnzr6LJTzdAcSABGPuQqnSKR8AV0PyOdYQTy+fLUPMvgGRqIuZL0Yo9EbkWZA== 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 4dTKGw56XMz1K1t for ; Sat, 13 Dec 2025 21:30:00 +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 5BDLU0Os048350 for ; Sat, 13 Dec 2025 21:30:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BDLU0d5048349 for net@FreeBSD.org; Sat, 13 Dec 2025 21:30:00 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Sat, 13 Dec 2025 21:30:00 +0000 X-Bugzilla-Reason: CC 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: leper4@protonmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #24 from leper --- In the test with the few applied patches for txcsum support for tap/bhyve on 14-stable I manually changed that, yes. In the 15.0-RELEASE variant (which the network configuration is from) I also manually changed that, but given it lacks the txcsum patches there was no change. I'll try to test on this configuration with those txcsum patches to= o. If the jail's bridge turns of txsum then somehow that does not seem to propagate via the epair to the host's bridge however. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Dec 14 03:34:40 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 4dTTMj2gyzz6Kckj for ; Sun, 14 Dec 2025 03:34:41 +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 4dTTMj0t81z3lH1 for ; Sun, 14 Dec 2025 03:34:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765683281; 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=lwD6ogmtTocI8bo5IIHifEmZB2x/PuE1I7vAhl6955Y=; b=RIF200DjjXeoDZumrEJIBYP7Zpgy68VpvQRduF/pBCN6A6M+6QRjg6re3mLKWrqL8orsj5 Vvqbjdby9fbLyLEIurJr8KPg8vNZadMQ3W5R8fTLbYE1fe3b1f03u66bwNc10mUWNZnjWE qIqGsrs/q1Ox9HX344IBE+LC9utPH5voot4jJFzr+9PuZmSijjaLfR5UAjuu+aUtMEw1gq /ayyy2gQDbJgHKMOF5OK082HXM+rX9zjNZRQaVGU9f82xCWRvz0XgPd+atX95ZkAD3jeU/ NfAAYTP6bxv2a3Oi/0KPTpTNqjbop45FilMVvPbuarkL+pa0xfwPY/8LPhvQ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765683281; 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=lwD6ogmtTocI8bo5IIHifEmZB2x/PuE1I7vAhl6955Y=; b=CNJ6mDO7W/YbwgOUw/99SHtjEc1jeqrpOO3i0VV+BkD385ehWVhtTIi2M1G2pyTMRmUxD4 6MB9ansKPjuHVyhrgba7lNeZMDpfuEwK1b5IF5/4iHkPsFnRdRq0MNiwwv6fc0P2lniG+3 LMfB+jJQETSM+QtBRAaFQ5OP4sszfX3o4HVEExneLTZJdhyeBDXW3EB2fhEDtAvDw/AOBM 3+Y36tqFvbRU81Fxa1uLqGUo9tJi2jup9bhMNk1gcYWDqU3stAd5ylHRLpWLqt9PsBZMX/ jukHhQwOpMnbaO/MwMdtwJj1CKoeiQXCozx/pg/Mk3L2UgEnQmHmhDcCOs7ayQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765683281; a=rsa-sha256; cv=none; b=rlfW67G2WEm0D0si0R6WPXMzT++X5dG16hfbzpdqkQFVSk1PWfywmWzO4Crd1m4kJzi7Wl miFvoCI8d9TxIctQrewr3arOU9Qx2UNnE5KIpUvWoVdXhCm+Lxy+VJKZNj6aT/ywS8vQN3 tiwL87soNkC7TNsQGuSMkhHlMezLQ5zSDNL4nhTfx0fLcHi9LVr3zww+T49wO5C78x++MR 36BbCzQZEbxaM/Ydz2NDuoEhSwzmW2pxaroOQCab529dM2Tnx57pBad31DgeGrrAsgPthP Iy0jmyajpqaomRqXHYtNF+UpMq9VRjyBrHuxqSLKrUIf/MoWDtA6rGryoaQyFg== 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 4dTTMj0CCKz2CJ for ; Sun, 14 Dec 2025 03:34:41 +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 5BE3YeU6008273 for ; Sun, 14 Dec 2025 03:34:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BE3YeEL008272 for net@FreeBSD.org; Sun, 14 Dec 2025 03:34:40 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 03:34:40 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chenqiuji666@gmail.com 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=3D289017 --- Comment #2 from Qiu-ji Chen --- (In reply to Zhenlei Huang from comment #1) Thank you for the response. I have successfully verified this TOCTOU issue dynamically, moving beyond t= he initial static analysis. To reproduce the race condition reliably, I set up a QEMU environment with a custom FreeBSD 14.3 kernel. I injected a busy loop (DELAY) in lagg_transmit_ethernet specifically between the protocol check (sc_proto != =3D NONE) and the function pointer call (lagg_proto_start). I then developed a multi-threaded PoC where one thread repeatedly toggles the lagg protocol via SIOCSLAGG while multiple victim threads flood the interface with packets. This setup successfully triggered a Kernel Panic (Fatal trap 12: page fault with instruction pointer 0x0), proving that the protocol can indeed be swit= ched to NONE after the check passes but before usage. Panic Log: Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x0 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x0 stack pointer =3D 0x28:0xfffffe0068ff2948 frame pointer =3D 0x28:0xfffffe0068ff2970 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, IOPL =3D 0 current process =3D 873 (poc) rdi: fffff8000360a200 rsi: fffff800043c8700 rdx: 0000000000000000 rcx: 000000000000005a r8: fffffe000937c060 r9: fffff800043c8760 rax: 0000000000000000 rbx: fffff80003663000 rbp: fffffe0068ff2970 r10: 00000000000000a0 r11: fffff800046f2740 r12: 000000000000000e r13: 0000000000000008 r14: fffffe0068ff2ac0 r15: fffff80003663000 trap number =3D 12 panic: page fault cpuid =3D 1 time =3D 1765682403 KDB: stack backtrace: #0 0xffffffff80ba8f1d at kdb_backtrace+0x5d #1 0xffffffff80b5aa11 at vpanic+0x161 #2 0xffffffff80b5a8a3 at panic+0x43 #3 0xffffffff8104dbfa at trap_pfault+0x3da #4 0xffffffff81023dd8 at calltrap+0x8 #5 0xffffffff80c85a50 at ether_output+0x6b0 #6 0xffffffff80d21998 at ip_output+0x13a8 #7 0xffffffff80d52c40 at udp_send+0xb60 #8 0xffffffff80c0145c at sosend_dgram+0x31c #9 0xffffffff80c0242f at sousrsend+0x5f #10 0xffffffff80c0aec0 at kern_sendit+0x1c0 #11 0xffffffff80c0b1f2 at sendit+0x1b2 #12 0xffffffff80c0b02d at sys_sendto+0x4d #13 0xffffffff8104e547 at amd64_syscall+0x117 #14 0xffffffff810246eb at fast_syscall_common+0xf8 Uptime: 1m13s Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. I verified that this vulnerable logic also persists in 15.0. While I plan to attempt a reproduction without artificial delays using pure concurrency to further demonstrate the impact, I believe the current result with the widen= ed window definitively proves the bug's existence and mechanism. I suggest prioritizing a fix for this race condition. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 07:45:50 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 4dTZxV09Fzz6Kwcq for ; Sun, 14 Dec 2025 07:45:50 +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 4dTZxT6mF3z44jP for ; Sun, 14 Dec 2025 07:45:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765698349; 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=wMRzIAXB8QZBCinPr8b2guCRLDvgZspJ+sMS9M8oiYY=; b=BuRRJxbCORuYz/pTkViD8zMaT1hcJzmWGEA5AIZivv3YM5TvlJJF2Ok2973XwofWRqA+8U 6b1VZvd/ObJ4nb8taRP+Io0H2sNzfx1dlCOg0lz/uNdk1759/AIjJO4h0/OSxMZAsNGEs+ FwWEksq2AaKx6AnkejxmoYbutgdF2ke8C/W+oHWXafXm/AwL+2EnFCmtc9rqR68m/Xv1XU hV0b0ECVzQyFquHueRLGcvohPpxvLGMSHuQNL15X5p+o2843S6flxt95XXF6yXKz0P7XGr n5krZUqcLL5sZIHSyWdqtpB02tPmP81tyMeMhR0F/P3uQ7phbONdC68BGo+HKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765698349; 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=wMRzIAXB8QZBCinPr8b2guCRLDvgZspJ+sMS9M8oiYY=; b=KC2qcULKPXGUUDdUg+vSyrl4L7gS9XVfd9oo1X7jeu426Et4cmvpFLu/EfTT2Kask8uA7t c6+h05jX2udF5tavWfYoWYP/CFysAqCqz+0PC93YspKkrbFtyHhw9UZKz8UsZrVazgIDGe 5vmJpekBck28vPKd78b71ge2XvUp6IKKLM7up6N7g4ibdVY0i27YzpcmZBMMxjD8G0Phhz 9lFUW/CjWoBPnixlMkrw4g0oxHPtU+Gjvap4zMe725w46GB4gIK8XUF+TA6Vh9TDpJck2C xnjE3Oza1bYNODxCCluWVKyzfo//5V7sz5Nc6xo4HX/B39ks5k2kkEBGvSYK4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765698349; a=rsa-sha256; cv=none; b=WO5ys6JriLjtj+JzRT5to1vifY6Q7YRQXpQPqD7pAQd7qm2SX627GzBDJpMZYxlK6lmum8 z7ykGb2ywUaLn0qmL1p6DCA7qwGR1CNoPsASSj02+z+AHofMkyg9kCX+2l1xR63gip3LRC N46Y4wnPLgsb2G7w2rKWVaU+xpk050/SR+T+YEVShXO1iu+3wtOs45LmfgADFl631yAkYf WiV5r88sRr3FZzafQx0Jsr7irNsAslokqFP6W1u1Svat2Ts5AdZdoyoLeCSl7nJeDj89zq 5Of9gG0aLe2ggMuw96SMJo1yHvcwNQ4tXhrIlzF8i/q1Bf5nDRwIuu3VptZ5lw== 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 4dTZxT656yz8px for ; Sun, 14 Dec 2025 07:45:49 +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 5BE7jnOB032937 for ; Sun, 14 Dec 2025 07:45:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BE7jnMS032936 for net@FreeBSD.org; Sun, 14 Dec 2025 07:45:49 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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Sun, 14 Dec 2025 07:45:50 +0000 X-Bugzilla-Reason: CC 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: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #25 from Michael Tuexen --- (In reply to leper from comment #24) Things are a little fragile if you manually configure things. The bridge interface tries to enforce a consistent state whenever an interface is adde= d. My current understanding is that this should result in TXCSUM being disable= d. I'll talk to Timo on Monday to see if we can reproduce this locally. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Dec 14 17:27:36 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 4dTqrp0LQ9z6KYFT for ; Sun, 14 Dec 2025 17:27:38 +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 4dTqrn6jFmz4FH0 for ; Sun, 14 Dec 2025 17:27: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=1765733258; 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=cXjr7mfYc4n80/jW6XalmSojZm7wC7lo5AR1z2k4tsc=; b=IFDTO3uNcNu2gSOA9hubXe/9aEPjW8SBxRHnaYMVnwctjHnpARZdUAzM34Dw8x1MiEsiuP a8zv8cIEX/xEYIHSIJHFvELAIPoqYIBYMLh9FOhdzvNhz35EsXlf5AYBD/7uXRz6sqW4xi vUvTwl7rC7EOEi1mjCJx4m7Wy+saNhrQ0mzzIVJ9hHa9F7nIlltynSsy2WY1ZSI316T6o5 z6vBi9YC+8AJnGpNmF795uFFDs3Xt9IpZht3rSc6NnYL/mxtkQcHwgmEfj0BegaCT9LHfl bqS6UKRwuIuxgUISy5zXb+7iO7gKjzqGVQdUgFLzEdh3kGrcA+/c2O1CrNtDCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765733258; 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=cXjr7mfYc4n80/jW6XalmSojZm7wC7lo5AR1z2k4tsc=; b=jfJ8lopDbVKdhyDmx8d71BjzT40cSfczyohx2SA3imQvs+JPxmdihH5/j31BDiWveugFXC VlrmdELYC7pdsGdRSUbhB4Ppjv3AiDn1RgEtfNQRnUhBMQKJk5uMfMPTvgVHMConk6lBmx EwUh2kUtJQPVGmwNOMYP/TPhx82BWJR3Y24685b936mo6dImFCkJejXHnnGwRZ2msv9iI9 BIf1b301Rl+ktzr1goN058eE/j53t6S6w0jotgQRGWLu1oYBXAkPN+pkUBv4W9RdWrCyEn faWLtuwOLq/LbCEXcabA6fg2wOezBvOswNzOm2os2Fd+EDxgFr0IoGeCSQO8Wg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765733258; a=rsa-sha256; cv=none; b=XpqtiDFDupu/oiBtmfhktrWXaoj7dQlwH/C+Fs7idQCzYS/qTP1K8isb2WMtaZOcQQH1X7 J9xBzfNUEQYa9cr9BYozDcVUpHlCktjaAEogdrOdQTL21V/ObW1vm9sC3zViOflxtX0sGr vVcVKktswsySQ63qVVMXcpk+/0YpTg8M8ULXRxQAZ/TMNIkRxkFXGKsBA2qfH5Pj0gWVT7 +VFtCv6b/hJWqasgHbvAWpzh5vc5pW7NMxbdbGsihVm3Z4Va34Gm1Z1ZEjUAGPI39IuYK6 xsSo1Ifs/hboPESm6EirKGy9f21OfYe5JaHqRbKQ/dl0uEnLXWaNEd7jS2n3yA== 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 4dTqrn6JJtzk0h for ; Sun, 14 Dec 2025 17:27: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 5BEHRbTg088085 for ; Sun, 14 Dec 2025 17:27:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEHRbO9088084 for net@FreeBSD.org; Sun, 14 Dec 2025 17:27: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 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled Date: Sun, 14 Dec 2025 17:27:36 +0000 X-Bugzilla-Reason: CC 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: leper4@protonmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@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=3D291420 --- Comment #26 from leper --- (In reply to Michael Tuexen from comment #25) I did configure TXCSUM on the tap device before adding it to the jail's bri= dge. But I guess the reconfiguration of the bridge interface happening only when= an interface is added/removed might explain why the host bridge does not seem = to adjust to a possible lack of TXCSUM properly. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Dec 14 19:13:05 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 4dTtBT6ksRz6KhmQ for ; Sun, 14 Dec 2025 19:13:05 +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 4dTtBT5yXnz4PwR for ; Sun, 14 Dec 2025 19:13:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739585; 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=vVvz/3S18LyCijVjsepMcaILraswDC2m88MULTRv3II=; b=xSbVOrrR5iwAFN4W0u0MfYxBpVr8lyt9WM8bQ1opkh6Wxc43u2eBMlRPp5UIxX/Vl8onhc PLS8r+LZGJBgX6EjHgG7ze3cdUKJvTu7fcPycpVEXDLhs6BJLRXlXKKtQtZmEyA998/nE6 JyZcakmBx0MT9xc9a0h8WkIsyUKNvBtjRt4WqyTLGC3PnoDucvpJ6h9QJxe4hNZge2HSsu Vh5eX+SH18KKKvcMmTM1cG8PCKkJ1q+2TJFQhLBu2eC40yBeB1hqK/+nJfi6aOC1/iQGsM A/cxlis5U6AtVtwGMECyNWSO7SnKvZh0kQywlGA4lHxu8dNklu3MTU4x2inKZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739585; 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=vVvz/3S18LyCijVjsepMcaILraswDC2m88MULTRv3II=; b=hE05fV8P16ktatZHWMlvzmxqUZEymA/jJDuBE5UU/P6ScWMI16Ti8Mr5IQwuHkmD33PzCq P8tiNXnkbZc1Eidzh7vTOubpE+1sRrP0RV7V8P1Trd2Z9lKmlCt6AnzJ4tEf0nZt9RbWEG ByS21aZ1HBidxt/z/afRHTOivgwnNR9UjQ+ETob+hYkK8bbKNSEaA348Rz982dwmm1YQ4n YD5JhXmodXn+gXxzvIT5NHEYAzXrkHfMUlix4/MxeDt+6HYQSaBSNO4+UxlH16erftsb4I qn/Xe4Sw6Qw0w1UgDSTE/Rqc+iw3jzS8mUy334gC3ERptSYpLqGb5aepUYgvig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765739585; a=rsa-sha256; cv=none; b=wf763uVIxIlIkG/E2SXW2HKz/cM7W53RVwYDtH9CYECb06eDg2SqWzHOwGxCWLjnf6g6yc vKU0M1V2Wc2aytM5DUnAKSrSsnt6Oa+SZNpSiAlyKu/iijBUpQ6wnYI5pVUzuIcsd3ngqR RIUtndybNr2UDZF1eLqiPAFbj89vl8wQP9RH4WT8pgtQpBYkhSXrLilE4mJfCUOjpzjSXg 3VPwHDDKmd7dquBrRyniHNDUpfKkPKpoh8qnaVA3nIpms2Yfab7Vp8tjrxYSLm/rp5IIZH G96MWQjc2qRP4QJFuDrm0AkXnSmchCCeMWGdOD0Q4lU/2sgAdUttQbmEQDEHsA== 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 4dTtBT5BBrzmB7 for ; Sun, 14 Dec 2025 19:13:05 +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 5BEJD53d050078 for ; Sun, 14 Dec 2025 19:13:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJD5ok050077 for net@FreeBSD.org; Sun, 14 Dec 2025 19:13:05 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:13:05 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com 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=3D289017 Gui-Dong Han changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hanguidong02@gmail.com --- Comment #3 from Gui-Dong Han --- (In reply to Zhenlei Huang from comment #1) Update: I have successfully reproduced the race condition on a completely unmodified GENERIC kernel. By maximizing the race window through high-concurrency packet spraying and continuous protocol switching, I can reliably trigger the panic within seconds. Please find the reproduction scr= ipts and the corresponding crash log below. Crash log: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address=C2=A0 =C2=A0=3D 0x0 fault code=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D supervisor r= ead instruction, page not present instruction pointer=C2=A0 =C2=A0 =C2=A0=3D 0x20:0x0 stack pointer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0x28:0xfffffe0068= f55948 frame pointer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0x28:0xfffffe0068= f55970 code segment=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D base 0x0, limit 0= xfffff, type 0x1b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D interrupt enabled, IOPL =3D= 0 current process=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 1040 (poc) rdi: fffff80004444200 rsi: fffff80004f5d900 rdx: 9c58554433221100 rcx: fffffe0068f55ac0=C2=A0 r8: 0008a2ff10fc9c58=C2=A0 r9: fffff80004f5d960 rax: 0000000000000000 rbx: fffff800036fc000 rbp: fffffe0068f55970 r10: 0000000000000090 r11: fffff80004f74000 r12: 000000000000000e r13: 0000000000000008 r14: fffffe0068f55ac0 r15: fffff800036fc000 trap number=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12 panic: page fault cpuid =3D 0 time =3D 1765738480 KDB: stack backtrace: #0 0xffffffff80ba8f1d at kdb_backtrace+0x5d #1 0xffffffff80b5aa11 at vpanic+0x161 #2 0xffffffff80b5a8a3 at panic+0x43 #3 0xffffffff8104dbfa at trap_pfault+0x3da #4 0xffffffff81023dd8 at calltrap+0x8 #5 0xffffffff80c85a50 at ether_output+0x6b0 #6 0xffffffff80d21998 at ip_output+0x13a8 #7 0xffffffff80d52c40 at udp_send+0xb60 #8 0xffffffff80c0145c at sosend_dgram+0x31c #9 0xffffffff80c0242f at sousrsend+0x5f #10 0xffffffff80c0aec0 at kern_sendit+0x1c0 #11 0xffffffff80c0b1f2 at sendit+0x1b2 #12 0xffffffff80c0b02d at sys_sendto+0x4d #13 0xffffffff8104e547 at amd64_syscall+0x117 #14 0xffffffff810246eb at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:15:10 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 4dTtDv08Wzz6Khs9 for ; Sun, 14 Dec 2025 19:15:11 +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 4dTtDt6rKhz3C2P for ; Sun, 14 Dec 2025 19:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739711; 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=JOjASbeoCbG8h3jOETzArO+Wa1Iop1c/jB/YOc9QfEQ=; b=IjrTYWyi08bocC+F4uiTu3nWXkfnb8PIhzsgiOTQeqyLIPFtur1MN7thzNAjRZQNKrzEZy 28BxZybe7UsLkHmK7QdL9pH3hpnC3DgU4bm6fb4A6Dw13gr4tggcR8ruPLYwxdPL7GskR2 8XsLA55oRvvZWNwXnOztuc509JnRkQgvpZDJI4VvbapbAxUzmWky8k/KSnwxYbydw9fQaC /Zp4Sx64vNZfAURc3HJpcEuNG3/IPZpeEoAYZyMzAwbZ5L6ZUwkUL0H2eyuxV1uzFqY7JV Qc3M/Mue9K67fVDu6t20BDEeBg8tpzhbPqI9ipKARpKH94GHk1+/i0RgCzLGTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739711; 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=JOjASbeoCbG8h3jOETzArO+Wa1Iop1c/jB/YOc9QfEQ=; b=K3v3g+t5hnnOJd/SpEoC7k0J2of2d2Sl1b9KS8yevRk9ukDngaDdMhLeTifAopl5wEa3fy MFVdAndyyHxvyGl8MCmAmKCBoYR/MuqWstR/JkJcEv5rf6duhGXf/oIaH+zS98OMgSZIxP cvBEae/a216ahg/dD+p/geeAMKUxYAP7HqzScsXE1R1NvpX6pf11FqQrPE8seh5pFPrd6q zhehjVZ3NaVsQ7rEFCU52OJXAdDppIjFN+oLuR6/EHRLaa+fntz5UHO75nilPf91iWqDeJ H//6TyvEyZMcFp8qHwBB3XovZ4ywjkGXZBcuTJe5wzfQxU4mfOIeHHg3Eo0OgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765739711; a=rsa-sha256; cv=none; b=OELsNJ4JIj8be5w+sEj+j3qCceuNqqI6EzCYmbBTcH/aU69v2qNj7p+P2Uvbhj1Y4kJ5vo IoPFwnZn2s8e8/+M8lfgXZsMiqP5fxtgl3Zw7izQfS6yOBcbHFcujFWJiON76PbTftQBee zbiLof9IXFR0oEYQI3k3jmilbkAwtM33Tg+LRTPnH6M+rJkTqOITzMrOaOAP39lnRVzGdq Dc6vVBKgm3iqsHmk4abEo2HmGedo5JIhTaQiFG/Wmg+8gNVP/UYpYGCoF5OEANx7lcbX68 7SY5MmAxg6ixhM5eSiZMd4FFEgk0Abx2XQxyctQbsldE9aoPOF7X0e9x28iNmA== 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 4dTtDt6G2Yzn1l for ; Sun, 14 Dec 2025 19:15:10 +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 5BEJFAMm051160 for ; Sun, 14 Dec 2025 19:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJFAuk051158 for net@FreeBSD.org; Sun, 14 Dec 2025 19:15:10 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:15:10 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.mimetype attachments.created 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=3D289017 Gui-Dong Han changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #266193|text/x-sh |text/plain mime type| | --- Comment #4 from Gui-Dong Han --- Created attachment 266193 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266193&action= =3Dedit setup_and_trigger.sh setup_and_trigger.sh: A shell script that initializes the virtual network environment (tap0 attached to lagg0) and configures static ARP to ensure immediate packet delivery. It runs an infinite loop that rapidly switches t= he lagg protocol state to trigger the race condition. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:17:00 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 4dTtH04W04z6KhnG for ; Sun, 14 Dec 2025 19:17:00 +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 4dTtH03mZdz3D35 for ; Sun, 14 Dec 2025 19:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739820; 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=31lsmcX3vydRf1w4J7ehuofA19U/yF4eW34aERJ+sIM=; b=tD9amunzkvGtx5iu5LPz6/cR+rCp1yB1phjpNqZIfJEBkC3vobEhdP2c5bsNrjeoXf8FTS WM9HgJotSzVAlgRXUxYQX1MWOvJUObzKTuMQQPKU7ED7I89s5o/H1qZBOntEIlq+F728Ns bi8tJq+aV+7In0Iqer5UWtyIOOliFgY9jSqbM9RxbHZHIiprMc1y1kv9r4wOCYwZP+ZV2a HOTmZl+Sa6zdu3vgpGKddYZ9feucz5CpXEc7i4DmKrB5WAgSOwL1jFNjA/pZqJwBccOpvG LfkvvzPJLkRkESfRN5svMyEjD1iICe172HmmPdrpOpYJFOpH1PA38Qe/+2EBfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739820; 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=31lsmcX3vydRf1w4J7ehuofA19U/yF4eW34aERJ+sIM=; b=aseNWX6gqqG4CxtgS5mYo+AipGE+KefD7/xeUPxVd7P9NPXzvd3pN2EX8PZHS58vnmuMBB VfgZusGX0gaz/5bf6r0bEUclfWctSznOKIdaprK4edixTDRqxrZPr6yRFm5ON65OlBjeRz i6zt6bNjEYAor9IV+le+PyWYHab0JebVICd/ldAqmF+sMb5RDpgkWdqL4BuwLeCKr/Jy5P YKSxiHsH/VXUA7r4t5la8mdt0gmtKChlycHA8Dmyj72ALfd4/PSedR0I4GLbCNjh4gFfXi o2LyVGoE82GYBODWP3rBY77hteH0or2406JP70CkvP7tqXodvSpFDGmSuB4ezA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765739820; a=rsa-sha256; cv=none; b=hfj3nShufy4KVzwCIUes0HW0OYesDFOYm1sa5WGc5TyFx2NvOe5OCIiEt75gEkfF0ti8v4 kuGjcCrIeVU83LQpfyNesVx8fImTJkn4Mf58WTejhnl+YI2+MaSW8gxIgM9khDTXIJbE1M gco95VqBiuO1tX5EIo02YL6JM+GnrFp2AhiLGA3Z1ULImeE9Kt3d8iYhdlwOXtRvqoKnoP vJIz2n7KiGGGwxl92klPC9y1Dn0QcGpNSa8JJiFWfzRKQXkAtUa9x3y4L5zTDgwpcoYMOv 165b5Nce/Jj1v3QnpIOUjlzzSA8aiczcfVBZavb+w0VYbzPmVpTHE/MBsbe6lQ== 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 4dTtH03DKDzn57 for ; Sun, 14 Dec 2025 19:17:00 +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 5BEJH0mB052035 for ; Sun, 14 Dec 2025 19:17:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJH0cD052034 for net@FreeBSD.org; Sun, 14 Dec 2025 19:17:00 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:17:00 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D289017 --- Comment #5 from Gui-Dong Han --- Created attachment 266194 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266194&action= =3Dedit poc.c poc.c: A multi-threaded C program that floods the interface with UDP packet= s. It utilizes CPU affinity to maximize contention and is designed to persist through network errors, ensuring continuous pressure on the lagg driver dur= ing state transitions. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:18:26 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 4dTtJf2Bqfz6Khlv for ; Sun, 14 Dec 2025 19:18:26 +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 4dTtJf1VqPz3DMw for ; Sun, 14 Dec 2025 19:18:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739906; 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=knrZ6cR54bF4Nb20ay7lndheqXkZFWWtoabNUPVtHy0=; b=pggXAix2hb6xBaUK/d1Y4TWQsoKQZBb3qYWQDs9mWGTs8eXMtYAjQcpSePGNQCMAwZVNvP Kpq/SuMIkXyNGHKnAs1tQhGd0kTOzI3gb8DinWzunpLrWwUWXLYLNJ26BJH4upvntrNb6p j/01fSUdcjob8CSWrXaTIg2EamNTW1izxecUqnsUjk7qhcu++qeCgwlb8NsKl1oO8wo3l8 H60J232gVDekteFrfjVh+6S2J3gWwrsC79b91B1GjTc4Xc6zDprAIRRR0UPiA5pF4Blqqg vwV4g6H/AQ3Zq7NnW8J7wLBvoeVtFXjQUeRwK0fRH1Q1be1xyz5WxedQK9jdwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765739906; 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=knrZ6cR54bF4Nb20ay7lndheqXkZFWWtoabNUPVtHy0=; b=YAYg//+TFA1T5RIHqGKWZzzho4zsEW3pDAU9AIZ/XkUe444pSRElNYLMZXhC7eEQdaoRmJ +F6GKf0sP2mjZR6UHv5qFeHclNY9AF/ix33MqdqHkCUN4R5srPO23UkqaUrd+PgVDGXPmS +JHtwJVhXGUdovHIEKmZ4cKYmLeOpAe5gVFcd+6j91R3K3qNV/UWacNpsu/XE7R1isrbLz kAI0bxpb+J4YgYSwnqMCF1bzxwAI2Rs1L+zM7r2mUXYKE/H/TaX8c+L7bSUw1A7bz9qRSg ed3lOfoTpvqAxolrNLa/3nXCUpgIgx1yL0zFUSAESuh3g1I+CtAAmYJ/GpG+Dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765739906; a=rsa-sha256; cv=none; b=pQIPt2hNKfGMaq+p2x0OB5/fXVXtcivznttDqZjznanXNd42zIYixY2f+NsYZC3Jxs99+g UbmilLPcDNn7YA18kE5ZJ3z7uvrjY/aXKKb3UbeJBd9iwKJ32OZ9Nt2WA02245PXOankdv Jo/IF0wkfDOkYYUi/QH28cn/k+sVHyBdwTXCVry6KRpYbguN/91Jx6JtVGIQd9yZ7aARZ/ oGVmZAbF6XN3pLGQwx48Jah+WgdklcoeRTvxGwcGn9XJagXgJK3cFlyINxDbKo2tmV43Jx I0VOTQrKYNH4AUIEuQ/pL7f77q6Y7Mh+5X85KZP7XRj0Bbo16vTmeWwCnS5kAg== 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 4dTtJf13RBzn5B for ; Sun, 14 Dec 2025 19:18:26 +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 5BEJIQhY052711 for ; Sun, 14 Dec 2025 19:18:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJIQ2u052710 for net@FreeBSD.org; Sun, 14 Dec 2025 19:18:26 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:18:26 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com 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=3D289017 --- Comment #6 from Gui-Dong Han --- To reproduce the issue, compile poc.c and run it simultaneously with setup_and_trigger.sh. This combination reliably triggers the panic within seconds. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:28:08 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 4dTtWs1033z6Kjdq for ; Sun, 14 Dec 2025 19:28:09 +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 4dTtWr62gZz3G4G for ; Sun, 14 Dec 2025 19:28:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765740488; 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=MtWjAIz2K6VBaE1/6pxJYUTpRFG/MUKcl4NIuFYfZ5s=; b=DbCkMos/g1xZ7cXOADH5iyV1jMariLpEoMWIrMZFjNL4oSFMKzAaIunstyWIj2f+SGzI1T +ZENZ075pSC0QehgkkeodG4raJGBUC/DWZrstVTAALC75qwb/VPZOG5esZ9O9tq6tOvEJ3 6W01IcfhzZn95hHizOOw1ljbE1dZd2M5ppWurepl2+yNLxEZYDmPJ9sZ18AR1gvHZ/sGRA OaawI+gXD280WZDRTXdw7nWOKemWigRPjBAIEXG4HHJdxVzAjFkJrbeLZNVY45jolwy9ek n0GyFSF/1GYCZ831sem0xIGEF0EODnG037kxw2UCoMCuxxAP+Y2h0bD5tyffzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765740488; 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=MtWjAIz2K6VBaE1/6pxJYUTpRFG/MUKcl4NIuFYfZ5s=; b=cU02a6XLp9eUmxUQEfUHD8Y+GfdDdoHPSakStmzUWLXv1pl6lZUmkvnK9tLv8O92g5Nca3 4fKBKD0kRAP2dJ0tfWf/Zd4b8hG7/9bPJzaJbQTPyY3ATqvU1MIH35iXP5LACB3CHp+DHN P629lPNGxNxQuVks+BaGCE+mAasTQWMLqn+oBeqZ/2cpEv7Pbosr3Osy5zZ9nTTCi3Z4US buhRl4mtZ+rhh4FkpNxYbDCqQ6+m34kSmN5DN+sL9OxpNjpZj9ybTiWpqk4nGliOxXUJBS 6nmLdgXV2ROuh9cy7q1jU6kzPiCzcoG2knLNOMU4fAdcQob+WTpx7e1DZ0yLVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765740488; a=rsa-sha256; cv=none; b=oRAf26NRKcbG+yny2Q2dGyzBb9FUqcr1SfPeR/3NIa9RyVx7oBJLDbz43pu+/6NmhokS86 ZnRcfleHZGwvu6nsTBuMrVVjiNjHFNt3PviZt8OTWOTWz0GLa+uVW7kgnU19PLRW9laeVI bGmg11HcGhuXI0YJrBiABduPcr8E+ZhvfEFaAt1PEbCLwPGCC4rYB9rOkV5Wln2AkeXkas QLLp30qlCZLtxLuJjn7xRRB9tx8GhrGenJZzYDjjt46HoBmcLIMm1q0o9SbpYTeF/DYBWN aF50W2Vc0mOrLLhdnh9i2ys2gCdzjw6DzpKI54R6UslvqYYzeldUtEWsL4o8oQ== 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 4dTtWr57Jgzn5s for ; Sun, 14 Dec 2025 19:28:08 +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 5BEJS8n2067079 for ; Sun, 14 Dec 2025 19:28:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJS8ER067078 for net@FreeBSD.org; Sun, 14 Dec 2025 19:28:08 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:28:08 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com 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=3D289017 --- Comment #7 from Gui-Dong Han --- (In reply to Zhenlei Huang from comment #1) I can reliably reproduce the panic on an unmodified GENERIC kernel within seconds using the scripts provided. However, by inserting artificial delays to widen the race window, I captured the specific stack trace below. Crash log: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address=C2=A0 =C2=A0=3D 0x40 fault code=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D supervisor r= ead data, page not present instruction pointer=C2=A0 =C2=A0 =C2=A0=3D 0x20:0xffffffff82825bdd stack pointer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0x28:0xfffffe0068= fc58c0 frame pointer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0x28:0xfffffe0068= fc58d0 code segment=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D base 0x0, limit 0= xfffff, type 0x1b [TOCTOU_DEBUG] SIOCSLAGG: Change! =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D interrupt enabled, IOPL =3D= 0 current process=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 860 (poc) rdi: fffff8000363c000 rsi: 00000000d1f2023f rdx: 00000000000000ff rcx: fffffe0068fc58ec=C2=A0 r8: 0000000000000800=C2=A0 r9: 0000000000000008 rax: 0000000000000000 rbx: fffff80004a08300 rbp: fffffe0068fc58d0 r10: fffffe0068fc5800 r11: 00fff58b8d9e8b8c r12: 000000000000000e [TOCTOU_DEBUG] SIOCSLAGG: Change! r13: 0000000000000008 r14: fffff8000363c000 r15: fffff80003624800 trap number=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12 panic: page fault cpuid =3D 2 time =3D 1765735007 KDB: stack backtrace: #0 0xffffffff80ba8f1d at kdb_backtrace+0x5d #1 0xffffffff80b5aa11 at vpanic+0x161 #2 0xffffffff80b5a8a3 at panic+0x43 #3 0xffffffff8104dbfa at trap_pfault+0x3da #4 0xffffffff81023e88 at calltrap+0x8 #5 0xffffffff82821f7a at lagg_lacp_start+0x1a #6 0xffffffff8281fa25 at lagg_transmit_ethernet+0xb5 #7 0xffffffff80c85c5c at ether_output_frame+0xcc #8 0xffffffff80c85a50 at ether_output+0x6b0 #9 0xffffffff80d21a48 at ip_output+0x13a8 #10 0xffffffff80d52cf0 at udp_send+0xb60 #11 0xffffffff80c0145c at sosend_dgram+0x31c #12 0xffffffff80c0242f at sousrsend+0x5f #13 0xffffffff80c0aec0 at kern_sendit+0x1c0 #14 0xffffffff80c0b1f2 at sendit+0x1b2 #15 0xffffffff80c0b02d at sys_sendto+0x4d #16 0xffffffff8104e547 at amd64_syscall+0x117 #17 0xffffffff8102479b at fast_syscall_common+0xf8 This crash indicates that lagg_lacp_start was executing after the protocol resources had already been cleared by the detach routine. This confirms a severe lack of synchronization between the data path and the control path, which can lead to various race conditions. I strongly recommend validating any proposed fix by running the attached stress-test scripts for an extended period. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:44:14 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 4dTttQ3tHSz6KkYP for ; Sun, 14 Dec 2025 19:44:14 +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 4dTttQ39ypz3HS6 for ; Sun, 14 Dec 2025 19:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741454; 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=KvK19DKvM6Y9LdwTUxYkWHkDv9qyviOEfsme9glffkw=; b=S829m3VqlBee1FcdcErKOZUBmejCYypM5UGsfTH3prgYsV8g5L637uE6N9v88AyHm45TuK MfXxPfHzkpwm2bOLJLYuHeNozJIbZPGkFSxTG7HZebgajvlM4vJnbEidHMgPnsHzc4+KYA KGrk30QlHxDFtnTLdwB7qPKs82fFvSzovklGJZ+QAW6ourdehkoHD2RmWhutcq6lxvHL9B JH1pvN1VKtUHPhItlQ3JH8NSW+PYPmLQtqeuhCVvlfAYCjAjdq6DO54tisT5nfETaIlJ5v LfeyilWpg0UGvcB2B3t5LBBTDpjzPhDRptdkFgrCoRGEHoE7QW2kf7t3J2YcOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741454; 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=KvK19DKvM6Y9LdwTUxYkWHkDv9qyviOEfsme9glffkw=; b=sDKNHGYdtulUEezwqq1Z9gCgUPeDK5pcv/9hD8GaOzdy2rU/q7z8llDMZyZkIxMuXoFszy mTErZ0HuuZJR3uO90N5azQjnEaG8E2NjLavCl5eQN0ElHo6JcDm51k0KoDD0LV0HfyIWlE rH/cCzv+rbLJ7L8ubv8y8a5NoLoFZph9d8V2T77F3yw4vGpz9DwEYm1pkUo5/srbKNskR3 kLuFlxe9fXrsN54pqEUOdYR9I71AVAQs+Yyq+DhVkIObxMoT2U4o5mvDF1XV1bnN9do/zB 2KtsadXBE6+50EMvh2NW0YDElrfMBUzsSlR/0X1Tcpi0vzU4i9iWz5Yl0VFCEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765741454; a=rsa-sha256; cv=none; b=Tpxu1b0rSi0qCLOpvjIoecvI2w+rvUzu+40CIR8GR1ANZB3LT1lho51u+hw+sEmzB+eT/M 61VXoFTlcrgWqpJV4QppGw9s2Q/0SBxOxgc9dHlxmrXRBsflv55CF+sliQdCSvl7yYrqOS 2N+M4pJDhTB8EOfFlJyI1uchnACE14LT4AzIlaiBxpM7N/s6J69jq/U3VCxT14oNNMuPuF 7dPN99ybWrCFWZOZT9Knrbl7TDe25hbABcVUNM9eJstvsHXS3HEFqZJzkrlXdEi2ju23hs e3CaK1ARWqubhu6Koo/7Xew90EAbwQrKjSSUvZmJ7DSyCG+gB57xXfZaCLKQFA== 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 4dTttQ2k6GznsC for ; Sun, 14 Dec 2025 19:44:14 +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 5BEJiEDS091487 for ; Sun, 14 Dec 2025 19:44:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJiEYw091484 for net@FreeBSD.org; Sun, 14 Dec 2025 19:44:14 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:44:14 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com 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=3D289017 --- Comment #8 from Gui-Dong Han --- Also, I want to highlight that compiler optimizations (such as inlining and tail call optimization) can make pinpointing the exact crash location in a stock kernel extremely difficult. I observed that crashes on the unmodified kernel often appear to stall at ether_output+0x6b0, masking the deeper call chain. The detailed stack trace provided above (showing ether_output_frame, lagg_transmit_ethernet, and lagg_lacp_start) was only obtained after I explicitly added __noinline and __attribute__((optnone)) to the relevant functions to disable these optimizations. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 19:48:24 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 4dTtzD0sm0z6KkyY for ; Sun, 14 Dec 2025 19:48:24 +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 4dTtzD0L2hz3K5Q for ; Sun, 14 Dec 2025 19:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741704; 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=FyC2tsefNbVK9fQZUEpp/Mr707FxKldV+5w0t56/0qY=; b=H0BVcwJYayFHxWJi6qrIRuIv0flHX6DvshFiHv/FvyGOUqfYHKqvtV1+S55fAqOwNZWWbP w5X6yq7O0kPk8eP+uYcrHxlBkHf69bNnuyWxPR5nwA4HKyTlzQddzV6yiY+O2OleLvyUFF tI47NsrkFOWeDRIJiBZwq/3Mfw+U0iwir9jChru6PJBYWzFrQUmf34WTiK6Jv87pUqdvGC yr3foKjTuQRKThYOzKD6WCGeBtq0TUknDDQmMVFPRzecp2ijWst449Q8wmngl/lI78DDiD CPKgyD71jh6pr6k6znEEb2Xk8ZUnGoHHvJvbvNR3c7tNKZM8pWk3/JXNvqID3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741704; 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=FyC2tsefNbVK9fQZUEpp/Mr707FxKldV+5w0t56/0qY=; b=iIKnUVWr6cU20FOLAhwN2wa9+egmxdA7NMxZ1kVCNvyut+/iwh00kUPTjz++C+L12OYt2y swvbb2Tg1ESJhvOHS/op9QmhIc2D7UgAYBuBVPEQ4/92foo14IykHiYJQYn+CdhDfZx21e XIOdSrLVkgbJQ/898eFjK/h2gewYBCHISqMZbTQbUOIQqwxeAQxNlGkvEtEl1eGb/TymM9 k2Aznjp7/keI85gkaw/+Pi0uR8qB7eE65zk17wROJkR51aCNsS8DVWYN5QhGaVPvCL7MHF sJXWIgBeDr9kmq1i1lKAR+ykENsLp2MjYcovvZqaLW3IrLWnvtPDTAW8oaCTqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765741704; a=rsa-sha256; cv=none; b=HdQx9tsCvF+rTBR9kKA1aXKz3K2Mo82USyNaW9ZVgti4xq/b9etRteE1Uq/4uLi8QH9tjk opQO68sKk4sV8sPtQRcIgPxeRfZgJuUBntXltp+C80ZgGXjCPg49PLP+9iRlZT3ZMyH0wy qeGU2GnQ0rwSzkIpopyk5FoFwRLCN76wa2biH+oof612s+rgSChu3+W6WISmOKBKckm76E QESOzGwHZSNDc5FFQCqd46GBkw+F8TFxzYjfTbW0sVZayQi2dH4F8ZCg6ZTPK/iMFGYTzG nFSYIrQL+UQJS689MlX2jv5bwEcDr3pat1jHs65iidCsxkXiByDZfIHP5o0l8A== 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 4dTtzC73rpznvg for ; Sun, 14 Dec 2025 19:48:23 +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 5BEJmNGP093432 for ; Sun, 14 Dec 2025 19:48:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJmNU1093431 for net@FreeBSD.org; Sun, 14 Dec 2025 19:48:23 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:48:24 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com 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=3D289017 --- Comment #9 from Gui-Dong Han --- I believe this race condition can manifest in multiple ways depending on the exact timing. Potential scenarios include a NULL pointer dereference within lagg_proto_start (specifically when the protocol is LAGG_PROTO_NONE) and the lagg_lacp_start crash shown above. These are likely just examples of many potential failure points caused by this synchronization issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 21:00:41 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 4dTwZf1kkfz6KrV7 for ; Sun, 14 Dec 2025 21:00:42 +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 4dTwZd3rlLz3TKW for ; Sun, 14 Dec 2025 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765746041; 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; bh=9FRsINhi/OarNz+8H4JCcUqRGbzMd7Y5++IVGBt5qTM=; b=RUsIFUjf7ZYR16pKh68fip7GYnh18zRIiLsEcVGZU2dTTz8VaYWILIfPD/UcdrfXBlpnUB fP4E1obyhCzxmfbxPXOleQHu2Em4sNYRKHoP7B/mwqZkkxlQT1mPJRcxlJ02cGb3z2elzA JE9f8M5+EMR8bX85Ayu2t394VsEu79WlFnm8f0jFh8qDDG2/a32cZJnXWdk5t/8WByQUW2 ONLvvN0FoIDpb3o4UXwn47h+06cv2UVh9EvOpFgf8y67B2M1h+YFCiETXlM1uKgIKxKUyH 7V0LG097K3ahShvEJ9eyXNCe7AJVDZPbXsjO0JoRexbn2tGWKKJcl/izMEf/aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765746041; 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; bh=9FRsINhi/OarNz+8H4JCcUqRGbzMd7Y5++IVGBt5qTM=; b=FSAhmhy13CFO38YsyA5P+FzbBwaNK7i/EHoP6LYSpPihDVJ7BM+QRXfrjFsap2I8Vtomtz CJYyrkZAbuRYh7MaMkYr2Gjyb4y4DQivWdjw10c5aRAr5ERJ/EeY92YEL5iPa6MaWwXj6H +7C2vDcp3vDksI6lSidR5fN3dIG+UvoK5Tsz4Erh0ee70UMeDLulg4OK52pby8adL1dMDc bhxCk/pPVW05htonuAUvTQkFugkoanibBg4ips/cn9QvuQT0oz6liRL3/72UCJ6q3i1q6q MWrwAgK3s3uFuwktNyxiIc5GMNE0KIux9ojVBb6ciIn8DvgA8scXKiSlLO1VlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765746041; a=rsa-sha256; cv=none; b=gSuqL9H7KX/J3kPKyfGukC4HWywkLPmjbJoYDeDF755bh+BHZWkFGQ7trhrpjhlYJ+7HTK y0RCHXiFag+7NaVkew+iiZ77tUm5KzFi+1zochwudg1u6yxbLJZsIZwme7aWHnP8AEufEV PG5681PJsRaHjVOLIeP1b3/fMn1zx4ypvxvL0d+jQBskch3hpInlRiuhBbVbSuJl27O32q vE2vFueBzqvjjgpzwpBSC0HNVuu/CriTJSoxHjl5o8janGwHlDyFRTxQRX+NByArWB3LTn ewP90Xs4YT+g6Z2Y+qFZ/653Xa2c6Qhf1salmRG+BZMvJoqHqD2BPXhRN3EDog== 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 4dTwZd3QBYzqKZ for ; Sun, 14 Dec 2025 21:00:41 +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 5BEL0frF005885 for ; Sun, 14 Dec 2025 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEL0flx005884 for net@FreeBSD.org; Sun, 14 Dec 2025 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202512142100.5BEL0flx005884@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 14 Dec 2025 21:00:41 +0000 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 Content-Type: multipart/alternative; boundary="17657460413.d194E41C.2860" Content-Transfer-Encoding: 7bit --17657460413.d194E41C.2860 Date: Sun, 14 Dec 2025 21:00:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 118111 | rc: network.subr Add MAC address based interface 1 problems total for which you should take action. --17657460413.d194E41C.2860 Date: Sun, 14 Dec 2025 21:00:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    118111 | rc: network.subr Add MAC address based interface 

1 problems total for which you should take action.
--17657460413.d194E41C.2860--