From nobody Mon Aug 01 10:26:56 2022 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 4LxDnY1gG5z4X1tC for ; Mon, 1 Aug 2022 10:26:57 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LxDnY0ZL4z3gxR for ; Mon, 1 Aug 2022 10:26:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4LxDnX6fllzW23 for ; Mon, 1 Aug 2022 10:26: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 271AQuPh095050 for ; Mon, 1 Aug 2022 10:26:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 271AQuEM095049 for net@FreeBSD.org; Mon, 1 Aug 2022 10:26: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 237973] pf: implement egress keyword to simplify rules across different hardware Date: Mon, 01 Aug 2022 10:26: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: CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659349617; 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=YuaGNn4XicfLxSSXlY/iuZceqQ7DqzApQxOQ3ZdSTfA=; b=lYg/02/Ceduqvracz4BfXFvSPPFB9hFRt4+UaZwbbLRfqebwr9l3BXu1d8o4I7CuX+MpIh 7hLxcjXSQlgsxqYHeqK2GzvndidPY4M+0w+BKiqnclAnTALZiedD9R0lBNNxT/jYPomKLi jv+lQ6RO/mLJihb26ea0sTsdENfGAtlV/AJ+CKHKdIBtfEdP75ABp81AhI6NOwBn2s4+c8 mYX0fQ8EjFho7qLIWXnZ3GkjzLulhlX09R6JQT5J6ypxpNlY0kZj0cwiE1S4qX2fjERbCO aOFxnyfKDE1FY59N4CWaDhqWrwZudLhv48PqEYZqdR0Fs+C5cFNbsdRkpMwkOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659349617; a=rsa-sha256; cv=none; b=VBim843KWmCt7GVJcN1DE7PIxxkdn2yt75quBkyRyhi4N2i5kpE2EMjZx7IHKdmiWHEQNA HbFo+rQRw/qMcDael5LPRWZCSL4rJA8/WxeryLOF4tTiHU6xGUBH6YrAEGKYAYF0JMF8nt g8/kB2AMYXv3Oa2We/yGyqp9NauJ7jr/r1er2GMdrWnr62Jgz5hMjJycn7QGk5O3qsujcU DqgzFfvjIZ+4WUEqVG6G1btWzvzMUp77jZz+TCksqJs9sOkFpccAhO4G+9KqsM4LznKEEW SZJfb//X7edFguhkJzS2DiXQ1WMCjCIXutKyiLlN3K9yEO7AcdctwQofuOPHkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237973 --- Comment #16 from Alexander V. Chernikov --- (In reply to Goran Meki=C4=87 from comment #15) IIRC ipfw doesn't do anything with the groups. It does have interface track= er, which is used to maintain efficient lookup for interface-name tables. Speaking of the grouping - there are many variants of grouping that may take different options into account. For some (bridge, epair) FIB isn't relevant= at all. I'd really prefer to have as little business logic in the kernel as possible and leave it to the applications. For example, nothing stops someone from writing a small rtsock monitor scri= pt that tracks per-fib default route and assigns "egress_fibX" groups to the relevant interfaces. --=20 You are receiving this mail because: You are the assignee for the bug.=