From nobody Thu Sep 19 08:41:32 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 4X8TWw6tJcz5XYZs for ; Thu, 19 Sep 2024 08:41:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X8TWw56Ybz4Fb7 for ; Thu, 19 Sep 2024 08:41:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726735292; a=rsa-sha256; cv=none; b=u7xx7GDl1qZeWZmCOVscGlrZHrvpyoeSlAwhqyTB49kmf54hguyoY+qc7j+hNtnNjLWwaw 9W3Sm969ltNp8jfPQtV/9od44wrmmZGF638up+Trj2dX0BcJGxX+7K51yPpPUhBTayNjF/ Wz1DLJaVxEsSIcIKm5yiiydH1FF2NzDC1FrkK7O9H9R1G0GWySGhr31Kj7RstMae+ABbD7 xb1NFvr7wvsKawrp2t3cqgE5+kX5O3mSWouN0GyT4WsFn2asWqcMtLj7Uy48PfEViQVzm7 u9hfqKuaa0nbIOXnvL57/UTi1IqyTMvzdFixWokZ8zLPSZR33VYruK3LbNXnpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726735292; 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=/YbovckQaeFnYExh5YAH7nQLL8IjzCYCnj217hSN8RM=; b=ascmW4y/PqWglavI55XnGg7rz55k58GB3Wmk0PuSbvZZMzNLN+I9Fw0NyIxhrlLjYmbJ5q snxwiX8NViWqz95TYYzBYOUzgod/XOyCs+G30I99oIvv4xWDLU4zOcojb2sWw3yaRXVsJo mxAjMNMAEIwvEIm6PDDzfXcHxlWbIstU6kpalZENZYlfuAHHtWNyeAQkA28pObMODJlLWU g9OIr13faF7tlnXqoqy4h/ChzpQuflJ+58vp6xJEgjtDO2QzRQznonzZS8lmqaQqa4uWr/ CZtnBoUQewQsnoAr+yCt1P1iZ5sg7AcHNrilCgs/DOz7p7O0SxEzkaII889rYg== 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 4X8TWw4kR6zyyB for ; Thu, 19 Sep 2024 08:41:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48J8fWBZ014696 for ; Thu, 19 Sep 2024 08:41:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48J8fWT2014695 for net@FreeBSD.org; Thu, 19 Sep 2024 08:41:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 280648] Traffic leak between fibs Date: Thu, 19 Sep 2024 08:41:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.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=3D280648 --- Comment #14 from Tatsuki Makino --- Hmmm.... :) I don't know how far the fib that can be set on the network interface will = be used, but if it cannot be set at least there, it will be difficult to route packet forwarding (which sysctl net.inet.ip.forwarding is set to 1). A process launched in an environment where the fib is 0 inherits that the f= ib is 0. If the process switches FIBs in the middle, setfib or setsockopt should be running somewhere, but in that case, there is a config for that somewhere. I don't think there is a function to recognize the FIB of the network inter= face where the packet arrived and select the FIB of the packet to be sent. [cita= tion needed] ...Therefore, it seems that the service for packets passing through the rou= te of fib 1 should be set to use fib 1. single-mindedly :) And since lo0 is also a route that can be passed through various ways, it is sometimes better to create lo1 or lo2 and separate them. I don't know if it really is. I think that's what it means, but I don't think it's on target :) --=20 You are receiving this mail because: You are the assignee for the bug.=