From nobody Wed Jun 21 15:42:34 2023 X-Original-To: ipfw@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 4QmSSD0cVXz4g9TF for ; Wed, 21 Jun 2023 15:42: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmSSC5zhnz41cd for ; Wed, 21 Jun 2023 15:42: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=1687362155; 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=TjYzSZHIvDmGrezV/5pA8cWGPbNkua5FUdVWMW234Vo=; b=aCP9NkcPbcMtC3dV1BAnrhWg9KS+SH9LZw+ren7OB+X4sVBIXdOYuBZDAF3odDhcbq++PB L4xs/AD1ZzKJMiF6On6UFgUBPHbFslnmShkpcaOyg5tfZpVjsJSBCBkC0MCwqOANceBTsD TSMxta49CNeBd15ipcU7p4dDQVUKyHbWwjs5h7EiTSEQefvDmyEaMh6yxH1RAWXq7zPCkz +XHeMsQcOElVxrFjUHgv+OJ5STPa5p2CcGm0IgR5gCRKGb2ZX/m5B6KUqb+UF0BooLh0ig 4PjWmZPhKO5fU1jTlzc5fwsONU3qb3WJTOVT7PCdWdmh/QVoJM2PUDjyy8KZhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687362155; a=rsa-sha256; cv=none; b=c5+0E4BCPeQxZ8udv9GzYN0Sa61O9wJv/OiAJPZiHFMsq8G0rQV5ENqG+63tF7XqE2wvgQ t5VpN1yRO/Yce5bonpHZpWjXEty8gvmu59Nw8aK+02jcu98PLm7xeh2PGyGjVNn6GNH7Vt g0aaOIIvog0nzPbAXiNF3UzNuLcixTwGkZjLRhaf+2QhPKIBucbnzM5wFn9AMFetrQQfhg QF5JgjdkZUXYLEubH5VBMy/jJ2zwFtdlwqqH1Cx2TibwO3qHtslsSkA6lM9qF+vtZuRGyi 6A1CdfY5HeegHEj5OYVJPAcuSGC0LDtO1JI0ZcsiepaI8N5iK1grHHEPNJDqFA== 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 4QmSSC4jNXzmnj for ; Wed, 21 Jun 2023 15:42: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 35LFgZN5092596 for ; Wed, 21 Jun 2023 15:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35LFgZwW092595 for ipfw@FreeBSD.org; Wed, 21 Jun 2023 15:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ipfw@FreeBSD.org Subject: [Bug 272094] pfilctl IPFW hook order not works with PF route-to Date: Wed, 21 Jun 2023 15:42:34 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: Open 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: IPFW Technical Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ipfw@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272094 Franco Fichtner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |franco@opnsense.org --- Comment #6 from Franco Fichtner --- Two things here: 1. Having a netpfil facility accommodating for multiple packet filters at t= he same time and saying you shouldn't mix it is not a good argument, because e= .g. the ordering between ipfw/pf is easily made deterministic with something li= ke: # pfctl -d=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 # pfctl -e 2. route-to's if_output is derived from OpenBSD where only one packet filter exists. There has been a proposal for several years to change that: https://reviews.freebsd.org/D8877 It's practically been accepted back then, but was never merged. I have upda= ted code based on stable/13. I am happy to rebase on main if someone can take = this on... Cheers, Franco --=20 You are receiving this mail because: You are on the CC list for the bug.=