From nobody Mon Dec 16 12:59:21 2024 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 4YBg4q2lBZz5hPVZ for ; Mon, 16 Dec 2024 12:59: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBg4p5hfnz48BH for ; Mon, 16 Dec 2024 12:59:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734353962; 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=MADLAjVenivZcBVVE3tXrIkw0tpNIu5u+Pj/Mq4AXGA=; b=RY8JgfuuRpFzFzAsg3Kko9WdJ9OeHuIocmEe6E54VntfMwWaNYFfgXe8D6oN+HcwsdeM1Q BAWcYkI/372yeS7jIPksfMQoc5NbhfEScvu0880350yD+rXJx+iFf+Rrrzkrj86g6fPRrG JLwgI/YDRZTCsu0jtjyJpAwM4lsfOQXjQQALRjpH/uWNQKKdQ2M5qFsXcGejDYnFpKee/8 /5trQNOCJSVVjt1UuuqFiw/ByMESCXraTLwICSNmNXbAYxMj/4IGhTQm3IlxlxonGi1kTH aK8CafqzP9HO4BYQwMFPXS9fe/iC2MnQgYOIOvP6wFmNssawlDeYZb7eenl8Kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734353962; a=rsa-sha256; cv=none; b=pbirp5NiD7koUDr2nLwmSFb0aAL8MfdAbhCN4cGJZ75SQI8fi/0IW1BsX9uX4IahB6BgEQ 07fKtDl8h9MYlqdWd4u0UftRtNHNTdTqvC373Jd5c8yNHE+hWq/hJT9VEy5RPVnUEArviY eN71Q2TAcSY0Ccfk/zqxdIRnH/P2NPEl5LQze+HtM/AGRgX4zT6fnkoNFnd2vOvxQnVk6+ BNqjsvr5ybxv7oLniT+0fA2FzJAxTlMq0aJEd7ifvKKUiyE1h2lM0wpNwuLjzlHMqse4Xn q4r76fHmR41vARtg3GNw/TaMv/TiDBx+jYvHtoEKM5oFRTfkex42L7+PGH8DPA== 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 4YBg4p59gPztqg for ; Mon, 16 Dec 2024 12:59: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 4BGCxMn4068204 for ; Mon, 16 Dec 2024 12:59:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGCxMHb068203 for net@FreeBSD.org; Mon, 16 Dec 2024 12:59:22 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 272842] Missing WireGuard integration into the base system rc.d scripts Date: Mon, 16 Dec 2024 12:59:21 +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: 13.2-RELEASE X-Bugzilla-Keywords: easy, feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pmh@hausen.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D272842 Patrick M. Hausen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmh@hausen.com --- Comment #10 from Patrick M. Hausen --- Why not import net/wireguard-tools into base? Been using it for years, first with the golang based implementation, then w= ith kernel based one. All you need is: wireguard_enable=3D"YES" wireguard_interfaces=3D"wg0" And then wg0.conf with interface and peer definitions. Routes are installed automatically based on AllowedIPs settings. What am I missing? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 13:39:59 2024 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 4YBgzh0rHZz5hRDC for ; Mon, 16 Dec 2024 13:40: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBgzg6N6hz4HM1 for ; Mon, 16 Dec 2024 13:39:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734356399; 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=OOBdqBaKh7qFanBHxeV1Ee03jVyGWmvlIIpYl/NuCNc=; b=DWSZGPbBYq68q+qks1/yYOQYT0qllmV8hMFWt94Mt/vxn72n539BDJHpJeIjTTsvl87v/6 ygiXCfqd626farSq0VJZWydNF/sLAFhtO6EGE5gpP6jmYOdsjuY6SzuTi9lJIAFhMbkdil HUhIR/j3wiIr+8a5AHPect94OmFa5ZIRGpTSSV+eBM/F7EOwX62bviKxYUeLYCfU0S4Qen zcZBQEFu0QzIxEbnW4ez4arE9L2+gekin3Qg9JXJw77Gvm01KF2YK7t5+/CZdpiOldru+d aLb8kEhS3bSh1E2jMAzph4vTNcJBHXsWp8wCZq2GsliA+swHFy81VCjSC8CB7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734356399; a=rsa-sha256; cv=none; b=Vtm3f76RnBKVHttz3HpSSM6Z0fvq6qcYfLbHbUoj2DJ8ZxLzaGMahf4yE9Hz5v4V16IMmk XLXhMQ4UBpyikFKRSsgXpsDUs6E+r7CXu9WlChRq5nyizp6FnXhN7EdeEHOBMOmTxUZ9hZ m8GGHJgC/sm6pw12zngMyUhnC0KsrKVQ06IE/9HD+VCX932gIdH3x5IFjQlJimVBfrqL2o go9Z53v+VcR3JOzvGzUYMD3G+heU63DR1EydOgvbje7Ze12FMyD1zwvxiGF6GpUlCKGG3g PIeNWrUu2XGOVPrz9zw8JkOtyAvwJBh8lnbJ0nWE+VIpM9vk/k3IAhpO2LuPZw== 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 4YBgzg5dfrzw2G for ; Mon, 16 Dec 2024 13:39: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 4BGDdxHO030436 for ; Mon, 16 Dec 2024 13:39:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGDdxn0030435 for net@FreeBSD.org; Mon, 16 Dec 2024 13:39: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 254341] igb hung every 5-20 hours. ifconfig down+up solves the problem for next N hours Date: Mon, 16 Dec 2024 13:39: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: 12.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vlad.shabanov@gmail.com X-Bugzilla-Status: In Progress 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D254341 --- Comment #31 from Vladislav Shabanov --- After switching to igb1 I see: sudo sysctl -a | grep 'igb.*mgmt' dev.igb.1.mac_stats.mgmt_pkts_txd: 0 dev.igb.1.mac_stats.mgmt_pkts_drop: 0 dev.igb.1.mac_stats.mgmt_pkts_recvd: 0 dev.igb.0.mac_stats.mgmt_pkts_txd: 0 dev.igb.0.mac_stats.mgmt_pkts_drop: 0 dev.igb.0.mac_stats.mgmt_pkts_recvd: 0 But the problem persists. Do you need fresh watchdog files? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 16 13:44:57 2024 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 4YBh5Q3FVfz5hRlF for ; Mon, 16 Dec 2024 13:44:58 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBh5P5zp2z4KDJ for ; Mon, 16 Dec 2024 13:44:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734356697; 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=U2VInkb0yumB2on43pkStnzAgmLU37EBKVfpFqntZ9g=; b=eYoYNaHxR9/a3KUGcEpihn1TGSDfdDHlTCGVZ+Yr2aDFJFhqygL4zmQxjRV4mm2eChjPBL R77g+HFordb1ExtfC5YvB0m9MHkltq5Jr1hHD3wTCIxTmIDYdF8mtjIFlyLXI1FF+zUgsX evvkDjM5gd6AI+itQ+XDTrIjhuuA6IZPYeBvXj/l9Ebamf11uj6EEPGmuAUv474BZRIOs/ 5Q2L0zci8MU5EfYOi9CsBQBpPrZOyhwp7wa1Na4/wjeJP4Pp3BLe8pfQyBC4naznXUaaX7 bU6dc6Q1q4Iwn4zXcqiGDNqdwSGjBmnR0TpORoICC6Jfa7r4GJY4sUK7rxUquA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734356697; a=rsa-sha256; cv=none; b=CNtp/h0bhf7tVhAItcVpdwFnOWxo545cD3huGjSnbGyRs+HuHCOTSXORz+KaFV3qE4QG8l 0rPECn1/btczwKIc8CKxR9aMQra9zuvNvR2NDy4pSfRz0tPOdyn0bohN6SOIn7czKcRB8O rhdnGc05ZcpJV2HpUnIrGQ1hn/jhOSivPMu3OCK6JBAwEsgEUbdKcOy3sTLYrNfNWrf45T 9SC72P1S0dzjoEpC82VzsyJRRRZUOATTl1gNMMwh7wAWgkqx22q8uMlHHcdtmyFIcBr15B pPKoH77QJKGGeWU8OOYyQZmHp29XvZz7CbRFjiJ2N57sZUeZ66193JXK6bTlxQ== 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 4YBh5P5NJWzvVk for ; Mon, 16 Dec 2024 13:44:57 +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 4BGDivdv040700 for ; Mon, 16 Dec 2024 13:44:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGDiv0E040699 for net@FreeBSD.org; Mon, 16 Dec 2024 13:44:57 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 283362] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 13:44:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter.blok@bsd4all.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283362 Bug ID: 283362 Summary: Frequent kernel crashes due to pf commit Product: Base System Version: 14.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: peter.blok@bsd4all.org CC: kp@freebsd.org, net@FreeBSD.org Created attachment 255895 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255895&action= =3Dedit backtrace For awhile my firewalls are crashing. Sometimes in pf code, sometimes in uma code. Only two firewalls connected via carp seem to be having this problem.= I have narrowed it down to commit 93c80b79ad6564a17553fc1df41d57dc9da4cdec Without this commit the problem does not occur. The passive firewall seems = to have this problem more often. Running kernel and core files are available. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 13:45:45 2024 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 4YBh6L0YN2z5hS1j for ; Mon, 16 Dec 2024 13:45: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBh6K59bYz4L3F for ; Mon, 16 Dec 2024 13:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734356745; 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=PlBE5vq/WJ1m5F1SMiuetLeFSUEixEe5pcJlpXp2W2E=; b=OX6AyfvqAqCc9x2IlSxJBNEgVhqkTvJeq+vQloQKKk4D1r4daQ4hqF5KfSqMwLsAGNUk5C Kk+2rG3loxWpWdXqAiY/pDfpOpyZHbCRYms8HgpjZGZoOr50lqsoDqULDQj243ST1R7FC9 FRYk63jaXexQgJwbAhE8y5gu4k3+6louXVXcjGXMbBrMrwFwFMdEc0nURF+D7cWRIfHknL q2IJOKuztp3HhLO7KtLXLt5O50ZlagxnGgo4JXRR+5aWI4/cDm05vmVr+odtb8sZMIKPIy 0ZnJVfi7RA+1u/tqU+JtCUxlctAcTnu+Ul10pqYrGSm70nhJUBvwhpzny9oHfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734356745; a=rsa-sha256; cv=none; b=SE1oUNaREWWm08ZJ9wrrhKjOJwjhdwWSbw1QlDG0fnaoHq1PDp03lES3geDi15Ppf5Qx4P /xbbJsm3CPot1w9IRw/Bn8Q3RAVprQAF6CIbxfbAw+KWNI7ehB0i29DpqwHVzGjJVh5YNX 2I6CdmGWiQOnOEW8pDzSod3s6KYA+hl4E6khGbQDoFxSqUcBFTItAR3V/tmvgwg9f8ksWa lyK2cxG4V50EPbE61lARA8YFg2RbTEqF3O66WApRtAk+3aWDkZ3jTRXZ5I80DKGIjlnpRC DPIQw1wAfmeNsAEVd2K79YpQNgf4BF95t/AheBaoMPpFgD5TlkIxFeo7pwYohg== 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 4YBh6K4HVnzvj6 for ; Mon, 16 Dec 2024 13:45:45 +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 4BGDjjpi041301 for ; Mon, 16 Dec 2024 13:45:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGDjjsB041300 for net@FreeBSD.org; Mon, 16 Dec 2024 13:45:45 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 283363] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 13:45:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter.blok@bsd4all.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283363 Bug ID: 283363 Summary: Frequent kernel crashes due to pf commit Product: Base System Version: 14.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: peter.blok@bsd4all.org CC: kp@freebsd.org, net@FreeBSD.org For awhile my firewalls are crashing. Sometimes in pf code, sometimes in uma code. Only two firewalls connected via carp seem to be having this problem.= I have narrowed it down to commit 93c80b79ad6564a17553fc1df41d57dc9da4cdec Without this commit the problem does not occur. The passive firewall seems = to have this problem more often. Running kernel and core files are available. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 13:47:04 2024 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 4YBh7r1kf3z5hRY9 for ; Mon, 16 Dec 2024 13:47:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBh7r0SzCz4Lr4 for ; Mon, 16 Dec 2024 13:47:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734356824; 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=7VlyNNLneBeMmsEIttXxpGdPp8YS5CpMajfOTSsrgOo=; b=SVVd0UgEdobK9Fd/Po6X9fTMBydUWN7fclolt3JmKBQosB1fRnU3Hm8NAyj7zGPgpE7EPt 5KTQX0gSAv78RKo7+OzE+z633fP9FOX9+tQqCIxJCTw9evD/L3d2uGCs8NKqde0wrmjgf0 rgwns/1cyU64uJ0PCPkoD8njfvjQeAcuFDkQv8Kf0hhVq+MUoGOZWz64prD5+yCHa1bmE8 BCGkOkIBx+9+fIJ0MPt8O51wS5NAfVFjE40I59zEFolNUPXratyzAbVWU8vc0/wnmU1K1Z M5KHyc0etsOAzvE0wx+FtuM0+S7UcXn9DFMmVitP9nSpoRJplHLNcfJPJjFSPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734356824; a=rsa-sha256; cv=none; b=iF4ZOQll/Rgi4czrIpCgOCvfSMXXfi8qiZ846FIDj3u/r8F8xz7BOL6Q3dDJFCyD5tQiVJ ufnsvf8Iz+6jbgq24NbvHSD0gjkZhYM2CEe5dbScF98qsiR8lJfeGsBE5jWbL+w3hz3PqX +f4XuWAWk+PAfRjSCEV5ehK62jdVmOWzaSd6YvI2FNNXmM2jO9j6jj7R9JEJHdoC5oE2AG cg+maX7J1n2OwOKS8UdeKzODRmhA+/qGLFIUwAhtrw3C8E2iduJqchGfktNBMgPNahd1MS NV8UoqUct5MXeHwFCZyAcSGbOjmk8JTv2TFteH3P6oMOZzTQUVe6/odYyZi3rQ== 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 4YBh7r01G2zwM6 for ; Mon, 16 Dec 2024 13:47:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BGDl32P042225 for ; Mon, 16 Dec 2024 13:47:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGDl3Hg042224 for net@FreeBSD.org; Mon, 16 Dec 2024 13:47:03 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 283362] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 13:47:04 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283362 Franco Fichtner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |franco@opnsense.org --- Comment #1 from Franco Fichtner --- See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283137 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 14:15:48 2024 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 4YBhn16Qghz5hTMX for ; Mon, 16 Dec 2024 14:15: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBhn13ljnz4TSH for ; Mon, 16 Dec 2024 14:15:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734358549; 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=OuEX0H5RP+1oZkCN1mTwUGnExb7OnYVyTyp4NAdFB20=; b=tttrsM/Y/Tv3BtuAixfskiLwVLvrIpEJHS74EEXUzZrYxH7YK/acEgH6r8XW39it5MD8uJ PmJmk0NoBG3AwBpnqhQ2C9kItefeuhDOkIfVCCvbWItafGNGGUbBfHDp3ZsB3PG1N+JliE X9vVjgLvj88My3meV7aNAIzMhlX82Ly8u4EKUxM6clm++K0OM24Icn/tzUFJ8kul/c+Rao jKnpmnb4VaSJ3runm3NL0MMsbq8TkZ01vie05GKyT20fzqKqmlh3JaNHXSYER/UJs2WlKe C53ClmMGNt00wD1YH9ivi7qE8q5KHBZvOxgsKINcjB3RcbJlPiO9p97N1qnPqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734358549; a=rsa-sha256; cv=none; b=U1os3jlQuGXZmCuEBZB/izTdiSF7btD+daEkuKxfP1hlbykwn6Mw2CdX1f8pSuDrxBUhYa rKLbQQth+SgYpbg5pnjd8/fVCu1uvliNlmNYmofUsK0DM9271tiZHw7rzTIOzNWkNRlSFr A/Wm0pmL1QWVCwCvu3HJBsR1KjgahhlY5XyOVZkL1aYVKk8oXOxRGcMUyYF0ce8GJi3/m5 +eMbslXywyY6Hnl5XH8J3rReW7OYJXsey9L3CVq36jkKSFDLeCDOTMgyGHA6s8M8YZOzur /DxIFzfDBp7jVyYgnLjvbBdlMI+eIXltonfxQmP51WFvmX4gKCqxCN6d9046BQ== 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 4YBhn13FVFzwY0 for ; Mon, 16 Dec 2024 14:15: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 4BGEFn4n094305 for ; Mon, 16 Dec 2024 14:15:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGEFnNs094304 for net@FreeBSD.org; Mon, 16 Dec 2024 14:15: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 283363] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 14:15:48 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283363 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |emaste@freebsd.org Resolution|--- |DUPLICATE --- Comment #1 from Ed Maste --- *** This bug has been marked as a duplicate of bug 283362 *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 14:15:48 2024 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 4YBhn26Yqtz5hTXp for ; Mon, 16 Dec 2024 14:15: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBhn24sjXz4T5b for ; Mon, 16 Dec 2024 14:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734358550; 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=p7WzF+tCpBKuIWrtbYeB138+nimTaXrryHcIyESTbJ8=; b=GXa8Ju9NDRifyMz1lwZzIcKdmbV28GvHPF3mki5ubuIseDtjUw0sIUVcmlEuXC+w3iI3DR HWirhXjL4AFwZnawKErnnsR+gQ+VSN0OwrtL7NwLQluTXeLkNauaxWbcOvzkR7oBnLl3xm HOVazYlOcz+9yVTetmatLP6uHh88sTQlsQaEyoGIO0nBJKA4zfUr60QB/AxKKSZ2hutg++ MxzZ2DMmXuDbEDHsL0pUA6cEsS9n1m0cKFrMjYot6wJNxPpmo/8mPj6zEh8+yyNJWbNzHQ 21aIyfQLjZ+wRVgj+CDGqYoc6ljA5VZmcYKKeiO7cI55Zt5RFnYO8sBJCYq8Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734358550; a=rsa-sha256; cv=none; b=khYNGiFXk9Nc3qRlM7jtVBm5qNq6FRUUj8sSGf2x5Rf/qCpp8B1XhqaOW37grD3OrWMOaU R9NW79XO+k7wUMkn+uekcBUVp/MYx9fs7XiNrE2M1LXGWztSm368x2t6146bJktSZ9rWCp 5lAwvgF/Gj9eaTPCGhPKSlTMuj6q9fN3TqqIfdmuD7llRIui7s+nAcL/s69fnRStS2Xv1B +5MFJwaeX3Ea+FS2u+Ig4QCQiUbjAHZYt7aWObYYNcAytdVG+UcnWemo4Tvipt81h6n/VN 3cVNKNR58AGYPXLGVAYCBVIttFrXqjC/nA8sa2RJl4/Tv+muLsDyD/mkO69LSg== 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 4YBhn24SLWzwVV for ; Mon, 16 Dec 2024 14:15:50 +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 4BGEFoKX094350 for ; Mon, 16 Dec 2024 14:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGEFoBR094349 for net@FreeBSD.org; Mon, 16 Dec 2024 14:15:50 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 283362] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 14:15:48 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283362 --- Comment #2 from Ed Maste --- *** Bug 283363 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 14:17:03 2024 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 4YBhpS3vWNz5hTYD for ; Mon, 16 Dec 2024 14:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBhpR6fBNz4X4J for ; Mon, 16 Dec 2024 14:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734358623; 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=ZMg7jDITIgzFfqpK7G6Y7Lz7SQIH8MxNQgoToiMIlgA=; b=Arbf5oOG42o1PsNRhxnQi0PLGNlQJ03rKcKXrBtKPRjB0JIEM5cKnGJJgHHiTS3XMveGzg ndsPEGgLFI5JQY2k0kAVPs8XTp78+Y4Zg5IKB2d7jOJOJVYUo4aJu2nu9McVG9ArvO1+rq eQ+xTJJ7Ofq5BViNdF0iHbERaSFFx2ZWMCo21gf5VKoZcCtuWANlSLnE7D6C9JoP5KbSSv FIgMEjzjEZ2ol91d+u2aRwvuxwJYIewTT8ErwOoxByWHCbfy/6Sh9gWiUA/KaB72dIhLIV gGYzoioPcznI94Wtyrdygb3YSAasDe++8SUCYhIoYXeK3oLKNx9Tdxw4ZhsXBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734358623; a=rsa-sha256; cv=none; b=JfjsDv2wNc8hRuTJzSl3vi6rQteJ/xpqC/PNbDf/AqXoMm836ael3hH8UOgZdRKzLB5PQ1 FoKR+LeYer2Kz8W2Q1M1qIoWLp0AMl08gsDH6CAQb4fICKOA/yScj51CklQixd2R3bG7pg msVjm1QJ7RISphiXiWhoXnUTN/70R4zHoT/HtzKdb5bat7ZNwkIZtyZd73FLDN77UQscDr MhwgM4rnh3XEC8/MGPww1eSQFKpsc6UWrecqQioAyrfyxG1GL3wQRaWG/WDOwDj/TaKFl2 fcz87g3NQuVX39Xwi/jkpVTAlGIc2tiZ/09RlYbllOTnlDub+PRhPnqebACVCw== 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 4YBhpR3lRQzwRw for ; Mon, 16 Dec 2024 14:17:03 +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 4BGEH3MG095052 for ; Mon, 16 Dec 2024 14:17:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGEH3BK095051 for net@FreeBSD.org; Mon, 16 Dec 2024 14:17:03 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 283362] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 14:17:03 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283362 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 831 | |37 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 15:58:36 2024 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 4YBl3d3Xq9z5hbqt for ; Mon, 16 Dec 2024 15:58: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBl3d0w3qz4Kjh for ; Mon, 16 Dec 2024 15:58:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734364717; 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=IbbafHt4A+r9jx9eP3JeAVQTXcrYydnxrG1Xr+3HXAY=; b=pkKX+fFsqrZlVtJpa/o3KeKSvwWGsCTbJUdPnRSbo/Din+vxsgcS3pLtElkDD4tm3G1mYw 6/gup2qhJpwF6AfYlIyTNOVBbxxBYOrZxRxdouTOa6Oa4sdgGPTPQ8+gONcnWcsh1QClOT cHGkDkun9H0JA1Y0BKAZ9Ec8Qj2zrYMiu5ie4GVOEPRMxntygOVJw+PN3jGrDc3cRhSNLs b7EtY34xyFdoqs1KadUDqgPvRMojdsecxL5EyhhU9YaeDoyXlUTw2V+BPUQBHYpiSvcGos dbVd1dWFcgQJRfDlAaBorWKDhegFjFFJAxqmHGUDhVo8muAxJ/E4DniZWmqWwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734364717; a=rsa-sha256; cv=none; b=cCE1vIWQfrCulokDezUikVXFtGkBR4gIAkRExqx+7t5qYWUBjUlpEzWGdppqRqSSWlqV1m cMJez+ypTQ1kRdGPh6Wd1g7LyEYNQli+nPT1fJQhx5GS4VkgUXNak3g5Wj/gjP6M8VZnjf d3Ukqsw4lRG/3e3v8v8DuQO0rUbPNHuxo1mHERgFkBm/iPwtVFwUTzSo36o5Vq0EGOr3OI YBhwkL4enyXhRO3D1VvfReBWOtlYyvVnJDKPugTUH+XGym1aHeTNbBw8oT3Bgw1sRuYMuJ /7/CqoPYUfv9MniOr5IkGQ4/APerG5Zo3/kVADQIeEMC5dP0M5MeXqPEBvuMWw== 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 4YBl3d0WSfz105X for ; Mon, 16 Dec 2024 15:58: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 4BGFwaZT049415 for ; Mon, 16 Dec 2024 15:58:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGFwawg049414 for net@FreeBSD.org; Mon, 16 Dec 2024 15:58: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 272842] Missing WireGuard integration into the base system rc.d scripts Date: Mon, 16 Dec 2024 15:58:36 +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: 13.2-RELEASE X-Bugzilla-Keywords: easy, feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@oldach.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D272842 --- Comment #11 from Helge Oldach --- (In reply to Patrick M. Hausen from comment #10) Little. :-) IMHO importing net/wireguard-tools/files/wireguard_lite.in would cover most functionality. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 16:26:34 2024 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 4YBlgv0bl6z5hdKx for ; Mon, 16 Dec 2024 16:26:35 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBlgt4yF9z4QXP for ; Mon, 16 Dec 2024 16:26:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734366394; 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=E92pqmbCVHI9SCU6rdgeO6YVVumiLOcBLP9VMntq/tA=; b=Da7y15fW+RUXzoIhPc3d7Mynz+eJHhI91/h8JLK1z/ZD5XxZgYxpZNC7PlC/sTPRRCjyc7 8jL6q8sQ886Bu3BkgY+GehGSl9EEHsou/RMwWXtVEAHb0Zo5GRZIkCaSe86gK96G5bhen/ scGsy/bBix7ZOVyUhZYodh8UuL8KIfYvWaPCfAbe/2WPXTguxDIg8S//fOpOOvYUIiNUVn usK/m3QjfTlNtljsrDQmGssH/qwa5Po5A8ZCTT0ZovwCMJ1IeSAXxhP+pWbISFCVVT+rX5 SbJdR5EH2Ke+TmvG7Bk+YtK489Onk04UznZAvtGu64AILLLtP2XCdycYxsrn1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734366394; a=rsa-sha256; cv=none; b=E667H2CzRrDZZH9ZU0BCvCMHefOuW/ZDGHqPAeSTkKVDIJI85bwS2XnezA2CS7EZ03Rus/ 8yzQVCeQypuJwljeKxwAuJV7/87Z9L62IBt9IwcJnwfuMVIj1fsqAX5ldrlUQWletCE3/G Jh8zGzNueuznJd+2rDZ7eYR8ccTNzD28Z15mqqhRTPTnwrPXppA8zGuwsDBLDKVrwZSuK8 t/XjNms2mEiRPoXeluTHbKnxRSTbw4eGiu0aOo6poRe2K5hh0H1m77oXLL+7YID4zio8x9 OjfXI8Cfj4M9NP3E333K9i5CSIna/EyK+kqYJ6ClnoLIwN/0dflQAOrBJUeTmw== 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 4YBlgt4RWmz10sv for ; Mon, 16 Dec 2024 16:26:34 +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 4BGGQY9Z004136 for ; Mon, 16 Dec 2024 16:26:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGGQY3k004135 for net@FreeBSD.org; Mon, 16 Dec 2024 16:26:34 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 272842] Missing WireGuard integration into the base system rc.d scripts Date: Mon, 16 Dec 2024 16:26:34 +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: 13.2-RELEASE X-Bugzilla-Keywords: easy, feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D272842 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org, | |kevans@freebsd.org --- Comment #12 from Warner Losh --- Add Kyle for his perspective. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 16 18:00:07 2024 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 4YBnlr13D0z5fm1s for ; Mon, 16 Dec 2024 18:00:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBnlq6zXnz4Zr5 for ; Mon, 16 Dec 2024 18:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734372008; 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=wEA2iae5pTj5igKoWqdMUZdl8gFg4pHmaDmYVOiCJ60=; b=S0S433l+Tiu/DbeYwCnD86e78eEeLafGk0Jp7B3260DvNbBjAvgYV+VkQ+O7+zSW3g/lw2 UBezqHaLw6B2gKpXR5qsml1EUvaytXG62auqs9cvwDXjpcJNqyvrPa0hmnGuZ3CWyf29iR 3X6d5V0xCypeayEPmqD7R2kO/r6TX/mjPHXiYraaedf1ZcFDkJ0TI2N+H7cM59HJvxiufS 2n5tFWKi3wMqlcRC777q+g/RtwfFCKnUhA6S5/iHIokw9KdM4fd31wmRbFJ4x345yGKGqV W+I0POsLRDvLhE6Ugf7cV3LcQBRFc1WIBFDDXS1lYISk4nGsi8wKD8L/3e4kxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734372008; a=rsa-sha256; cv=none; b=QPpmGx2m8QYMyKVJX5BWGaddTuqxYmH/80Kl77jkumBKfMVCREFFG2567qWMFUa0EIBw1Y 5B8wxAD0k7aOeLjAKZeaXE0En89z5V7oXaC9W6li8ehqBBSqG4qNoVawU+5jkVFrstXztB 7X0aUEMFt0lyEiNvwON8X9mk5CQ+huTZl3F8lXgpMvi1+8B5ZoDbk/NusD5LGwyDQ1XqA9 cxxn2RvHyNaQa0d8eRLYXnR1Ec6bkG7C8UELGU8YA4PIgA+cH0Py9+JbA/yBxRbUkdKElw XmDjHVbtoxY1Aupdom9pgMGgnFIiqxrAPJ6vjE05n1uh4TJ5jLVuYggOkxR+NA== 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 4YBnlq6Z48z140s for ; Mon, 16 Dec 2024 18:00:07 +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 4BGI07nM051284 for ; Mon, 16 Dec 2024 18:00:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGI0719051283 for net@FreeBSD.org; Mon, 16 Dec 2024 18:00:07 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 283362] Frequent kernel crashes due to pf commit Date: Mon, 16 Dec 2024 18:00:07 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283362 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |DUPLICATE --- Comment #3 from Ed Maste --- *** This bug has been marked as a duplicate of bug 283137 *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Dec 17 13:42:14 2024 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 4YCJ034Gr1z5hF6V for ; Tue, 17 Dec 2024 13:42: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCJ031LCCz4hnc for ; Tue, 17 Dec 2024 13:42:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734442947; 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=DR0cFXI4RuJUNWJJLYbtn9A034oHD5yR4T+d8HKi0sU=; b=MKgt1BDZRGD2VvHwwONy3mhKXy0gGcW9Mba1wPljCMaKRAt16ENLJc4RKLYnCCAMtCQwrF 4o1pcyLezLs84OwStea41HARkgenN5spJ97gcQXjl9hkF+tr0tqHv1Znw2uQIqRRrnwt+U f/BtsfDtBA6BK8dxgkZ/ZdqaUsV3PBjmUHplkfrEPIToX4TInGv230KpP1SO0LCJ2cJe2j 3IDaFaE4GTSBIRgO7wF++LfRL1omtqgoF5NZ1o2w2P0j1a/YPO3qa1/H5ci9vkzWr5pPko SgtqgjoRxHESnXw9zoAlfyhlX21ihP1KmsG+98F9yoeskNGVzNIOvabk105ChA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734442947; a=rsa-sha256; cv=none; b=GF87zOLzeP3y4BAIt9l9MRN3k49t1k5AqesXFiOBfvmr+bAWkTC7TPe39Iv4GHmaWo1i7H hZULBMLJHWiHVW1lAe+vFZu4PZYO2QQjdl4kSyGeIN5Nln/lVKu1ZLw3xumyAu5MpihOOB rOt1TVxxn/BKc3eGpPb+i0ML5OM689hEw1zjk4wUdU2h4yBVB4DSe3VbGWjbcp6jRIcsQP QydbH5fR561OYaFm4WM9YTykb1mWVu3AQATycN4UegchoU6uWu3DQoAJaZ4CQ7fd8xXXuX ItFIwtNFaW4yHukAi/XlB+CA8hvPxew0NWUma69c/oLOII9MVu8pHe7dG8ZHKg== 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 4YCJ025zdszQ9j for ; Tue, 17 Dec 2024 13:42: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 4BHDgQZM090937 for ; Tue, 17 Dec 2024 13:42:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BHDgQgl090936 for net@FreeBSD.org; Tue, 17 Dec 2024 13:42: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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Tue, 17 Dec 2024 13:42: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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 833 | |75 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Dec 17 15:26:03 2024 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 4YCLHb32Bmz5hM5l for ; Tue, 17 Dec 2024 15:26:03 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCLHb1mXJz4vCL for ; Tue, 17 Dec 2024 15:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734449163; 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=0L9B1b5L8fOFOwfABIVatJzOIX8MncnxMbL7jiG7Y+U=; b=Wte820CP3BNHWwvqnQdpqH0ygZE4VoVTDl4PgJWuj1INDcJUQ+ORCAaf8Bmu/y9jCpzld6 SvGYA5u5TH8SSvwRDsYjGIwPDfX0RUgOP4hRtjs64Uuk9LS1ioPgVb8p2PBeTwMJN07dRQ wQdyleVHrvUIaV1ZDbw1R4vBJpxexED00YIbL/I+i9fkRLyq+4XXbbtCjDg6AEr5dPfAGw qQdn7HtO7eYDIHZ0h6sqzssHm9ffiJJdp0r3tDhunYNiZHECBEUx37LUc9bCGs2mWfbIwF rA196vQNLAUXMrF3GbpX68j/9VNmRWegSAEOtMx4aqn4d89D4kCcY8ZC52kMtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734449163; a=rsa-sha256; cv=none; b=EYosC63iT9eXeAILkuz4/B/DlGZP0bsxkIUkI/aGLg7debjiPGFzOjjwxJxXWwbNq870oC W90N1FkFcPZGWmWL5HbXVVOfL0pVm//QSG3gfu68VWnqKv0SI3j++x4rave81llAFxgvZp mqb2Jd0ZhCsjoSAkcQME9AhV0n/caB3q5TIWzW6YPE8pQkUZPSJQoIWM1uGcB3GPXmiq6Q Bl3sksjgqCWiAcim3xr/oxaQ8T2Mp+7VjpiAqrcwZgdryCARbgkifATEZS17YL+kPYtNEy /ySZCshNTio24duYlEEG37kTyD/2akY9qUnVCxJqwoLvanqRMU1qde6Q0QP3yg== 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 4YCLHb1FvxzSmW for ; Tue, 17 Dec 2024 15:26:03 +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 4BHFQ2aJ064902 for ; Tue, 17 Dec 2024 15:26:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BHFQ2Nx064901 for net@FreeBSD.org; Tue, 17 Dec 2024 15:26:02 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Tue, 17 Dec 2024 15:26:03 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many 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: assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Summary|accepts and processes IPv4 |FreeBSD accepts and |packets destined to |processes IPv4 packets |non-local MAC addresses |destined to non-local MAC |instead of dropping them |addresses instead of | |dropping them --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 17 15:52:31 2024 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 4YCLt76p0hz5hNRV for ; Tue, 17 Dec 2024 15:52:31 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCLt72RM3z410J for ; Tue, 17 Dec 2024 15:52:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734450751; 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=Kj9xgBhNOU55Bw9O2v3NG6ANsO8JmAcT8XXl0x3ivSU=; b=az6RICZo4Ni/mzCdbSEDRk0bPPCRo/4289XIq1Oy/zbnEp9InxNx1OZJVYtjLf2m23Hx3j 0DHo8XPQYG7P/Q5riEypSizowUQknQzKa1ACwBPghVufZ12iJaFPjhqPwa3MLDuAn2CShY m0FzZQyqe0xUWOQdIi8Zw813l5xJ+JU1kPnD2t5drineIYTIBDtMrlSLVQX1JyWBvukbQ3 yhImV64YnuVkUPeYd1hdSMgVvoEjX8Na3/akAobEnjMpC9B94dZ5A5rTLtTWGsBTjcn1y3 xSJs+u52JVwC3HuzbvsOSMiCmDVsnICH8J6ltJhm/gYqoXw6nQeBi7VlbyF/DA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734450751; a=rsa-sha256; cv=none; b=friXP9nG/eY/pdvdoUMIPm6tlf9GurgMWn4w+43LI0plEYdP2rYQGxdMPJbH8/L6lEkXYD rSpmNxgkVCGrbW2FV8G/rNyNJSGSUwFPaM/QpA7IBTw1rcghzEMZJrAGKMX+boyNjG5GsY 22eWVzCvcNhtJvTz1w3Q7WBWCi/lYR961G2sg1cJmexC7INFyKY1x444++kCfXsRfRWffC vhQN1fDbQUd+eSzb28b5i4agokd8CnWvYdMVP3jHcrGa1yvH4ootNPnjr+xz0+KNTKPumg ObjUbev9ktZTxAw5xuS0ZJq0pvPu5NKv7lOWSCXKCkrRQUrE2GvBQDZ/mOZkKg== 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 4YCLt724GSzVjx for ; Tue, 17 Dec 2024 15:52:31 +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 4BHFqVnF010439 for ; Tue, 17 Dec 2024 15:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BHFqVdV010437 for net@FreeBSD.org; Tue, 17 Dec 2024 15:52:31 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Tue, 17 Dec 2024 15:52:31 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #1 from Marek Zarychta --- That's probably not a bug but only misconfiguration or incompatibility of t= he default configuration with the user's needs. Maybe you want to change the sysctl knob "net.inet.ip.redirect" which defaults to "1" and configure one = of the firewalls (ipfw(8), pf(4), ifp(8)). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 17 16:05:56 2024 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 4YCM9c4d5Pz5hNrN for ; Tue, 17 Dec 2024 16:05: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCM9c3KWHz42yZ for ; Tue, 17 Dec 2024 16:05:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734451556; 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=3/2+jP3EsVVB1EJy7DribDyU11yvYKcfZz7aECY8rU4=; b=LwbfPKChkylNoPhKjZHnW+txdajgjnmED5PYdITPIW7n43o9FRtnGyk6Tce5CH2WXfJBSX hqHSu7EUZBnuI+LVU4OHkF51DabOdbMpcjRw96ibcEH3Y58eKMc3YHdlrNsL8LK4/PxJkt ndRcUGBRWhBQBcoDhKLpb/liaxJIG34/SunS5nwH0BcQdFwVmVZRugCJwDWZD5slSt1j/q pi/+puVS6hUcAZNHsTwNbsh4AFV3pzeA1e90lJAr+lTs8QCDZa1ZcD04RDI1z6R9l9nZno XuS2w8+E9CaRHjJzcgAuYpA1hRSgXh28m9hFIUxOLplKFzIMeasfblZfqPH/0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734451556; a=rsa-sha256; cv=none; b=jD6VJ0UFGiQubCj6MW5P/XWz9RcuhRRy8Y1VCZvR2oWAgXY03p7moqSRHCWDQ1+lnW0sR5 5DwjV+AdqjFz/198GOLHHA8nUNwn9vSLNlXI2qKQNMmamELXV50AgQw7ICOBvuqFhO+TAx WFEI7yU1twr1l6CV8xLMpIpV3iH91xFIbrzHmQdr+ea+wRPcoMQKxxpmReMbJP1rv8kGh9 NkDGOEW0V+3t4Mpa3uvMz6+W1TFt8j1d4KUe8kLsYOUv1H/wTSI3GhJ5acIXp7onJP0y7D gOELGtuzfa7ERrjHrcyDw0L20b4TKFKdJinmqdONS2G1nc3nUhFUnOgS9Kg6Fw== 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 4YCM9c2xBbzVwd for ; Tue, 17 Dec 2024 16:05: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 4BHG5uNb029317 for ; Tue, 17 Dec 2024 16:05:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BHG5uw6029316 for net@FreeBSD.org; Tue, 17 Dec 2024 16:05: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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Tue, 17 Dec 2024 16:05: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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jgm@osn.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #2 from Joerg Goltermann --- we already tried to disable ip redirects # sysctl -a | egrep "net.inet.ip.redirect|net.inet6.ip6.redirect" net.inet.ip.redirect: 0 net.inet6.ip6.redirect: 0 but this doesn't resolve the issue. just for info, we use IPFW and ng_netflow on this system. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 17 18:15:07 2024 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 4YCQ2m1fp0z5hXN4 for ; Tue, 17 Dec 2024 18:15:12 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 4YCQ2l3s7tz4LWR for ; Tue, 17 Dec 2024 18:15:11 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=NRTFjmN8; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=markjdb@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-844e7409f8aso180006139f.1 for ; Tue, 17 Dec 2024 10:15:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734459310; x=1735064110; darn=freebsd.org; h=content-disposition:mime-version:message-id:subject:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=plsQj8/no2QgMmjHbYMoPsX4V8KfwyovnMwS0taJccs=; b=NRTFjmN8D7G6jMzRK8vR+oBG3RCA3rv+5bqtgqJurh9lqlTCmF8IzZBVjM0nMYZbaE rxbWhiImFGt14FTaSsTnqPy/6G2+ZbLLlS0aW27R2pOzQJUQhvOvzX19FapJG0OqyLE6 cyE8dmfoLPocuP5d4ZeRrkejSSQatZxT+Eov+vWqrlL1JEtBcN83MLtL81gbkxJ23q5c GqFgmHICGX+/rXfxToAY9pAxUDAAknkZvd/Q8YoPB2kuM/GipBJ+8Fc3ZYa+l5tNZOFa Q/FL7c5GtktR54OGch9slGEaAFFWo1i5OlvTG61yDfy7Wu3jkXPrfLcepUMPLxF5iwtF 1UnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734459310; x=1735064110; h=content-disposition:mime-version:message-id:subject:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=plsQj8/no2QgMmjHbYMoPsX4V8KfwyovnMwS0taJccs=; b=ojUgkAL0BFfNWwwDtLa09PhBdRTr4kE5UlO99wY6Qiyh3VUuATRvm0d54ufHjDpKRb EmntrktYAygcdEZbsu4/7XWIwPyk6XeFYMwq+jNWzv4M8hZDB1PqYrU4WdKHQ4CqTOZR 0svMDZkOX82C/Gt2cQGsElQQLCY7EQ3jFNc9OXWVCAwPx81Zlhgf4v0tZZiJbaF/YRPo q+suKjX7LUpHmsMerWlX7wBq5hFa7E6k0lCfGwnK5D6DGVFDN6RrdrbNVwwdU9gqP8iH TSuLU8Vsze+m7KDGpVpO3NpKpQ2RwXT9knEsMxi/mGSbhOoOg5X8QTMtkmB0wn7fon0+ 8c8w== X-Gm-Message-State: AOJu0Yy7IrZdnj3VCFgeey6r+2AQg5bU2R5AIzVC/WeSPRGvkFFRaqiZ 8SAP/ABzOLvyhDQGUnoS8asAGYcEfe+vBaYsFVTeX2pVAvueZNaQzj0AKw== X-Gm-Gg: ASbGnctSY4gGxPr8sSWI87BBdRL7Y/ZKA5ewmmngyTp8ngiMtZJ8L9dzXWpOqLsz09q 71vAxD5kTiD+gnWZXA51cNdWbuLIJyydHAxRcJiMqcNfqdqcr1fj6+PiTW1ZDy4R2FfxDSFnobx fH5eEhnZPPWEeXzMeQJMTrM+GHqPFvRT2rg1weLzml/xNsBmjT0tC0/fX47rfXBOg8nKNqMiYHG oaxw6/RV3q0GHG+Nb9AZ9ZdnZVGC7DAiuhSe9R3gpHIw8Hl5U9NlxMPPDwHHCB5lwhOj8o= X-Google-Smtp-Source: AGHT+IE7T9wf2/FG8rgjNUodMeceZE9H2EoBs1vs14AbclsZ9m3CVgSnFDCJkCI8GTAIFwm+BXydlA== X-Received: by 2002:a05:6602:3429:b0:843:ea9a:acc4 with SMTP id ca18e2360f4ac-844e8b35d80mr1712500939f.8.1734459310025; Tue, 17 Dec 2024 10:15:10 -0800 (PST) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4e5e32a341esm1829941173.103.2024.12.17.10.15.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 10:15:09 -0800 (PST) Date: Tue, 17 Dec 2024 13:15:07 -0500 From: Mark Johnston To: freebsd-net@freebsd.org Subject: per-FIB socket binding Message-ID: 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=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-2.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), DKIM not aligned (relaxed),none]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2e:from] X-Rspamd-Queue-Id: 4YCQ2l3s7tz4LWR X-Spamd-Bar: -- Lately I've been working on adding FIB awareness to bind(2) and inpcb lookup. Below I'll describe the project a bit. Any feedback/comments/suggestions would be appreciated. Today, a TCP or UDP socket can receive connections or datagrams from any FIB. Suppose a SYN arrives on an interface in FIB 1. A TCP listening socket attached to FIB 0 may receive the SYN and create a new connection; the FIB of the new socket is inherited from the listening socket, so the new connection will also belong to FIB 0 even though the SYN was associated with FIB 1. As long as FIB 0 has a route to the SYN's source address, the connection will work. For some applications, one may prefer to ensure that the connection is associated with the FIB of the incoming SYN; if no socket is listening in that FIB, the connection would be dropped. We could have a mode where accept() puts the new socket in the FIB of the incoming SYN, rather than that of the listening socket, but that doesn't help for connectionless sockets. This is useful if one has a service with per-FIB configurations and wants to run multiple instances without having to specify non-overlapping addresses for them to listen on. Or, if one wants to run a service only in a specific FIB for whatever reason. To implement this, I propose having per-VNET tunables for TCP, UDP and raw sockets, with the following effects: - Multiple sockets can bind to the same addr/port (INADDR_ANY in particular), so long as they belong to different FIBs and all are owned by the same user. - SO_REUSEPORT and SO_REUSEPORT_LB can still be used to share a port among sockets in the same FIB. - When in_pcblookup() goes off to find an inpcb to handle a received packet, only inpcbs belonging to the same FIB as the packet will be returned. If no such inpcb exists, the packet is dropped, even if an inpcb in a different FIB could handle the packet. This would be opt-in behaviour since it can easily break existing applications. In particular, it'd be easy to lock oneself out of a system if, say, one relies on being able to ssh in from a non-default FIB. That said, I do think these semantics are a bit more intuitive than the default ones. I've implemented most of this locally; I'm still working on documentation and test cases, so haven't posted patches for review yet, aside from some preparatory cleanup and bind(2) test cases. I aim to have things in review sometime in January. Any thoughts/comments? From nobody Wed Dec 18 03:44:31 2024 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 4YCfgg4tRxz5gh1h for ; Wed, 18 Dec 2024 03:44:31 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCfgg34qDz4Jkr for ; Wed, 18 Dec 2024 03:44:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734493471; 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=fN55qkXKZd7vL4XZm62DV+cMOSgjyzxext9j2uKREpU=; b=YDivnhyS4X6DCn4MTk9V1qxEHl/2Z+E0f+x5fI0ZVVCIty3hM3pQy7eQmRMqQC9sion67X 2tElx+m9N7WkNcyVy0VvFECNMV5wrZSNxcJJTHiKWcNbFa3u7XRHmP3/Xooza62mRZxOP5 5LaVbAq8PCWA13mUhw2w3Di2HIBYQiYU1h0N3G+WeTloRYJyJNijfiaxrVMlZTkzbF9wUQ p4HTaYt+lka2kRooKc2DDpuTJJGXmg6qUwXkQtBId8BXFUfo4LeJihzFWPvlaYCvm+X42Q pCq8efyBtYYDkF4zAWA7h2vK7U/ICjPl7MgNt+uOiFR5k269dqFW5P9d3vPj9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734493471; a=rsa-sha256; cv=none; b=luuWsx80KzN7ULDyEMvlGAWMZ1E7ualSgNyx0DGuTtLgms94W6LE88iq+7xPlm+5c8bI0B sJUoHAO36YTNthjg4CyqglnGfTsZBbRw+okz7eY9UgpitoXSiIj2a+vWKrc+fXQbB4L+iY tBvrQK+6p9xKkvQ86Si8/XL0M5pfWiX8jGAS7CwJ+QPByQzh8V5wFvDrPKecAqjpOVT7Y0 LKY7KcC1FnGAzB5Em1U64Sevps3/SbnkFjhSFHFR9V3gVwTFuPf99EG/O0qBJEPqRhCs14 r4i72HAsabND5Yx1Bo0HVnvTA922UWAabQvegqCGqWbMbSOR4X+Klutm+Mmdcw== 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 4YCfgg2hWjzrSn for ; Wed, 18 Dec 2024 03:44:31 +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 4BI3iVj1059259 for ; Wed, 18 Dec 2024 03:44:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BI3iVMP059258 for net@FreeBSD.org; Wed, 18 Dec 2024 03:44:31 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 03:44:31 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zlei@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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #3 from Zhenlei Huang --- (In reply to Joerg Goltermann from comment #0) > the system accepts and forwards IP packets to non-local MAC addresses whi= ch can be > seen on a tcpdump eg tcpdump -netttti vtnet2 host 146.185.xx.yy You may want to turn on the tcpdump(1) option `--no-promiscuous-mode`. By default tcpdump(1) will put the interface into promiscuous mode, i.e., the interface will see all traffic. You can also check if the interface is put into promiscuous mode by ifconfig(8). ``` $ ifconfig cxl0 | grep PROMISC cxl0: flags=3D8902 metric 0 mtu 1500 ``` You're welcomed to report back if the issue persists. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 18 06:36:17 2024 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 4YCkTt6Dq2z5gtkC for ; Wed, 18 Dec 2024 06:36: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCkTt4zqzz4ZPq for ; Wed, 18 Dec 2024 06:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734503778; 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=JjQddmirpLyY6FEah39MqvWMDLvhxXQddwwnSFFifK4=; b=iQsWHT3FBEHCfwk/zeTgKCAltf6h7km/NQos0LO95WUFeIk7NZfYiN90wj27SRywKV6PxG WScYzwHlPEjq3Us1wKt2wJPTwXUYJ4iIOjITPiLlwL9t48WUCkZz0jV9sN6P9EjWBKhyWH NYMJCX8pqlov8Wy/sMY0a2JqAuksdDZX2dYgKrgMjFmNRC2c+FjlQZwXKig5gz3n3JQViv H9CFnpYwP1tq3fncLC8QsbKaO+E5YMMl86YgDqNI+5k5R8C7ZTfhXg36A7A8ZJn6wegR0s 8bHLxge3mIzo8YCodTRavm2LS676pCXWbQTF/Tb+kp7ybdED4rFcDn9UOeo7aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734503778; a=rsa-sha256; cv=none; b=Tn+95K1qyloXMFPiDwS//piAXfjdP3Ssozx+k20M3eTobE4m15jNspxQMD/dr21FdJ75Rh VhcZENraGU2Ic4XiwznNFPKnt0A/wB6VHg/Al5e8WWV77Ptefr4u+bN+wgmPxEo9eGXNz0 0NNG2DMj2DEZCaFfJFse4LDj5DTcXlJ/rdwB95I8Mr4566y7Tr7d0VqAf+PkHPw1DsglpM TG1Lkb/x15DmHVlQ1qhHVzRqo9IHErZICjhcGAZ9VSPd3kH0f/5ffEnrzGX4O9iK81hnJF Iq56XYzzgVGxnpznOC3ODLaJfHo3YaHl3/nPzZgGwnW3O5UJk7xIH2HWkQr4bg== 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 4YCkTt4Zjyzx7K for ; Wed, 18 Dec 2024 06:36: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 4BI6aIxV031542 for ; Wed, 18 Dec 2024 06:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BI6aI5C031541 for net@FreeBSD.org; Wed, 18 Dec 2024 06:36: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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 06:36: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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jgm@osn.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #4 from Joerg Goltermann --- (In reply to Zhenlei Huang from comment #3) Unfortunately, this doesn't solve our issue. Promiscuous mode is not enabled during normal operation. The reason we filed the report was that we received a message from the NOC = of a major peering exchange informing us about this problem. They found duplicat= e IP packets with our MAC address on their peering network. # tcpdump --no-promiscuous-mode -netttti vtnet2 host 146.185.xx.yy tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on vtnet2, link-type EN10MB (Ethernet), snapshot length 262144 by= tes 2024-12-18 07:10:31.949435 fc:0a:81:xx:yy:zz > 48:f8:db:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx.yy.33824: Flags [= .], ack 746869960, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949443 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx:yy.33824: Flags [= .], ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949529 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx:yy.33824: Flags [= .], ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949601 fc:0a:81:xx:yy:zz > 48:f8:db:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 1919842898:1919842928, ack 2070174457, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336], length 30 2024-12-18 07:10:31.949605 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 0:30, ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336= ], length 30 2024-12-18 07:10:31.949702 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 0:30, ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336= ], length 30 interface state during the run of the tcpdump: # ifconfig vtnet2 | grep flags vtnet2: flags=3D1008843 me= tric 0 mtu 1500 # --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 18 09:12:43 2024 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 4YCnyN00qSz5h5Vd for ; Wed, 18 Dec 2024 09:12: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCnyM0dCZz4mv3 for ; Wed, 18 Dec 2024 09:12:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734513163; 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=WIdqcm+4js489oUwrtPnilFB0yyHaOJmZNjTOxRb1OU=; b=oSdrxxFAfwCD2PBECpg8lsF4blz+7+Uca5GAUpQ+X43Otn1HyLw7HqmiUQaXsqlipwG9aB J84gBovRikNMZ0JOjVwsXGFrutDiJk2gS8LGLyrhEOFd/ZxA/pcCwoVr3oi7XXJ0cVpDhh aBbaC4/DRqdXvsaLf+WV1Kg17hgh4ae4KuTK91i19fHcNr29UFWlC8AfzzxM0TygjA2NbU tFxk5VUqtORWGjZhX6atQM7J1vOIXVMn9u19ktzeqL6JP9x6tWao0HyXEepQ2d7s29iAE8 ga+5vPdBWxJGJlsq/JvjPt8ZOvXPmPY5F4DX5w2IFJsYefyna2e8F2Y9FuUR+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734513163; a=rsa-sha256; cv=none; b=VJKEfmJV79cy62PgS12vDi78uE5Cv1SUyArQ5ZD5B210DMT7v/uxtcS1LPIRJ/ZBTWDV4Z 6vOQf+xz1PPU328FNmtXUKwak1eJr7/9XUmx8OYRYyEZPTNxxDpbUALsvgTCXZimmlx1WR nTa4OMFB4BxrrtfLnZI8fFMNmZe+465RerqKOQmKAp9skRJtZwy08RcBSNNMXLftrEXHZj P6MFkE9RezEHX1Fr7wkLWQ9in+hlXWEGOiawt/XZsgjvtbgRL99pJc622Q3b0gfhd0uajd YTKZqEhNzqEcIy5mm67sjnwueRJSLG6UKOM30J6W6PRvytNbftA3RovCQrd5Ag== 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 4YCnyM0Dnnz12Br for ; Wed, 18 Dec 2024 09:12:43 +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 4BI9CgQu075049 for ; Wed, 18 Dec 2024 09:12:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BI9CguE075048 for net@FreeBSD.org; Wed, 18 Dec 2024 09:12:42 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 09:12:43 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zlei@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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #5 from Zhenlei Huang --- (In reply to Joerg Goltermann from comment #4) It appears that if_vtnet(4) does not correctly filter out the unwanted pack= ets based on mac address. May you please also share your network topology ? I'll try to reproduce this issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 18 11:43:55 2024 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 4YCsJq6Ggxz5hDyp for ; Wed, 18 Dec 2024 11:43:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCsJq2KpDz42Hn for ; Wed, 18 Dec 2024 11:43:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734522235; 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=r9esMbEBVPof602HKfZ+9ZscBy+3me0irLe8nIzwZBo=; b=yiwZt9k+BBv+rCiIcwbIgFETSSjVDNkAGIjdocc71HgMedY7E+owZeeko5a6Xnse23eaT/ RcjMBsD1Z1w4gRykb8r2lZdV03OcZIhlOeGYowf5sR91p8z7SYC+XHq1YSqijbRWkwByWr kmdjSYTJmFTZPaFFWAPpSqzNMwdBANEZVwjzzbnw3gh9g3XJOmf4i7u7KNR75Z+7FTDcf9 FUpI4W3JTlfwJ0+M6DEK1Varf1xL9XHRs024FrR53jRmUY7R6e97uMWbk7cFYeqPTQ0Gql BtCEVQTfqKtSgW6v+PZF4Zo2suQQSGLFhBcoeh69UQPWZm8iKSmX0MFO2s9EbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734522235; a=rsa-sha256; cv=none; b=v4F2US549F7C82xzT1oI9CgB2C/ZFp3B8EgcTrEcKBL1qs6GeGVtuahTTb1MS7E+GksyOr bextR+huClHq2wN3E4/dfn4IuDdj+KUchy3BWHi565PTFXpKmrjx6vyG3jWu22Uw5Hx9UF 05sKfzNRuvPa8UK0FVvkVI97g19TUnb+53IyLGbhM/WQs/vahAYUA9cAsc+awm4NOPhFwg nUq9q8lhPONU3j10HUoR+mSmzq2RI9nyHtycY3Cnvvclg9hZEZe9zggadUo0NfgrLxLGEp X4ZEXpSJXwYi0Y7YmWu80XIRA0RiXL7zjq2d8iW8xrtISX6NK0JBabAamBoFIA== 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 4YCsJq1x5Dz16Pm for ; Wed, 18 Dec 2024 11:43:55 +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 4BIBhtea012444 for ; Wed, 18 Dec 2024 11:43:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BIBhtqZ012442 for net@FreeBSD.org; Wed, 18 Dec 2024 11:43:55 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 11:43:55 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #6 from Marek Zarychta --- It looks like another member of the bug 165059 family. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 18 13:47:25 2024 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 4YCw3L67MWz5hMw0 for ; Wed, 18 Dec 2024 13:47: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCw3L2VP1z4FPh for ; Wed, 18 Dec 2024 13:47:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734529646; 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=cLRcXYuIJH7eING3WWAz5V0PtT7MD3FwJMElEkhIFOE=; b=hQm64sCre6ZUARzJR88OM6KhQTjES1gsRCDlHBb9rHR/9BKNiAnMAdgbN0XPiodH3iVkdS C3d43kkVsbkmYS1sXc/LNAa1ANcg7M8WVhAysTLke6doiB1WTtI1rrhl03Y7ePMenMTlOl x0GxWIuv7GuAmjpJQL5benX/ZWNNFgFmx6DKuVUj/kLaOFaxlKRkGFv9VqvzI9PSIDz9qC eNTFHWFQbg6yK7Q4kLG5TUNiULhxTU5TsIhJGBsmN8N3D5DdcSqNxetK6JWmGQiNpkNGH3 Tfybpcu3SaApH22V1b6T6rcJqZBWQCcdGt4zlbIfxOHAE/efjK80kdl7PxM4XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734529646; a=rsa-sha256; cv=none; b=eUWaXm3GqoePaQd9X8rA3aZj5gMNrw1oTRetWqZaSr8oTtvLyR0QGR+aT6yRUhlgp+l57M LlOQ3DbxrOaQMnkNK2JUjo5GISZAZUaW9wxJNfnzuQpbpFS9He+nKMJXcxvwgyt+Wf/xKX 21TrH4LDJCND2A+aSudY0ej3N/M9r/PFTYa2khGLgGZKU/ZPEiK2qDXZy117HQwY3Y9LGx alsNwN2eeN2BPdNimuKimJfL7dwZUapXwmoTaa9xUAL6BFGUr8KytUuRLYosNE7XTxJAzs BTgxKMaNoEdBnE5zSSWUnk+NCXweNus+PaSO/32/3QE22ezYNcqNWTWrRu8a5g== 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 4YCw3L1xjWz19bd for ; Wed, 18 Dec 2024 13:47: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 4BIDlQuL008925 for ; Wed, 18 Dec 2024 13:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BIDlQZ6008924 for net@FreeBSD.org; Wed, 18 Dec 2024 13:47:26 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 273559] [iflib] numa allocation Date: Wed, 18 Dec 2024 13:47: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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D273559 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D113875f91607f385e87a54e017ac61f84= 2df3282 commit 113875f91607f385e87a54e017ac61f842df3282 Author: Mark Johnston AuthorDate: 2024-12-04 01:13:02 +0000 Commit: Mark Johnston CommitDate: 2024-12-18 13:43:49 +0000 iflib: Set the NUMA domain in receive packet headers Reading PR 273559 made me realize that commit 767723ddebe9 is incomplete. iflib should set the NUMA domain of received packets before passing them to protocol layers. PR: 273559 Reviewed by: zlei, kbowling, erj Fixes: 767723ddebe9 ("iflib: Use if_alloc_dev() to allocate the ifnet") MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D47841 (cherry picked from commit 3d642b0f71c501dd9ee7aa0487788f619900d297) sys/net/iflib.c | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 18 14:13:17 2024 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 4YCwd93LNbz5hPKH for ; Wed, 18 Dec 2024 14:13:17 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCwd92LDGz4Hj6 for ; Wed, 18 Dec 2024 14:13:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734531197; 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=kQkpvfSHeiJnap+m3YkgLHcbRGSd8mvBAzdIWQXpSXo=; b=J3REewvKAPMYuj0YBNYrkKHnAUqMXgLmqvQZmRCUCocCDhlAVLHlLJKG1VzlBTHulsO3jf N0MgthSgN4C9+hoGCuUCPcFLQ4y7vmDIe4BHRDmunElN+E02Z+eRnvtSF+tCRvSFfyNVKj ZJTZ/qRDJSzCuAyq74PSYV/2fELTdmJqDjGwr8xAGSShpHpKpzld35me7cCcVBR0+/DERp 9vuCQUGVp+75WJgwV+K39igcE52uxfD+VuhHZsjjv4e+hiX7sBXxq4cnGUHSRry2NHlBzl gPvo0nUULmtnVfyMfl29xofZsvts+PC8D2C/Ma8f/7U+iygcLtOOPLq2C2PNfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734531197; a=rsa-sha256; cv=none; b=e7+NG+b97L8vRMWJ57oAlUDq/ip/NMNiaZdMvzPcVpsLwOGnqCxRDu52g6hdesWmMI25Dv elU/2JMptOVs6VXBN0aT2hTo6upOoXWAwANT4S+9OnySs3Ct51/kp6JepPpbmnk729XHHN wmbMgqUlZQ9K0rDmDt/n2VVqg2dy+e1tnBBNP/np8JyCHAQH4vigj+932R9Kcp9m5+GCGR cdi/p8uVwzZ5K6w5MdOBqw6S1P5LBlikd96SpRopToq1TD2uAOMDhO1Vr+Tx4MHDNc3xaZ DD5LV9rhPLs97swKsYpFPWT5h5RP/QuTZhk5HUgL7FTfz75RSaaKUyowh4Bvqw== 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 4YCwd91y0qz1BFh for ; Wed, 18 Dec 2024 14:13: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 4BIEDHlA060603 for ; Wed, 18 Dec 2024 14:13:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BIEDHaT060602 for net@FreeBSD.org; Wed, 18 Dec 2024 14:13: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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 14:13: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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jgm@osn.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #7 from Joerg Goltermann --- (In reply to Marek Zarychta from comment #6) Routing and traffic to the system is not a problem with disabled LRO, TSO a= nd CSUM hw.vtnet.csum_disable=3D"1" hw.vtnet.lro_disable=3D"1" hw.vtnet.tso_disable=3D"1" The only problem is that the kernel forwards unknown packets which should be dropped. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 19 09:06:03 2024 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 4YDPmF6SBGz5gsNQ for ; Thu, 19 Dec 2024 09:06: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDPmF4JzCz45LW for ; Thu, 19 Dec 2024 09:06:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734599165; 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=Yw0cMv5HDwvZjk8BemwPTvi973glqftjXOB8pTOTmvk=; b=nQWT55EhXOxbyhwpzjyly9W2RkmCVjAyggmMBLjbdWcB6OV2fqxYyIunxq6dlLTN+C7ekE hZbVCOyc34dL8HsYhNVW1qqkjp2djVD+8cronJPsXDDAJ+YO6KzlMkuOM5c7qRUcF/WJ2X UTsslzc0O78WYLeNgkcEVE9qhbO61JKPL5+ySifTJNtwa/DvtwRxWzbcNriQHKV6BIbRsk igyTXxP7yhCVqCqCzYIKIXmIlqC9qkF7VmogucjnyFmj0y7wDwa0iWd6pPUObqRU3QQXjw osLRRGe2J/Vezo/wx01K3BfEeVKe0tkNH/NrmY3gtmxiPgIPYE+KFrFy/CDe/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734599165; a=rsa-sha256; cv=none; b=vP2ILYh6lYpy573bFna4UURJFOzroJ2A/4ML65AIfkNwpQUiFlVCT//JI9sIEIbnMLkH6u 5ZiAkr7mU7RcKAEJ7lph+fqUn+bum5rN7Nkzzhmgrz82mLPm3HPlMFBfj4pdP1nRsA7aaA lEnBIBmOoTYXrrC8cw2gjWnTUbYbNnwPSmi5hLg1o2IV0cQoRcQLQu3ZtsxMw7XnQ4xBWJ ts9/2sDVJSz9zkfG+7YOTK98k0Sg8JYk9ONde/bg4gxsvCjecRAJBx1SrX/2HfZ7BPmU8V ebE3KPqmW/kh1Fz4M+/z2V12+f3ck6M1Lunfhx9OrweSIPx3IKyYarrmUCfb+A== 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 4YDPmF3wzxzn9c for ; Thu, 19 Dec 2024 09:06: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 4BJ965PW072958 for ; Thu, 19 Dec 2024 09:06:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BJ965bo072957 for net@FreeBSD.org; Thu, 19 Dec 2024 09:06: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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Thu, 19 Dec 2024 09:06:03 +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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 Tom Jones changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thj@FreeBSD.org --- Comment #34 from Tom Jones --- Hi, This was highlighted to me as a long standing issue that the foundation mig= ht look at. There is a decade of discussion here and it isn't super clear if t= here are several symptoms that are addressed by disabling checksum offload or if there are multiple issues. I think there are two different cases (if I were writing tests, which I will try to). FreeBSD as a router on Linux KVM incorrectly skips checksum calculations breaking forwarding. FreeBSD as a router with checksum offload disabled is unable to forward suitable traffic rates. can someone confirm by reading of the thread and suggest other failure case= s? My preference would be to write tests for issues we can identify, close this bug and track fixing the tests in their own bugs. 10 years of comments is h= ard to reason about :). Ideally someone(s) running FreeBSD on KVM would help me populate a wiki page with exemplar use cases, that would allow me to find someone to help write tests and put together a test environment. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 19 16:37:47 2024 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 4YDbnm2LS3z5hRHC for ; Thu, 19 Dec 2024 16:38:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 4YDbnl4dSNz4vGr for ; Thu, 19 Dec 2024 16:38:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of adrian.chadd@gmail.com designates 209.85.167.44 as permitted sender) smtp.mailfrom=adrian.chadd@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-54026562221so881014e87.1 for ; Thu, 19 Dec 2024 08:38:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734626280; x=1735231080; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zu/1Osa1oCgSiPBgTln+OhQ4d3HaWcx9u2xVB+0Tnqk=; b=EYAMSUjj60TQXOJFNUS0NguN8fsIdMQ12I6yHNCGEeNSqVUegrtNp4fa8f13DNjMK9 f3TzFBIkmuTFN/zAfF2te2Kcej9pjiiEo05hJ+hjqdSoZYqwQ3HEB9PAgirhQX7rFXDb viPJimVDpWxHyhPvcrTZeVfqFVO+lIQV9/XsyOeMIaWc2c59/EX90dv8FsidvloMfCdC jvmhFpvVJQrWu5Rb7Vxl7WHlWGhGT6zuhrkaG2kn+CRrFjbesHzY7ALeHG6PF8OTYoeg 4Wsedz7j9kKhkgEexEU3w5CtXC8LLsWR3GCT6NQWD8Wr3SsZL4aetkrR52jChCYeIaIs nfsA== X-Gm-Message-State: AOJu0YzbJVbjWN26ZGNUfpCfwCgqweBtpqWPyYpQhkflCsZBb5ncAutm /KitLI1G0WCxpcxS6t2a+kZuMxU70N65qktSZP4zH0ZkR3GvWyeJtAgTlGytFtbCeor6B10hvgU f+VcqZiwNazj2J5RwGFoItcCS2Ob0XJPB X-Gm-Gg: ASbGncsnhYYD33smWxplkZg51sR1UZkhHv00gBLL7+w/nduIU+sw+xS4Lw+ZLOZaxMa l5d/8UUWh0KNiRqqU0FqBixuwGBYKTVIXFPRoE0w= X-Google-Smtp-Source: AGHT+IFLqLlECCpIdRTHlaI6Y1uSzc8MSVF8n/XzAEOXGLojso1ftkeC3Pu7m5i0i33ghhZO2R3jG71hJnAgwpBh2u0= X-Received: by 2002:a05:6512:23a3:b0:542:2203:9d5d with SMTP id 2adb3069b0e04-54222039db0mr1115682e87.2.1734626280252; Thu, 19 Dec 2024 08:38:00 -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 From: Adrian Chadd Date: Thu, 19 Dec 2024 08:37:47 -0800 Message-ID: Subject: I'm trying to clean up the vendor if_re driver, and could do with some testers To: FreeBSD Net Content-Type: multipart/alternative; boundary="00000000000040b3d60629a227d6" X-Spamd-Result: default: False [-2.05 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.96)[-0.958]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_MEDIUM(-0.19)[-0.194]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.44:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.44:from] X-Rspamd-Queue-Id: 4YDbnl4dSNz4vGr X-Spamd-Bar: -- --00000000000040b3d60629a227d6 Content-Type: text/plain; charset="UTF-8" hi! I'm trying to clean up the vendor if_re driver. As is, it's a > 30,000 line single source file driver that badly needs refactoring and a HAL. I've started down that path here. https://github.com/erikarn/rtl_bsd_drv/tree/ahc_v1.100 I've started down the path of refactoring out the MAC and PHY specific code into separate source files. The RTL8125 PHY/MAC source is over 4000 lines - or ~ 12% of the original driver source by line count. A lot of it is just MAC/PHY initialisation and what looks like firmware code blobs / patching. However, this is just a straight up refactor right now - ideally the vendor driver would actually have methods for all of this in a HAL rather than giant if/case statements for things. I'd love some testing and feedback. I have an E3000 2.5G killer NIC in this laptop here, which is one out of like 97 or so separate MAC variations that vendor driver claims to support. Before anyone asks, I'm purposely not shipping it as a port yet - I don't want to do releases of this thing, I really just want to keep churning on it quickly until it's in good enough shape to import into FreeBSD. To build it, look at the 'build.sh' script - you'll just need to change the kernel source code path. Thanks! -adrian --00000000000040b3d60629a227d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hi!

I'm trying to clean up the vend= or if_re driver. As is, it's a > 30,000 line single source file driv= er that badly needs refactoring and a HAL.

I'v= e started down that path here.


I've started down the pat= h of refactoring out the MAC and PHY specific code into separate source fil= es. The RTL8125 PHY/MAC source is over 4000 lines - or ~ 12% of the origina= l driver source by line count. A lot of it is just MAC/PHY initialisation a= nd what looks like firmware code blobs / patching. However, this is just a = straight up refactor right now - ideally the vendor driver would actually h= ave methods for all of this in a HAL rather than giant if/case statements f= or things.

I'd love some testing and feedback.= I have an E3000 2.5G killer NIC in this laptop here, which is one out of l= ike 97 or so separate MAC variations that vendor driver claims to support.<= /div>

Before anyone asks, I'm purposely not shipping= it as a port yet - I don't want to do releases of this thing, I really= just want to keep churning on it quickly until it's in good enough sha= pe to import into FreeBSD. To build it, look at the 'build.sh' scri= pt - you'll just need to change the kernel source code path.
=
Thanks!


-adrian

--00000000000040b3d60629a227d6-- From nobody Thu Dec 19 16:38:20 2024 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 4YDbp73JwBz5hR3w for ; Thu, 19 Dec 2024 16:38:23 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDbp72m7zz4vpB; Thu, 19 Dec 2024 16:38:23 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734626303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ef2DSbe2uhpLes1cH6103brn1EFdLJPCJkegtwZAtOM=; b=AXoFErShpZ+Rkhmv0ei7ia9i4YI0osbjiO7mpfXK+PdZ/oyX6i4W/HqahsXSLyJaXtLszt bRIfee3LQ9hTaBElnT27Q39CGoVmpu6ik9PJM7ZqY6nHODjtMBVwb7Kfl/fJKsfCoh2ejG 664tsqsMEJ4XNXJ5hbhpvYvNgBbUKEHHPP0DODqXLuMQ1DXTZAVNIJctfPoPnCB5rx9IQO s5erPDPMqRo4eV8EW5rRNB9xep3fTrUSQ6j+175ls/e0p6tmsRtXQc12fwJspcyYpfRllq dNy+5rf/vN9LtMGHVKXCfwk0qyrBqLnXx0mdCHPSvFpW71kil12Zkzk6w1vAEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734626303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ef2DSbe2uhpLes1cH6103brn1EFdLJPCJkegtwZAtOM=; b=bU9e6wHeITIfXZK8pIZqPy72g4tRGev1LfE/3pBkcAuWPHh7oue5oH2SnMUQvSwalPz/g0 vx7PCXqBo+JzOlam/I+WgmN3V2kO5+DADc7UVGM9TRQ2RcdrUebRYORmXS5haGgahTs48k 3FYR4Jwy+4shJo/dg9KEYVG1vak9nJtS73aD2R6vO1T813FFG+H1bHLIKGtYoxxfviY3sx GwOlFkrXNGVbfFvoNhu2kOwAvwhOl0I1n0vukj0BkQFNpSpMp7c1xN8ycIY+jzYdY7xd8T zCRq30LSMtj1fUILwec8zLfKbDdtVaOIy7ITFqpal+yV1wcYNudxgDWySiQ90Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734626303; a=rsa-sha256; cv=none; b=jZe5dAumRxRYAkLW2eHLjVdwIRjqIZ3mqAVWZxkHhBWzqNboEFkm/d314t3mvSwXOJVzUl zFL783ikB7F5LHJq9yQ61EvtQew+RfDdjgA9yz5LLsqJ+W0CkHxx/35LB4OV3skzd8CrbB w5bmC/RVBKw31qGxQ0Zv2JlSKv2tsE6hwrxvjbBq8ZOOuGX3NPE1jQZaJLo7YVdaJfATiZ RC3yeTzj3hLwzlzCXkz9znKLIFHeACAPVtS0yrTeP3J47EjujJshbh6mUo2ayNZod9XIlb JFSDr7/bSVMn3MsAkcI2EBgdc+FzpC2OuBgWItfKENZcdlRoI84ewIsHPg5pvw== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YDbp673r9zYp1; Thu, 19 Dec 2024 16:38:22 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Thu, 19 Dec 2024 08:38:20 -0800 From: Gleb Smirnoff To: Sad Clouds Cc: freebsd-net@freebsd.org Subject: Re: TCP socket handling errors Message-ID: References: <20240403131434.c3bfa64c726505d842408c80@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240403131434.c3bfa64c726505d842408c80@gmail.com> On Wed, Apr 03, 2024 at 01:14:34PM +0100, Sad Clouds wrote: S> Hello, I have a client/server networking application that exhibits S> TCP socket handling errors. This only happens on FreeBSD, while NetBSD, S> Linux, Solaris, etc. all seem to work correctly. I was hoping to get S> some advice on what could be the root cause. S> S> I have two processes - client and server, sending and receiving data S> to/from each other on 127.0.0.1 S> S> Client connects to server and calls send(2)/recv(2) in a loop. This is S> a bidirectional data exchange. When all send data is transferred, S> client calls shutdown(sockfd, SHUT_WR) and continues receiving data on S> the same socket until recv(2) returns 0 bytes, which signals end of S> receive data. At this stage client calls close(sockfd) and terminates. S> S> Server has the same data transfer loop as the client. S> S> I frequently get ECONNRESET when calling close(2), sometimes from the S> server and sometimes from the client process. This should not be S> happening, but I'm not sure what could be causing it. S> S> The client logic is as follows: S> S> 1. Set sockfd nonblocking. S> 2. Call send(2)/recv(2) in a loop until N bytes have been transferred in each direction. S> 3. Set sockfd blocking. S> 4. Call send_buf() to send control handshake to server. S> 5. Call shutdown(sockfd, SHUT_WR) to signal end of send data from client. S> 6. Call recv_buf() to receive control handshake from server. S> 7. Call recv_buf() and verify it returned 0 bytes to indicate end of data from server. S> 8. Call close(sockfd) and verify success. S> S> Step 8 sometimes fails and returns ECONNRESET. S> S> Functions send_buf() and recv_buf() are wrappers around send(2) and S> recv(2) which restart those system calls until the specified number of S> buffer bytes have been fully transferred or 0 is returned in the case S> of recv_buf() indicating end of data. They are designed to work with S> blocking file descriptors and avoid short reads/writes. S> S> I don't understand why close(2) sometimes returns ECONNRESET when the S> previous recv(2) call at step 7 returned 0 bytes, indicating the remote S> TCP end sent us a FIN. S> S> I don't set SO_LINGER socket option and when I checked the default on S> FreeBSD it reports l_onoff=0, l_linger=0 so there should be no S> immediate RST on socket close(2). S> S> Does anyone have any suggestions or ideas? Please take a look at https://reviews.freebsd.org/D48148 -- Gleb Smirnoff From nobody Thu Dec 19 17:55:54 2024 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 4YDdWc5BdWz5hX9L for ; Thu, 19 Dec 2024 17:55: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDdWc3JYXz487d for ; Thu, 19 Dec 2024 17:55:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734630956; 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=mfeSofDsFl/FQGdN2hO/ePdRFmMF0MTs60iNePp9xlY=; b=gnmTcqrfNMWV++/C3GCi1NcpBk0LpNYiOgbQRqYXAM5frpYEivm5Mo438hcy4hW6rY/lXF nZ7iOLqV6e6hGMvG/rDoNkrJALnLV+C+nI/V1KCdrU3l+di1m7bnlf/lxco4KhgaWe1wJd +V4M76/XfLRybr7LDDsBh+G8wmiY0yUxtOKz6nUk1KhjPV+65PYKIjGr/u38dG/o2RbwVV wngeWQ8WOs+a/ToR4lWniGVcfTmTrswEIdh1WGkWvLKbszN5wLgnSmbXTyoE+AhtEIhsUQ jYahOBg07JEVXqpOVBLOMUWAGXrjfyyc3vNvAwY4NC9crwb7f1ReaL6pOIXfHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734630956; a=rsa-sha256; cv=none; b=s+pXItaSGNlUKlCwrfMAOax++Y8XEiEd6aYlV/AJFzvejRiR+K6FNPxERMtjshdCsv6YNo V6mNcgWhCrJM9BlgLXgL+Us3h8EdRZ2TuFR84aCa5Fh2/nS7LSPqByInKjaaArr83a4sLx 108H4Rpi1K0TeNMYb3PCHK19Xj9lqMXVDaY5+C8gp7wahObQaTfHbTxCdgMiaJfCMuGv/s 0697GlkDZyxCsrcerNcEuGQmhN0nyu5L1V5R5EaGce2G762IxuXecn2veQsIFZ7xwdAhD/ wy0kyiB4FcSKn42VeYg4Q0dYbO0nxVCovpGB692hSIQAaBzWVI2YvxSL/NhTLA== 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 4YDdWc2shvz14CK for ; Thu, 19 Dec 2024 17:55: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 4BJHtuPK017591 for ; Thu, 19 Dec 2024 17:55:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BJHtuAG017590 for net@FreeBSD.org; Thu, 19 Dec 2024 17:55: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 276870] mbuf cluster leak with on pf+bird2 bgp routers Date: Thu, 19 Dec 2024 17:55:54 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thomas@gibfest.dk X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D276870 Thomas Steen Rasmussen / Tykling changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Unable to Reproduce Status|Open |Closed --- Comment #11 from Thomas Steen Rasmussen / Tykling -= -- Hello, It has been quite a few months and the issue has not reappeared and at this point it is unlikely to do so by itself. bird2 is now at 2.16 and the route= rs still run 13-STABLE somewhere after 13.4 at the moment. Originally the issue appeared to be tied to bird2 exporting a route to the kernel which already existed in the kernel. This was and is the rtsock flav= our. So I tried just now removing the route filters I added back in January to m= ake the leak go away, and nothing really happened. I don't know if it is solved or I just haven't been able to tickle out the right set of circumstances. Will report back if I ever encounter it again! Closing for now. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 19 18:19:33 2024 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 4YDf2z4Q71z5hYym for ; Thu, 19 Dec 2024 18:19:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDf2z2xLyz4DYh for ; Thu, 19 Dec 2024 18:19:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734632379; 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=7UJqriR7UYPKJQcPbUa3zsXBiyw1bpHBp5iZKAKYB+I=; b=luhYTPN9I1G/pridAJ7kFqkonIkYNO2zjWrDWzLaHHlIGD8Ss+fFXvxHzI7NSsQTOPYUkV rIO1qhkDIVflfw7Dm25gSzWdMe0FCSQW+SXbSWXpbNQ9k+tV6ku7pDy3wLQ25hIc1rX1bK nh9AYrZFikPhGOLfKxglHYyR6bgDz1B/vNTMNS2kk5R7N/eoQISL+NhOx6yw0UJgtVro0B FPyDoC5dB/TFMBNdDSS0uMGHqi65bsumoksVGCVWlV3x5toiGP4I2aDLGR5GfenV5C4bU0 woxEhJUKE6wXTl8J9efusEpp+fvSJZkhm1L+CkqXsXhZzrqK9khch4l54ANSPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734632379; a=rsa-sha256; cv=none; b=S18qGiYc4aLRe8MHjMWeZGEICQzyV6AgyjfbJMg+gDwlzSZRbFiAYJPur/v+BIUW1H51VZ IkGgh8tlENs5qg65c3eMfv3uxpvInj2EOC5jglr/o+gal5yNLaUuGzlk8486lfnyRlaGDE QcH3ESSejvc52OlP7Eyvyo8HSLzS5pxLQbiHZFnJJc4KaGlNnWLBkIB07G7VOPfYtExMFz S85EjXRZrSsrSqEjpYsLXr15Ez4MweYha/z2vk0NcO74ATjSP4j/JE1cdm9bGrHz07mBxD VFm5YKu4xSR3ihGAZF2IgyvXL/z7uCI6OC6l1ZPhK1ilKAN6r3xEd/CqKSuNaw== 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 4YDf2z2N2Nz13t5 for ; Thu, 19 Dec 2024 18:19:39 +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 4BJIJdD6061605 for ; Thu, 19 Dec 2024 18:19:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BJIJdWR061604 for net@FreeBSD.org; Thu, 19 Dec 2024 18:19:39 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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Thu, 19 Dec 2024 18:19:33 +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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@jnielsen.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 --- Comment #35 from John Nielsen --- I run a FreeBSD 14-STABLE router with vtnet under KVM on Arch Linux. I don't disable any checksums or do any other special configuration. I have NOT encountered this issue. The router uses IPFW and does NAT for several subne= ts (each of which is a different VLAN+bridge on the host and a distinct vtnet interface on the FreeBSD guest). That said if someone has specific failure cases or ways to reproduce I can help test. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 19 18:20:36 2024 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 4YDf4748rCz5hYrv for ; Thu, 19 Dec 2024 18:20:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDf4724hPz4FGx for ; Thu, 19 Dec 2024 18:20:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734632439; 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=bUtsDF6cqm6J5LAf0Yy4VKH3oGXEOwOkdbyiDdIGcgw=; b=mUVcCUQMwcj8XPgzdfi/kvlD8a13zoqHDQfEBR1tp4JGvbdWuYc6JGWhTa1/9EzcTjWOIH jN3IRl/jaQiCfcIhSDfPf6ot/WV2HBzR924O9qfbYmZPurVrS4jXLGty8XeO+v74zHrZOg o/CO+V5ansNApKnP6h6g64UC98mnyi1W04HyP8vcfSR/PXfhk/pUBaX9+62MWZu8uAb6eC 2ys1oIoi4K93AWa+596WJQJC05eKW1w9v4KzuqBg1XgjCK1j0JCikrxhKaUDb54OlsBZcM LZBSmqRUoCgoovx5789Z1FiZIIv45cjvz0IrHSh59wrhq/Pw18jE27wUajsHEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734632439; a=rsa-sha256; cv=none; b=K6HoQ/G05AK8RmDMlbuMGv2yCk0MTKYJimNx9wEdnVaTc9VMjUPxCkiJnovPVC8QJusFiy xmOGHapgVv8qsri+fC4OX0x+DPv0qbjnTNXcVCHTnfsoeDpaFkXAWfCWhKhv42WZxmSohM PSmhKSqAi6qCcEof0wvefdqHWBIwFa0vXY2Acsd2W7htmCpQ0CPY4xQsiTrR9oSTaZlNTw I3S89Wphq8q3HeIEhAKQYQlutP6/3PHAzxg5zzAFXWt+EFN7EdxWH/E1ZhFWS/4/Xdvx1N nKgMV00FjJNigLob6+umdobT/TOOEejkwNg9W1DMPxgjqU8l1naDg9uz3i25Cw== 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 4YDf471hgXz14l2 for ; Thu, 19 Dec 2024 18:20:39 +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 4BJIKdCX062543 for ; Thu, 19 Dec 2024 18:20:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BJIKdWq062542 for net@FreeBSD.org; Thu, 19 Dec 2024 18:20:39 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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Thu, 19 Dec 2024 18:20: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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@jnielsen.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 --- Comment #36 from John Nielsen --- (I do have other FreeBSD guests on the same KVM host which rely on the rout= er VM for Internet access.) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 20 00:59:04 2024 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 4YDpvs6shcz5h16f for ; Fri, 20 Dec 2024 00:59: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDpvs3t6vz4sq3 for ; Fri, 20 Dec 2024 00:59:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734656345; 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=ZRERSfURXSa7GTpa/tvGn5Xz1eDZ3EXTTgsxuVwgCRw=; b=YkN6E/xYGJHW7vnHPpVwRx/QYw/6p1Gzs6i4J2M9/txz/9Tm3aAN+ShTqUCCyudbEFuhMt 2ykG4d2p2tc/+NEVQQSU7Bl1WbtvtkiSBFK+rHhWcqQvuWGrz2Nu4XdVtgNm9rCrBvIXCm jDOhxip6MHVxvjFhVHo8hHOUeze1Y9hH29zseKzdDppLpypWWxen8cBcFmuNp4jZOC5aDh lbJvOsdztHtocYLiexxbk1bhikiURtFi/FqLBfOuBg3jP5pLidXP1BnH+LWLmis7Pz2UYg UnXucu/r2MkSiNf1H9ruuAVTkTKFgNR7sHAJMGI5aCY2eOe7OVTca/bPZqLEPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734656345; a=rsa-sha256; cv=none; b=yUAyRCSTd2QSSwSt8/8Q9NvzgP2C5naDFvdQenaEJjbmsQ3yfZC+eM54TkQJ1hcLBu78UZ quFhRdVbQeMWREFNb9OEgFxUbXLAnoJg33EAMlSMwQ34qD0Q1zLUb8Z/k8sWxXZi6mnJqm LjUdz/XrFVlTArGHmHs+LQhZ+9692SCjnMGnJX2E5mBAM30vj71GpJ9vWFlGgxe1FJUBzb pBl0+wFsDh2DEZR2RiiC7Wontsv4N6yomdyamHeRZnPrtMGsuB/qUu1abREELPy8IfNRi6 9H3JcA30cul6VbzCq5Ei/DGbMd6iu7/rLd/79HSobEq0sQeYUUhZby8TSVt/4Q== 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 4YDpvs3Q2jzH46 for ; Fri, 20 Dec 2024 00:59: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 4BK0x5aU002233 for ; Fri, 20 Dec 2024 00:59:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BK0x576002231 for net@FreeBSD.org; Fri, 20 Dec 2024 00:59: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 283426] panic in sbappendaddr_locked() Date: Fri, 20 Dec 2024 00:59:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Many 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: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283426 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |crash, regression Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 20 17:41:35 2024 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 4YFF8g01Dcz5X2pr for ; Fri, 20 Dec 2024 17:41:39 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFF8f6d6Bz4D24; Fri, 20 Dec 2024 17:41:38 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734716498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zVRcVAQO4TPS5gfS9B7z33ajo15YDb5cffF3HKDdAto=; b=K2DkvmD5L7/sw8fTbVQwayKXEVD/K5Rn140iOHQc21R6qvQMxDoSXMDmZgWKMJ9nn9HFxB /ps6PvARrg+Txh6ZzdfKU0G3v56KdsvOYVfZMKgk0vbV01J7WLufcUA1x4ASXGmsvcKQKY 6Vbtri0wJRkGQT6uBpXwHfZlofhZnsuDqc22wR9vdAiJwBsRwVmeq3BFDLawndm+OoX2Oj B4fKeZd9kp1cNngnhDI9SVIIefeYie+kmHLlZxbApzViPKNZt1Zqdn2Yi5NrCKgjAbs9HB W0Cu05YqcmfacHOaKm/YrQHnuf8NHQJVkC1A2a7MS5cObxO0V3orsiNpV3Rkzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734716498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zVRcVAQO4TPS5gfS9B7z33ajo15YDb5cffF3HKDdAto=; b=VK1iiyZmS7UO4RQnlt38ij3kn9KE7GhiswG3lIZSHSB7JHg8Vu3XnMkkX0bH+gMWJqN75P o0vBLvgyEDRyNH4Px3s8DDTbK03uq61swe7w2MnRyoZHi7ernXoCvKAm8SgmfZ+buZZSay qLB+k8WUdlUVfamZVBn0cxWOAlej5cAjObyWbZ1Iack3U6BIOD+wMdGidwC3mVTpsTTIX+ 4ywSsm40mWcF8mBdarf78PwauvZlHfr9YjqTdGihLvXG7/RBbDIvRa6BPk0g35b4AgTRJK J9Y1ycTwuOKbomi/sCEhFSoSywJTWUXcqfwcEQ6bvA17wKFolg+VJ9lPWsup+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734716498; a=rsa-sha256; cv=none; b=VGF/acQPTxq7J/H9DGLRxYKG5Q+lXgsuJjfU52Db4fTcuNwDfn230v9ZuoLngVSBXViSAw CPyN4qkfTF3TBKStS+CqMy2l0uatXJjMHFNfPYs3k4CJmR50CkTIV7yEklTCA+dhn1g8fZ mvLJ6Wjr4QwiH0koGjPCbIwzl/x2ShiwIZZmV0vJLlxpcjiQ2mMMw0NjcatLBTsN7jLu5Y dlu7kudDaByiu1D5wFRf++MHwnTe5iNhda/97DUk4lo989JkbdyWnFnbzxV3qk98P7I7rr h+qfUcNKQegt2qKlsA/flbMBXioOnt6f885pqNqaAZH/LnGkiT+zesSQsmaXRQ== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YFF8f3S98z1Lm3; Fri, 20 Dec 2024 17:41:38 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Fri, 20 Dec 2024 09:41:35 -0800 From: Gleb Smirnoff To: Sad Clouds Cc: freebsd-net@freebsd.org Subject: Re: TCP socket handling errors Message-ID: References: <20240403131434.c3bfa64c726505d842408c80@gmail.com> <20241220074805.c19ba5b24b633d887429e82e@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20241220074805.c19ba5b24b633d887429e82e@gmail.com> On Fri, Dec 20, 2024 at 07:48:05AM +0000, Sad Clouds wrote: S> > Please take a look at https://reviews.freebsd.org/D48148 S> S> Thanks for the info. I have some ifdefs in my user space code to handle S> this FreeBSD bug. Is it possible to tell at this stage in which stable S> FreeBSD release version the fix will be available? I can set up ifdefs S> based on the version ranges. Once reviewed, I will merge stable/14 only. Thus, will be fixed in FreeBSD 14.3 and FreeBSD 15.0. -- Gleb Smirnoff From nobody Fri Dec 20 19:27:13 2024 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 4YFHVV0jWMz5Ytrg for ; Fri, 20 Dec 2024 19:27: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFHVT6mp7z4Mdk for ; Fri, 20 Dec 2024 19:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734722833; 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=v/wQLRS5jXV6MFqhf3Am1Bt0Vl+K5MsAov03w3XluJc=; b=MAdA25YmTqZon6yo5v20lundjhxQ3iM4UT74Fy1htFynV8eDyqy9oPVU8ao5o6vKZZooF3 ncvnZILp8ZH94+1O3PVFQN7skD9ckCj6AvBOTLIVa52Qd2HV9V4Uk/7rEVGt5sT6UUL0b5 e8G4T5trmz6Y3bJ2iNWwX7fem1h4D/ZShQq7OILP2GdZtlghRINJs6pcf+vKGUGI1iXzIv 90DNeETKEca0X0UZTMvjBYrkvvbA48Ba8G3fyUm5md1njXqRKZLGIzzl7KO7xdeLIsi2Jy a3CXIf0qs+a5ogIaq19ADcf2TdeYYwAlGOAGMCG31TVBNyHYUS/88YH9Q3fICQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734722834; a=rsa-sha256; cv=none; b=USOeENYOZM6fx4jX45hV33LnOXCpy2fWWWzhCRJTmjlD3VZsUn0bqT6MV0vVKA9jFz+bnk lwCwDcPZaaPgn44BzfMGxU9A5TvRwzqHcMqa5lKQkIsUaB//CMZ9nyEV/1jySU53qb3jt9 T39ujlh4igmOdRp+Xyjj1BMg6WhRjz3iSwwpNuXAX0TPezWgB8/nHxcKVuzbt+ZGKNUkn+ IoUZZ4E2TKPgtqvSIpgBTexqjfq1Uz/shNuBiGi3Yf6O25Zak58ae023IseJCk7ObynZM2 B0lsLE6HqhuqaVfkIMoaewUPiD3m5kdDxmzXSSFtWCQdLckYaLAmG0+PIrnjxA== 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 4YFHVT6GKlzr44 for ; Fri, 20 Dec 2024 19:27: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 4BKJRDXe027226 for ; Fri, 20 Dec 2024 19:27:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BKJRDoD027225 for net@FreeBSD.org; Fri, 20 Dec 2024 19:27: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 283426] panic in sbappendaddr_locked() Date: Fri, 20 Dec 2024 19:27: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.2-RELEASE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: robin.haberkorn@googlemail.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283426 --- Comment #1 from Robin Haberkorn --- It cannot have anything to do with the ethernet driver, since I wasn't connected via ethernet, but via wifi (if_iwm), which is also apparent from = the backtrace. So it might have something to do with this driver. I doubt so however since it did not change between 14.1 and 14.2. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 20 20:28:42 2024 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 4YFJsR1qbxz5Z0Xj for ; Fri, 20 Dec 2024 20:28:43 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFJsQ71jZz4SPr for ; Fri, 20 Dec 2024 20:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734726523; 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=w7+nmwS/3QJ7XQpDJNkURyVjmrDhJvj3HQTK0qW4/3c=; b=ybdT5oMHZm1ZKM/hrDqK0aUjoZlQ/s3UBFmYCrnQmyhhEkoekdgzebye/m+7ohgnyFfRNt 2FwhfQQOo1ZT3YNw2xG2428GD8myaBltQvaiB4FzrU/1+HEDyBJWGs+xVDttBi8FAGq5I2 i8j4QflCf4N8XCCiYxud7drr8wasfPnhZUxVYY3Ubj0OU50UjnIvAySEn0yRu4FjIQp1vZ LSAyNHMGQpd8J2AaLHGPEsDwVEcKxz6mLu8SGreveOxbTbwPczU4CmwiAVvG1d26c/Ipbj KYkikHCQ2veD22OSqHU+yEYpGaUBdehkjRAgipfuo+JktfX6RO/PqjrZckyjAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734726523; a=rsa-sha256; cv=none; b=M29KeLiFdKWshUVPRBFKuwm2m9dVo0ZBSyd8HR8bL9dBsluxLXZaci7qWcR0SCT9JMBO1s ZRZPlXx5tzq3+AXRzfjMD2/gudtrBgJP7w1KoV2UndKUoRIkc6oAj7/xgAvAEk4opt+721 qVeiTIX2fia2mrdzlzkDRnyQj5JdwFIg1Nts+CSeNjujiYABU1o5/Ovd+UshWhmgykzgIb oFpUr+VMSPe4cjLoJPxZB35YDsIgsT/jj7q/KNQYl1+6zyoqKJsGIF3HNXkG63VqJIADfS GjBD1nwhlMiTfocdM9b8mverGH8ptJ2R8qws+f7pP6Rry8fIgpQpTp5al21fAw== 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 4YFJsQ6VlpzsVP for ; Fri, 20 Dec 2024 20:28:42 +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 4BKKSgx2032953 for ; Fri, 20 Dec 2024 20:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BKKSg39032951 for net@FreeBSD.org; Fri, 20 Dec 2024 20:28:42 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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Fri, 20 Dec 2024 20:28:42 +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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afedorov@FreeBSD.org --- Comment #37 from Aleksandr Fedorov --- This is simply because FreeBSD does not know how to forward and NAT packets with offload. KVM forwards packets to a virtual machine that can be up to 64 kilobytes in size and without checksums. This is optimization!!! Just read the virtio specification: struct virtio_net_hdr { #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 #define VIRTIO_NET_HDR_F_DATA_VALID 2 #define VIRTIO_NET_HDR_F_RSC_INFO 4 u8 flags; #define VIRTIO_NET_HDR_GSO_NONE 0 #define VIRTIO_NET_HDR_GSO_TCPV4 1 #define VIRTIO_NET_HDR_GSO_UDP 3 #define VIRTIO_NET_HDR_GSO_TCPV6 4 #define VIRTIO_NET_HDR_GSO_UDP_L4 5 #define VIRTIO_NET_HDR_GSO_ECN 0x80 u8 gso_type; le16 hdr_len; le16 gso_size; le16 csum_start; le16 csum_offset; le16 num_buffers; le32 hash_value; (Only if VIRTIO_NET_F_HASH_REPORT negotiated) le16 hash_report; (Only if VIRTIO_NET_F_HASH_REPORT negotiated) le16 padding_reserved; (Only if VIRTIO_NET_F_HASH_REPORT negotiated) }; https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html= #x1-2170001 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Dec 20 22:27:51 2024 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 4YFMW60Nn7z5h5Gn for ; Fri, 20 Dec 2024 22:28: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFMW56WXkz4d6y for ; Fri, 20 Dec 2024 22:28:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734733681; 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=LADX8JOVqKJuQahveJZhZvwnES21ajzL/Y6FMPB2wP4=; b=spzuEXAS6jefWd0qxU4sKt7j6a9ruP9rwuOtQHG8brLM3WUGTCzo72eoB5CdCbVNh0kujF qjRdCT6A5GIg9EYrc3j4IGFDdPGDti/Y/d3RTNvUq+XiZQiZ2CQX58+yYoqUXGEcXd5o6Z VFRTb6BXR6geoHiT6w7UZE69DVTHR9VdmijDrogX+ylwj5W9fUYt5y19VZKB9ENZp9x8i2 JqIAwfrEcmr/SxBE+jtWPYwofDzLxy7yIhu0f+u+qVS3VOj3EiYYC44SSa7J45ZZbQ0FO2 myD7yXoi+3qcGFBhcE3iT1OU68rYbhkBSFqsq4FBQtzKS2sBTqeMK4YCn2AWEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734733681; a=rsa-sha256; cv=none; b=ZAd86Znob04kfMsv2VzaUgTURZZzth+l2/3i6/OJqBKb5dlX6VBJOgWURmJ8vhSHvPOr8B LO/axu3E15IbhIkVVJm2pctcdcaSERXgzKOSOOaUQK1I1xE5bfwAcmHEMoZ3/n2LQtPICe BRzUkmdaXJ5vfgr7ru6nsySHCvyaJ7fUjq44EsimpCKevvFl3qU+yfdLm1XR1yh4KeGPbg HFz/LeWTV9ctH7YRWajsj9e6Y9DjE4KGgdi1l1lbOWlqALC9HxFX71iHsqmWXtBcm0FUJu g1Vw8w/L1v96E5fnb/4JSR2JnKjzHl7zAileEaVaB+nIrwUCzaZQQLab26MNkw== 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 4YFMW5663RzwJK for ; Fri, 20 Dec 2024 22:28: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 4BKMS1TG024906 for ; Fri, 20 Dec 2024 22:28:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BKMS1hM024905 for net@FreeBSD.org; Fri, 20 Dec 2024 22:28: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 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Fri, 20 Dec 2024 22:27: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: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: steelem@energy.wsu.edu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D165059 --- Comment #38 from steelem@energy.wsu.edu --- (In reply to Aleksandr Fedorov from comment #37) Could the following linked comment be related to this issue? It seems to be saying about the same thing. https://github.com/freebsd/freebsd-src/blob/9efd215411bb5ead2bc0ab208b4c19e= 46da0d2c9/sys/dev/virtio/network/if_vtnet.c#L1761-L1777 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Dec 21 02:45:57 2024 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 4YFTDk6PnPz5hR6J for ; Sat, 21 Dec 2024 02:45:58 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFTDk3F57z45nC for ; Sat, 21 Dec 2024 02:45:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734749158; 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=JJyxuNq0lBYIU5MYwiLPwiMCEWa9Xu4bQHHnGZNzKtM=; b=wEApkwtMXWv6BdhCrU/0DN8aWu5hm/yNxXsF5bX7X6qudSPSZpTnvwRJ/3f9p/ufaDcHxl 6T8cQCNOilqYtDnTQgKGbTAwI7MjBP0WWwif/mmCFuXj8oKCl43+X+0tpuPohM+Tr7WRz/ 3aipqaz4HgrBHQ2nj7dyxowDvgTDlNtKZgHrqmfohNIjDWTvfELAGrAcY1cGHnDqqip5pz Z/Okrakure2Omr32cOvMhb6fTaS4SLrBCtW/5wGWZRBbA5IH2L/6MCYqziyJ5DuT/9+wxC FVYN2PuHwU73euSFJM90VEm4VIP17NINBdFl7ZCsZ+tYSxGsznE8iTjGRjGr3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734749158; a=rsa-sha256; cv=none; b=hVgD6IzXlZ3f164d5OZBQ8l6aFvtwBNkrRWxXDDIlfG89ho+APFDonScxAtpuD1jXzvB/z jOlTHMguP5azPvPgekFJFlwsd49NPNvb/Kzxu4r8CCCeS0F7Nctz/n9fow7wOztOuhxaG1 dwcAahdyPnyNf6ZQdMMmXeN2qBIWCq/oE2Sf5ejUwK+4oLd5uCg/YQDcB77j5lwkLuNucW R+vr+rG1FNPCGGuXFY63UkQwQDNDsgxIVu/3JWmaV3Ly9mJK+zVJ5TILV4ydYdc1QN4rBf FpyEbM/Ckz+6JEg9uOw7O5FLIB/Eed0rkxwdYRBfwdcTdBg4T+6BNJfeAuQ0lw== 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 4YFTDk2rxjz153Q for ; Sat, 21 Dec 2024 02:45:58 +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 4BL2jwqk013908 for ; Sat, 21 Dec 2024 02:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BL2jwm9013905 for net@FreeBSD.org; Sat, 21 Dec 2024 02:45:58 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 283450] ARP problem Date: Sat, 21 Dec 2024 02:45:57 +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.2-RELEASE 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: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283450 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |regression --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 21 16:34:25 2024 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 4YFqcs2sSQz5hLdk for ; Sat, 21 Dec 2024 16:34:37 +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 (P-256) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFqcq6qR4z4L0g; Sat, 21 Dec 2024 16:34:35 +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=MDHkceai; 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; dmarc=pass (policy=none) header.from=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 0F879A64805; Sat, 21 Dec 2024 16:34:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1734798861; bh=5LDP82MzWlL7kVTZcM9SAYHeeCsuFajdlIx6gaexGrk=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=MDHkceaivjjgSJvp13RBkO/SyCLKPZfmnTcqa00heJ5LYiDXElMEozp2Cu6Khp+PN 16duP6A5o9aVmpWy9SNW62oW3Ia/lW9bOofYoDeXnLqCbwtxGEZf41dPzB6gv4ZRRJ igTCj+vVfVdLnA/+8EbnSF8NETK4SN/HD6Qpb9b71m/5A2YrAxzcxa4Z05Cq6Xpnqz JxHNtobrclSdv4k0bs0iqxbPpIoqbeFZ5y37jnpw23op4Y8FVeBBi2TMUg8u0/b4bi cSO1pijQpi+6vbYh8LX7N3nwTBJt8yMjzLALQNsgFcul9VziEkAOjL8SkiNT07FWsa i67GcKFjErCR+67kVFikAOsOSXmtYX5ntRIAEhXu7l5kSOvB6nTVVT3CaEV41S6AW0 BAQ1TdUrcrghn8PbFpiJZIdD3hCVWvQ1A+k7D6gl5MgYtvFHIvESqZcofj6I1f4CkT sL2oVR1RB3WpcaGEfDGxvV6u7oillQu/OBQPt1KyjTJbXUNgdgZ52FvNTwqhVUK491 umiegCwB9a8OIFduxPYr6YWBvYZ/HIU4llkndjYkd2jlh4/MwxBe3tOYi1kqZaWHvP 8bjE8y8LgZF+6L/XZfNJTgvA7WgN2RcaI2Cf5rAbUEcdHp4ahqNEwUfVccSz30dIpK 4S2Ak8V6fw9AZ8gbGaDra7CE= 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 6EBA62D029DC; Sat, 21 Dec 2024 16:34:27 +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 kmVTdERnJKV2; Sat, 21 Dec 2024 16:34:26 +0000 (UTC) Received: from strong-aiccu0.sbone.de (strong-aiccu0.sbone.de [IPv6:fde9:577b:c1a9:f491::2]) (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 4C6FF2D029D8; Sat, 21 Dec 2024 16:34:26 +0000 (UTC) Date: Sat, 21 Dec 2024 16:34:25 +0000 (UTC) From: "Bjoern A. Zeeb" To: Mark Johnston cc: freebsd-net@freebsd.org Subject: Re: per-FIB socket binding In-Reply-To: Message-ID: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> References: 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; charset=US-ASCII; format=flowed X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; 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]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4YFqcq6qR4z4L0g X-Spamd-Bar: --- On Tue, 17 Dec 2024, Mark Johnston wrote: > Lately I've been working on adding FIB awareness to bind(2) and inpcb lookup. > Below I'll describe the project a bit. Any feedback/comments/suggestions would > be appreciated. > > Today, a TCP or UDP socket can receive connections or datagrams from any FIB. SCTP? > Any thoughts/comments? How much use are FIBs still these days? Half of the original use cases I can think of could easily and better be overcome by using vnet jails with a physical or virtual interface (e.g, vcc) being delegated to the vnet. I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB forwardig but that very little touches your use case apart from the mgmt which again can be factored out better (or inversely, factoring out the forwarding). I would honestly know who and how FIBs are still in use today or if they should be put on a list to be removed for 16 (I assume I might be surprised). That all said with your opt-in approach if the code itself doesn't bring too many new complications I'd be happy with it (assuming FIBs still have a use case). /bz -- Bjoern A. Zeeb r15:7 From nobody Sat Dec 21 16:38:02 2024 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 4YFqht4dBPz5hMfG for ; Sat, 21 Dec 2024 16:38:06 +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 (P-256) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFqht10gSz4LST for ; Sat, 21 Dec 2024 16:38:06 +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=kCLMwWpK; 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; dmarc=pass (policy=none) header.from=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 32BECA64805 for ; Sat, 21 Dec 2024 16:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1734799078; bh=i2w0OKQ6CVM44J+z+JlZYL5qpjbzbSbHnlJBijba+yA=; h=Date:From:To:Subject; b=kCLMwWpKTfiGcS49CFUVwN9XHi1b9TkudX9m0PgDrr17pVM4vua8pQpoER5P4kEec 7uJuleagSYCD2/eQekG8v+C0Olsws8ZU0/jG8ksq7CwDztSWcB/VLxIRT7kHMVvWFX GF556edgnvtAW3z1ZwIosGaFzbND08cPp3dy+O9OGOrI95EWL7TBbwrCokmg5Hrg4I yK0sZQc31vXhv/uVjZ0gJ+d6cmbeeLzxJA5vVNugQsbya0gH3bCAm2jE93oIGRjihu GcwQytlsdmtrtjp6K07BK9+2MqeqzhyBktzprWoQkhyKWzwOkZuMpddAhTK+z4psN3 9RKJ6Fz70zslFy4/R8DuS4isQil5hr/ubO5gnPxy0zkHQlTTBk9JUv3QQlHbFzyxCj BB8Y0V+EjISKENw8VdC7XGhHxeXlsXt1Fi73q7XVznqEc343oHFBa+wNhkJtazUnLb qCOmlRgcIi8eDgakqYjdGVznn4KiJw6dFl3Dvu8dZQ0ZQTLYDFlXebKYnl8KiWTUXn wic1mKQwOGjKEHsjjMvUIGTI2ZtZxOCXO0EHJ5Lo5stk6wxa6bNb6zG8vrG5vJYaI2 eaAMX5CAPL5byAt7OA40H3w3AxNaUT/oKYqFso5OBMOaOmyWdYv3TJfJqqz1tQIvnw 1yPGwhgkbqebVF/zpeAjIZfU= 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 9AE732D029DC for ; Sat, 21 Dec 2024 16:38:04 +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 LfheoTH4QyXc for ; Sat, 21 Dec 2024 16:38:04 +0000 (UTC) Received: from strong-aiccu0.sbone.de (strong-aiccu0.sbone.de [IPv6:fde9:577b:c1a9:f491::2]) (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 B009F2D029D8 for ; Sat, 21 Dec 2024 16:38:03 +0000 (UTC) Date: Sat, 21 Dec 2024 16:38:02 +0000 (UTC) From: "Bjoern A. Zeeb" To: net@freebsd.org Subject: sa6_recoverscope: embedded scope mismatch: ... Message-ID: 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-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.996]; 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:c]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[net@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4YFqht10gSz4LST X-Spamd-Bar: --- Hi, having a machine currently getting two different routers on vtnet vs. wlan I started to get on main from a few days ago: kernel: [93592.190339] sa6_recoverscope: embedded scope mismatch: fe80:3::abcd:6fff:fe0c:1234%1. sin6_scope_id was overridden scope 0x1 is vtnet scope 0x3 is wlan How do I debug where thhing are going wrong. What broke this? /bz -- Bjoern A. Zeeb r15:7 From nobody Sat Dec 21 18:48:33 2024 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 4YFtbY3ydqz5WvK0 for ; Sat, 21 Dec 2024 18:48:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4YFtbY1b71z4fF6; Sat, 21 Dec 2024 18:48:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 4BLImXbX069855; Sat, 21 Dec 2024 20:48:36 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 4BLImXbX069855 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 4BLImXnF069854; Sat, 21 Dec 2024 20:48:33 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 21 Dec 2024 20:48:33 +0200 From: Konstantin Belousov To: "Bjoern A. Zeeb" Cc: Mark Johnston , freebsd-net@freebsd.org Subject: Re: per-FIB socket binding Message-ID: References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> 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=us-ascii Content-Disposition: inline In-Reply-To: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4YFtbY1b71z4fF6 X-Spamd-Bar: ---- On Sat, Dec 21, 2024 at 04:34:25PM +0000, Bjoern A. Zeeb wrote: > On Tue, 17 Dec 2024, Mark Johnston wrote: > > > Lately I've been working on adding FIB awareness to bind(2) and inpcb lookup. > > Below I'll describe the project a bit. Any feedback/comments/suggestions would > > be appreciated. > > > > Today, a TCP or UDP socket can receive connections or datagrams from any FIB. > > SCTP? > > > Any thoughts/comments? > > How much use are FIBs still these days? Half of the original use cases > I can think of could easily and better be overcome by using vnet jails > with a physical or virtual interface (e.g, vcc) being delegated to the > vnet. > > I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB > forwardig but that very little touches your use case apart from the mgmt > which again can be factored out better (or inversely, factoring out the > forwarding). nginx is aware of FIBs, and I use it to have one machine behind two routers on same local net to present two different https sites, avoiding virtual hosts. Fib 0 and 1 are configured with different default routers. Having to run whole vnet jail would mean much higher (admin) overhead for this case without adding any useful functionality. > > I would honestly know who and how FIBs are still in use today or if they > should be put on a list to be removed for 16 (I assume I might be > surprised). > > > That all said with your opt-in approach if the code itself doesn't bring > too many new complications I'd be happy with it (assuming FIBs still > have a use case). > > /bz > > -- > Bjoern A. Zeeb r15:7 From nobody Sat Dec 21 18:55:49 2024 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 4YFtlt6sgRz5Ww0j for ; Sat, 21 Dec 2024 18:55:54 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 4YFtlt5Cxfz4ftk for ; Sat, 21 Dec 2024 18:55:54 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3a9caa3726fso10381115ab.1 for ; Sat, 21 Dec 2024 10:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734807354; x=1735412154; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=j6faG1oPpxbe07yvcjsyZ345wfPxA7258ZApFAhS3fw=; b=Ap/uO7wFor4m26CxbMPRVrME6Z68SNnxe2FTLzPZkJ5b4SULb40vIfeNG6nrdSAbin ugUES0T7/GJcbJ3/7AqbELrc4j2HaOVcLzuC4NMeUVADxOY+uQfyygbzhE5MvmgFhPKI Xfph1T2KU3I57MlXht4lbhihhZEIlZ9GTSCyYS+A4/L7UEGkjLwQVM1db5rZIq1uu/Kz LR2svI/6wu1HlYPBhtgnJK/FRxYio1wjfRKGBT3ebnSLfbXhbCEl+tW4iFUl0NolnIBb 9G+itAhBYV5rv0CY+Wr03HnBtq1WDP009rP3f/8LULUboRY31m3L45wLXcYYR2ITy/zj HAOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734807354; x=1735412154; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j6faG1oPpxbe07yvcjsyZ345wfPxA7258ZApFAhS3fw=; b=E4VQC7bk8y1KtXvvkGGYLjJYBV43iMth53QBgaKpqA9mXMGe6iskOyjcElQdhLY6ct YD9dMOGDDRcEpAlV+H8ehWZmEmA3iiuB8pK/ABUHv3vLQsmn92G5X/kP+wG4yzkNqGct vDulNDe4Kq9yzozwbm/CD5AuXexIqn1LBsCRuqVKdjOnxkQ/6GTyWddlrHS5dW+pU1R+ t53Pw6+Ym4HLdVUCKp97fEzwIgJwYhnPF6jE7qqwGM6fJ5Z/ESJtiqPFTpnygAzZM9Iv BlT8C4VB77O5GYBxdaz4hyJZ1r75W9pAXOAWaRWXYKZpbH0Ujl/e7BWtrJg1gFXkAokP JSEw== X-Gm-Message-State: AOJu0YwRRk+H88uxru74LS5i/yUgm10Co8V60CHmolcgBLatqq84fhT1 6CQUzoTtbEbr0ON9Q7wkofrt7G0EmIGu5c4rsfQ+eZXEG2hhsa39QQzFwg== X-Gm-Gg: ASbGncvrfmJrDuo1IqDxwqubg28lMdOmT38TN3/3XnMRIBGTfLIe2fiSMK+03WEnnVH NBDAKRxvdYxKW7VHwy4VfXtYadOhs+Wcu3M1f9rH2LajqJ0t7nBZ7YnNJb/vpQSitrQqxTwAv6y RcnPG/Wuo3nIFbPvWzz9x5Bl9lQ5Vbe/xlx4Ag3tpdH7QO44hkuDHq5w2NeFFe+nVArvd7z9kFB 2d2RlkHKUqj//PCX7E6tNEHqcZetnBYvjkYcemDHNo1EaQkbTo26DrWoOpMuxukN7JpNHg= X-Google-Smtp-Source: AGHT+IELvSdtLptWGU6Q7x4DoHB70E2edOjCVGhVk1f19paLGX25Ef50JZce3IyZnUUj+F1Yk6HUzQ== X-Received: by 2002:a05:6e02:349c:b0:3a7:d02b:f653 with SMTP id e9e14a558f8ab-3c2f9815c0emr73102685ab.0.1734807353590; Sat, 21 Dec 2024 10:55:53 -0800 (PST) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3c0de0530fasm15229335ab.3.2024.12.21.10.55.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 10:55:52 -0800 (PST) Date: Sat, 21 Dec 2024 13:55:49 -0500 From: Mark Johnston To: "Bjoern A. Zeeb" Cc: freebsd-net@freebsd.org Subject: Re: per-FIB socket binding Message-ID: References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> 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=us-ascii Content-Disposition: inline In-Reply-To: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4YFtlt5Cxfz4ftk X-Spamd-Bar: ---- On Sat, Dec 21, 2024 at 04:34:25PM +0000, Bjoern A. Zeeb wrote: > On Tue, 17 Dec 2024, Mark Johnston wrote: > > > Lately I've been working on adding FIB awareness to bind(2) and inpcb lookup. > > Below I'll describe the project a bit. Any feedback/comments/suggestions would > > be appreciated. > > > > Today, a TCP or UDP socket can receive connections or datagrams from any FIB. > > SCTP? SCTP has its own notion of a routing table index, the VRF, which is already supported in some form by our implementation. I don't know much about the details. It might be that SCTP already provides similar functionality. > > Any thoughts/comments? > > How much use are FIBs still these days? Half of the original use cases > I can think of could easily and better be overcome by using vnet jails > with a physical or virtual interface (e.g, vcc) being delegated to the > vnet. Certainly VNET jails provide equivalent functionality, but they have considerably higher overhead than separate FIBs. Moreover, they're less flexible than FIBs in that an application can only exist within a single VNET, whereas different sockets can be attached to different FIBs. > I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB > forwardig but that very little touches your use case apart from the mgmt > which again can be factored out better (or inversely, factoring out the > forwarding). > > I would honestly know who and how FIBs are still in use today or if they > should be put on a list to be removed for 16 (I assume I might be > surprised). FIBs are certainly in use by at least one FreeBSD-using company, but I don't have any real details. Removing them is probably not on the table in the near to medium-term future. > That all said with your opt-in approach if the code itself doesn't bring > too many new complications I'd be happy with it (assuming FIBs still > have a use case). > > /bz > > -- > Bjoern A. Zeeb r15:7 From nobody Sat Dec 21 19:20:04 2024 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 4YFvHt2jL9z5WxfN for ; Sat, 21 Dec 2024 19:20:10 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 4YFvHs4Pbnz4hqC; Sat, 21 Dec 2024 19:20:09 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2ffa49f623cso36652171fa.1; Sat, 21 Dec 2024 11:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734808808; x=1735413608; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Vl8UDRBRTGFAqnHkqY1sn9nUb4ZtLPziMA6Exk4GNv4=; b=F7v4ylOCUkISzhPLlykL4nMEbWqfKycWiG+C5TZioW1EzDPhq13rDn36E/pkiWqNY4 /2e19/CCVj1EtBUOkfji++d2/XkT56UqXkaUwgQIRvUl+dNRyoQ5F1lELqwr173sIMbZ FhKiZAss2PmaLxoh3Cc7AFolFbUKlsfQZ6MMnmscTEks1M0jZzO6AwD0HBXVgXk7/2hk ah9MUqx5F0tkq7+vx8CajNC1IIvwjhdHpsn35qlAWFg/sZ0rOBHm1EGs+8TyfZmGZ9AR DucrICFgf8JNus+9F/k44+yDxy/yZTfaJ/cqsBbG+2D0idQ+qCuT7PXy6x+2KjcFl/Kn TKKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734808808; x=1735413608; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vl8UDRBRTGFAqnHkqY1sn9nUb4ZtLPziMA6Exk4GNv4=; b=LDgoHy9MJUiKbaXkaf6+sy5RvhQZ7DAHkiO69PXy+zfv4ZGszrPthiZLk0A5VDFPEQ FoPSpWgOynfbT4uJ4e48NafqFuLjlLiPsAhJ5vPk6iGUhKABSQCT/r/wcTj1fmDjTktb +cZSrWCYa7R4G7FmC28tNwTBnkFRImoe3hhMs92pmtKm8nSyiJKxrwD065ajFi3RHp9k nj/6AM+IyptOI+U8hCMtb6bqexiSasL9jCSS4Ro5qQvaTfYKfDoPFsb9cu7NaV2tJh+I t1Rcht43qD5XAn5bSnng393CH33k9U6fet4BZkQI5gGyKJbmll6np0UxfbAxvAccVZtf OSxg== X-Forwarded-Encrypted: i=1; AJvYcCXDNdQs/CEL/sy1Qg1E1hcq331acU0Y4I0B868D6abGznpdNC8emmgEKrWOd1O/hBXHgud646g2oQKeow==@freebsd.org X-Gm-Message-State: AOJu0YyMg69gNRlknTMEkSbwheNEPCHnwn7fxL9E1TyZ31RneL3Xr4E6 7aWyw/O+1Z5lV7gaUib5ncfzXDGjmjZIhHfdrPxB4Vfgl4DxrkmCfWAtfw== X-Gm-Gg: ASbGncu837yGIpaBS06igQIU1liEiE0NbKX/eGO+iR/cCHK+Pu0p5sVnL4uGR8++nCI /J3LQozT4xV52VsB+2mzCG6mJBa8BRqHSf/g2WsAO5fIo4SGz70pyEIvZC+hVELW3aZnSuiEn3A +oe4t2S5J/OmfRks6odAkoiGIfuAE0FjiibbodI9YbzoANKIkyILvB7Fprz4xNCQxSjgf5u5WZi eTrgyMv3fZgWObfMxGYYvMffgFeaDRLXaF04y8JKbLg+VnP2nUJw2Y/MqjjWppc3XXsJmPCIcWf bD2CXwLcZnXqZrxn7QDg20Y= X-Google-Smtp-Source: AGHT+IGcfgxXuFOiv3h2tkrz8ZKip8jXk+kgd5bQU/AHtyjTcMMIyaRCOzeVG5ok4jQXatFKjdyzyw== X-Received: by 2002:a05:651c:221d:b0:302:1d24:8d95 with SMTP id 38308e7fff4ca-3046860d423mr27316011fa.29.1734808807244; Sat, 21 Dec 2024 11:20:07 -0800 (PST) Received: from nuclight.lan (broadband-37-110-95-35.ip.moscow.rt.ru. [37.110.95.35]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3045b069e97sm8555781fa.75.2024.12.21.11.20.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 11:20:06 -0800 (PST) Date: Sat, 21 Dec 2024 22:20:04 +0300 From: Vadim Goncharov To: "Bjoern A. Zeeb" Cc: Mark Johnston , freebsd-net@freebsd.org Subject: Re: per-FIB socket binding Message-ID: <20241221222004.60826be9@nuclight.lan> In-Reply-To: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd12.4) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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-Queue-Id: 4YFvHs4Pbnz4hqC X-Spamd-Bar: ---- On Sat, 21 Dec 2024 16:34:25 +0000 (UTC) "Bjoern A. Zeeb" wrote: > On Tue, 17 Dec 2024, Mark Johnston wrote: > > > Lately I've been working on adding FIB awareness to bind(2) and > > inpcb lookup. Below I'll describe the project a bit. Any > > feedback/comments/suggestions would be appreciated. > > > > Today, a TCP or UDP socket can receive connections or datagrams > > from any FIB. > > SCTP? > > > Any thoughts/comments? > > How much use are FIBs still these days? Half of the original use > cases I can think of could easily and better be overcome by using > vnet jails with a physical or virtual interface (e.g, vcc) being > delegated to the vnet. > > I wonder if anyone on FreeBSD is using FIBs to actually have > multi-FIB forwardig but that very little touches your use case apart > from the mgmt which again can be factored out better (or inversely, > factoring out the forwarding). > > I would honestly know who and how FIBs are still in use today or if > they should be put on a list to be removed for 16 (I assume I might be > surprised). That sounds pretty strange. The main FIB utilization is in routing area and has nothing to do with jails at all (a router/firewall don't need jails). (not that I'm fine with FIB concept at all, but unfortunately that's routing industry standard concept, and removing FIBs will make FreeBSD lacking behind competitors here as it was before 6.x) -- WBR, @nuclight From nobody Sat Dec 21 19:45:38 2024 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 4YFvsQ4PVmz5X0Sy for ; Sat, 21 Dec 2024 19:45:46 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 (2048 bits) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFvsP04VQz4lwr for ; Sat, 21 Dec 2024 19:45:44 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b="KZ+x4+X/"; spf=pass (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl designates 2001:678:618::40 as permitted sender) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl; dmarc=pass (policy=quarantine) header.from=plan-b.pwste.edu.pl Received: from [192.168.7.70] (dom.potoki.eu [62.133.140.50]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.18.1/8.17.2) with ESMTPSA id 4BLJjdDY064641 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 21 Dec 2024 20:45:39 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1734810339; bh=YBBXgzharOj7xFarUV3XRUs64Rh+Udb7b0QGWdnQdic=; h=Date:Subject:To:References:From:In-Reply-To; b=KZ+x4+X/YqQMH4AneSQclYYUv0rEvjkxdT6Mv787Cb0RgAvAjP41vkr/A4f0aPEZa lQ6Fh+kKm3/m+m8yZ5L+GYocowId+0eZD8dR9pwkzMTCXBTath6bsJtzjMmpWxJKpQ dG7wbC9JebvXuTcnOgvWCU9g0nInn8x71kDkCPkm9i2sJ9fKEwBT46HhAR6ayPp5e9 CPVClPqUHAwlZa8swz9b1hp1w4UKU6RfWojU3jWN5v3aD57oLaO4wSSy5ajA6XbRdT fQU2wX9UpgH68U5lsxPGbpg0L4/daEAie95pSSXKBC0f1Cgt+BRik9vfGc0WPxWl9C EN8W+VnjjHLVg== X-Authentication-Warning: plan-b.pwste.edu.pl: Host dom.potoki.eu [62.133.140.50] claimed to be [192.168.7.70] Message-ID: Date: Sat, 21 Dec 2024 20:45:38 +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 Subject: Re: per-FIB socket binding To: freebsd-net@freebsd.org References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> Content-Language: en-US From: Marek Zarychta Autocrypt: addr=zarychtam@plan-b.pwste.edu.pl; keydata= xsBNBFfi3cMBCADLecMTFXad4uDXqv3eRuB4qJJ8G9tzzFezeRnnwxOsPdytW5ES2z1ibSrR IsiImx6+PTqrAmXpTInxAi7yiZGdSiONRI4CCxKY9d1YFiNYT/2WyNXCekm9x29YeIU7x0JB Llbz0f/9HC+styBIu2H+PY/X98Clzm110CS+n/b9l1AtiGxTiVFj7/uavYAKxH6LNWnbkuc5 v8EVNc7NkEcl5h7Z9X5NEtzDxTOiBIFQ/kOT7LAtkYUPo1lqLeOM2DtWSXTXQgXl0zJI4iP1 OAu4qQYm2nXwq4b2AH9peknelvnt1mpfgDCGSKnhc26q6ibTfMwydp+tvUtQIQYpA6b9ABEB AAHNN01hcmVrIFphcnljaHRhIChQbGFuLWIpIDx6YXJ5Y2h0YW1AcGxhbi1iLnB3c3RlLmVk dS5wbD7CwHcEEwEIACEFAlfi4LkCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQHZW8 vIFppoJXdgf8D9X3VRFSNaR9lthSx/+uqas17J3FJKBo1xMQsC2a+44vzNvYJSuPGLLJ+LW2 HPVazjP/BWZJbxOYpliY4zxNRU0YCp0BLIVLibc//yax+mE42FND/+NiIZhqJscl6MLPrSwo sIwXec4XYkldkyqW/xBbBYXoIkBqdKB9j5j42Npy1IV/RizOSdmvTWY27ir8e/yGMR1RLr4F 8P5K3OWTdlGy2H2F/3J8bIPBLG6FpaIyLQw4dHSx8V02PYqDxK1cNo2kAOnU8PnZL/AGuMOH iv3MN1VYL8ehcmpBBsrZGebQJxrjY2/5IaTSgp9xHYT70kshuU6Qb97vk1mOjNZxgc7ATQRX 4t3DAQgA10h6RCXuBLMHxq5B8X/ZIlj9sgLoeyfRdDZEc9rT2KUeUJVHDsbvOFf4/7F1ovWY hJbA6GK/LUZeHHTjnbZcH1uDYQeHly4UOLxeEvhGoz4JhS2C7JzN/uRnwbdOAUbJr8rUj/IY a7gk906rktsc/Ldrxrxh7O6WO0JCh2XO/p4pDfEwwB37g4xHprSab28ECYJ9JMbtA8Sy4M55 g3+GQ28FvSlGnx48OoGXU2BZdc1vZKSQmNOlikB+9/hDX8zdYWVfDaX1TLQ8Ib4+xTUmapza mV/bxIsaZRBw+jFjLQHhTbIMfPEU+4mxFDvTdbKPruKPqVf1ydgMnPZWngowdwARAQABwsBf BBgBCAAJBQJX4t3DAhsMAAoJEB2VvLyBaaaC6qkIAJs9sDPqrqW0bYoRfzY6XjDWQ59p9tJi v8aogxacQNCfAu+WkJ8PNVUtC1dlVcG5NnZ80gXzd1rc8ueIvXlvdanUt/jZd8jbb3gaDbK3 wh1yMCGBl/1fOJTyEGYv1CRojv97KK89KP5+r8x1P1iHcSrunlDNqGxTMydNCwBH23QcOM+m u4spKnJ/s0VRBkw3xoKBZfZza6fTQ4gTpAipjyk7ldOGBV+PvkKATdhK2yLwuWXhKbg/GRlD 1r5P0gxzSqfV4My+KJuc2EDcrqp1y0wOpE1m9iZqCcd0fup5f7HDsYlLWshr7NQl28f6+fQb sylq/j672BHXsdeqf/Ip9V4= In-Reply-To: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-4.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[pwste.edu.pl:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; RCVD_IN_DNSWL_LOW(-0.10)[2001:678:618::40:from]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4YFvsP04VQz4lwr X-Spamd-Bar: ---- W dniu 21.12.2024 o 17:34, Bjoern A. Zeeb pisze: > On Tue, 17 Dec 2024, Mark Johnston wrote: > >> Lately I've been working on adding FIB awareness to bind(2) and inpcb >> lookup. >> Below I'll describe the project a bit.  Any >> feedback/comments/suggestions would >> be appreciated. >> >> Today, a TCP or UDP socket can receive connections or datagrams from >> any FIB. And that's probably the best solution. Please keep it as the default behaviour. If you are going to implement isolation on the socket level, then it should probably be explicitly enabled, like for example MD5 signatures on the socket IMHO. > >> Any thoughts/comments? > > How much use are FIBs still these days?  Half of the original use cases > I can think of could easily and better be overcome by using vnet jails > with a physical or virtual interface (e.g, vcc) being delegated to the > vnet. > > I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB > forwardig but that very little touches your use case apart from the mgmt > which again can be factored out better (or inversely, factoring out the > forwarding). Thank you for this trolling and provoking inquiry! For a long time, I have been using FIBs for non-vnet jails facing the intranet (default gw in LAN) while the host is facing mostly the Internet (default gw in WAN). Migrating these jails to VNET will not only increase the complexity and overhead but will probably degrade the network performance inside the jails too. Another use case could be VPN (nowadays it works fine with Wireguard, but it used to work for OpenVPN too). The VPN server runs on the machine using two public IP addresses from different ASNs and ISPs. To access the network behind the VPN, the client can connect to either of these addresses. FIBs are also convenient and flexible enough to secure basic network services by running them on FIB isolated from the Internet. I used it to secure NFS, SNMP daemons and a few others. Last but not least use case which comes to mind is routing. Routing daemons like net/bird2 and upcoming net/bird3 are also 100% FIB aware and still some enthusiasts who want to run them on FreeBSD instead of Linux do exist. Unfortunately, more advanced scenarios will no longer be deployable on the OS without FIB support. Cheers -- Marek Zarychta From nobody Sat Dec 21 19:46:41 2024 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 4YFvtV6bk4z5X0Qn for ; Sat, 21 Dec 2024 19:46: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFvtV3YwPz4mQG for ; Sat, 21 Dec 2024 19:46:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734810402; 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=ej4qIIh9mI86TMa/jwjzaYHCyFam6M4IIPRtlejsVns=; b=uK/7kq7gtO1LesjVDJ/4KwD1K5uMc5pkRc118dMAScFuaJMhaQ5SeuRBl/1yVg7bG8oHwd nHp8ngxSmDFgouJFdxazrG44XJaZW2M367HFD8Eix35my+6fqKBzwn3BUgFejF+pEhyBO2 I/ttr03Fv/U8P06Z6j1FzrQL8ri/mTrIA26Lslvdnhro8cixq32V5hf/ron7MazZ49N7R1 eLaHBqFHDkFivNKl84Z/VkMJI1H4Xy9jLJXslgO9lsvdejpnczelmSHg1FbHMVZ1nGo2In MnwurdSG39QWLL5VqqZnoVEV02bC0Oi0RdIT/8xQGoNeZt+QWDj26J5d0tpuIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734810402; a=rsa-sha256; cv=none; b=l69bG6K4Y1bt19Euhb5FKGpedGTUVpj6F7ri5NhhBt0jZ0lfY3iyWoU3WBkH5uxLTf7iUJ Vjx08x0lw2tlCErNMWF9Wep6GVTLffmdp01rjLVjLQFPiYhLGVUBR3bCGbkhUsfhRuDzod HTv7dFda3FUO9FXwwVHTl62xfQlnmHso6cEMCAayk+v2Bpb3KJds74c2hN08qz2T6m19i/ O8mB/YUN19z/yx/A55l9ocYNPI3UHCTtW5IBxKR6K20+Rl9cTMR3/JWm4Hw6gXPV0sLumZ XGZLvr3J8ZNT9Y2o6RuhGc2y/JTfh3YTaFVXMFyn2D1olyaFVfXq/QNE6Cf/gg== 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 4YFvtV3BZDzdHT for ; Sat, 21 Dec 2024 19:46:42 +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 4BLJkgVU064932 for ; Sat, 21 Dec 2024 19:46:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BLJkgWY064931 for net@FreeBSD.org; Sat, 21 Dec 2024 19:46:42 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 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Sat, 21 Dec 2024 19:46:41 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283380 --- Comment #8 from Chris Hutchinson --- (In reply to Joerg Goltermann from comment #7) We've been using pf(4) on all our servers for about a decade and don't experience this problem with the following pf.conf entry: set block-policy drop I can't speak to other filters, as I've found pf meets all our needs. But maybe your chosen filter has a similar function/option? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 22 02:22:37 2024 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 4YG4gY2Sz2z5hrQq for ; Sun, 22 Dec 2024 02:22:49 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4YG4gX6jYxz46B8; Sun, 22 Dec 2024 02:22:48 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: X-Catflap-Envelope-To: freebsd-net@FreeBSD.org Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 4BM2McbZ055637; Sun, 22 Dec 2024 02:22:38 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 4BM2MboS055636; Sun, 22 Dec 2024 02:22:37 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202412220222.4BM2MboS055636@donotpassgo.dyslexicfish.net> Date: Sun, 22 Dec 2024 02:22:37 +0000 Organization: Dyslexic Fish To: markj@FreeBSD.org, bzeeb-lists@lists.zabbadoz.net Cc: freebsd-net@FreeBSD.org Subject: Re: per-FIB socket binding References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> In-Reply-To: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> User-Agent: Heirloom mailx 12.4 7/29/08 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=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Sun, 22 Dec 2024 02:22:38 +0000 (GMT) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] X-Rspamd-Queue-Id: 4YG4gX6jYxz46B8 X-Spamd-Bar: ---- "Bjoern A. Zeeb" wrote: > I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB > forwardig but that very little touches your use case apart from the mgmt > which again can be factored out better (or inversely, factoring out the > forwarding). > > I would honestly know who and how FIBs are still in use today or if they > should be put on a list to be removed for 16 (I assume I might be > surprised). I hope that is a joke! FIBs are a must have for certain routing environments, and forcing them into a VNET jail would add to overheads, and not even work for applications that work with 2 or more FIBs in the same instance! From nobody Sun Dec 22 05:37:08 2024 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 4YG8zm4TxGz5j4nX for ; Sun, 22 Dec 2024 05:37:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YG8zm3S7nz4QwH for ; Sun, 22 Dec 2024 05:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734845828; 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=d8Am5XBU2k6F8yQHE0IkJa911p8ZB87RgWg452XzBs8=; b=R1hPIuWMMBi/57F/AYANckNckRYqLNaC594ZXvOdMHT6Fjr0TaMtFt0rS0Xx62/VKpEsN0 t6O5gw9Y0m8gGVcg33U31CB1PVF12lU6OExfHkU4MXecCpl6HfTJUwFoXHBRmP+0qtsUMN cXDcF3jeuA3KDBUxv/iXPBeuV4osqjsrhvqD3jQpKvLsM/LelqtNBmkdxfk2FjJtVHzTWF yppObE6rFCDoRbzcQV/j3TNJjK3GdFEb+jMLRtIT/MuFNxGw2rjc6nbU+zatu28gDrsTrG aE0DfXNrGg/nXrC4EIa27qaMdAchVh7onq9NDlWJCluY0sm1js1b8f+vY4iloA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734845828; a=rsa-sha256; cv=none; b=DndNzgOAAcDHLeVneMzaSWcTsKSlYbSvQ8PfwlKEiMT8nbjKH8UKGxj+wMaIepi3Mrj/3u XdHN/6FTPJ6z1KP9ZgZ4vA/sYxZeA5ej6NXEcqFIxtJvD1ez2Cb+VWqma8YykCzOnO7S3i xzqWrd3B1LrzlPCg0bArK/Ot6FI5QBo1NMEtAY1PS1MetAQdkouGtda8NfoRw4yxuiNZfA 4Gd+H0CUSDnLIGGWUOqaon+m7EAPBdkLfIpwKYn8TwlAbYV4oQZTqTj0WNX5/gpz8SvRHB 5a4HmQqbM50JlY73Xt4mQknRkNFebbdbVEFBgHCQ0zw80Vrx4GSeBmn2DNuO2g== 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 4YG8zm32byzwKJ for ; Sun, 22 Dec 2024 05:37: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 4BM5b8Wu032284 for ; Sun, 22 Dec 2024 05:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BM5b8gL032280 for net@FreeBSD.org; Sun, 22 Dec 2024 05:37: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 283450] ARP problem. Request transmission does not work (proxied arp) in varios virtual interface Date: Sun, 22 Dec 2024 05:37: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.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D283450 DYM changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ARP problem |ARP problem. Request | |transmission does not work | |(proxied arp) in varios | |virtual interface --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 22 07:00:51 2024 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 4YGBrM72Q2z5j9ST for ; Sun, 22 Dec 2024 07:00: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YGBrM63cJz4WvZ for ; Sun, 22 Dec 2024 07:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734850851; 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=BSSc3X3M2X1jgc99S128j1kJIaunHZXfWtev1AunX3k=; b=xF8A80VKm9Cr8oHMlIv903P97zgy0v4AzeBC+Tu9oerdS+SEa4y4yOhOP/fFvwrBCFPzT0 gTIQqF3Nwy7eTLVm5jCQghfRI2QYynEUB8Y0UX1M6kp84YX6/Ea7pwjJzdXhHbvt8880bT oDhh/wZQV2Vh8jGE6tsixQsvcM+/BG/x5GmR5qOa4gX3qnGyzHUl6pLF2NIzHuUS5JTYOV bMT8wi456o6NG4mB6AMj5phHs4L7dLQopTrhpCrdBu3dYy+gLVkNbzM+3wGkE5x4FUMeay VOO74E0iYNVlWOR3sW5AU7C2oNaECxTbko+qgeAkuhcaiN+jhO2DI2taDqSF0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734850851; a=rsa-sha256; cv=none; b=Gs2WP5WYQ5Eihm8lBBe7jw1TPNtGpDxnE33HiW/gZPq1YDW7SM82RG3mMBaNWh8Qa7slxH WyzrgZ74fqL3asQLmz3ZdYZ9onpBsAZpuYV0JEXMfsPt8eE+m3YII76/cNEFcdqw1Kx7La KnalyvE2eawdG9WU8ndZKfTNSU/B8mdb12wvjo8+y5VXUFb6aPK0k8r5aAD6RGfRAAdOsF 3rK326OO9ApO9vF+Pd9Fw6fj8bH1HOhSTxpJ79dXCwdYm77IwYBvniVQ4l69fWhw5mkv7D Z3UArlO0SzHkDWHJS0ZKPy99lBnAk1w9e5It1A8OtUPoNIxVIbBMvHMn5YyOTA== 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 4YGBrM5h6hzyGH for ; Sun, 22 Dec 2024 07:00: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 4BM70pID069319 for ; Sun, 22 Dec 2024 07:00:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BM70p5W069295 for net@FreeBSD.org; Sun, 22 Dec 2024 07:00: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 252165] usb network and mii bus media status race condition Date: Sun, 22 Dec 2024 07:00: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ml@netfence.it 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D252165 --- Comment #54 from ml@netfence.it --- (In reply to Ali Abdallah from comment #45) I ditched the patch I was using and applied your latest patch to 14.1 and 1= 4.2. After brief testing, it seems to be working (better than the former), but, = as this is a laptop and I'm not using USB LAN frequently, time will tell. I'll get back if/when I encounter further problems. Thanks a lot. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 22 21:00:35 2024 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 4YGYTJ1CgMz5hFfm for ; Sun, 22 Dec 2024 21:00: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YGYTH4jt4z45Rh for ; Sun, 22 Dec 2024 21:00:35 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734901235; 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=Pd2KQ3V2+3qIwt8DRfGWLOmPs9d28T3KxVLVpzKOtXY=; b=vPlEjp+DfQvFFtpdfwOAnKlrnEY4GJFbUSnDVwq588TvD0mp2DJTVK4746VrLazF0OpdkP Lqm2xXM6MzSGiFLfxw2sAuCU2P/iQmUSi0Dgd31hEHKe1eM4PMFpigeq99b3hSqc9Y1drs rYQoLQuKc+rRZhU9zbiSA8u7girajdXDVQ4JuI2LHAkW1cac5zrU3sxk+VZHxliBE6Mpep HkB9j8HPE6RcwS4NtwCQvm959D7mV9EK5gQmU0lXbSgVo5FqmdrIuRdFW6ROAXbCU2g8aa lhP6K3FtQS4ozW8kOQtlr4wQ+acCqie77YqkdBiSowxUVSUirmabvxZJMEBjHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734901235; a=rsa-sha256; cv=none; b=UFj2mawhXrl0rZsVtIuwqFq2Z6sULRs5GIWUygyGPExBlh3M0ElfKvigSN+/lPhclJauzt UbJY5REXLJ8QziH7JSGTcTCy2K13D6jfbfJ9zUWzBOIopBPwxXAn5FrNZx12NxA89xF485 Gd2Pd0hONSsKV3cxTXG35+XyUDETktFenmE036rON0Vv3l15VerrXMBFLu2Vso5pMx8aQN FUC2GeazOUDdwZD2Mg2LIKevG8qPwrFKujdd11UdS3MahmHQr9jCfRN6IrHlJlegPQeibh W5lZ8HrXv0oK3AP6ReRFlygKmwSQAnwh5fI+3ihb7SznH5PY1v1HgA2P3lDjcA== 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 4YGYTH4LT8zPqt for ; Sun, 22 Dec 2024 21:00: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 4BML0Z4Q045559 for ; Sun, 22 Dec 2024 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BML0ZRf045558 for net@FreeBSD.org; Sun, 22 Dec 2024 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202412222100.4BML0ZRf045558@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, 22 Dec 2024 21:00:35 +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="17349012353.AD42.42599" Content-Transfer-Encoding: 7bit --17349012353.AD42.42599 Date: Sun, 22 Dec 2024 21:00:35 +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 ------------+-----------+--------------------------------------------------- New | 254445 | cloned_interfaces="bridge0" does not respect net. In Progress | 118111 | rc: network.subr Add MAC address based interface 2 problems total for which you should take action. --17349012353.AD42.42599 Date: Sun, 22 Dec 2024 21:00:35 +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
------------+-----------+---------------------------------------------------
New         |    254445 | cloned_interfaces="bridge0" does not respect net.
In Progress |    118111 | rc: network.subr Add MAC address based interface 

2 problems total for which you should take action.
--17349012353.AD42.42599--