From nobody Wed Jun 21 15:42:34 2023 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 4QmSSC36CKz4g9HY for ; Wed, 21 Jun 2023 15:42: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmSSC07wxz41Hl 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=UWnQuAC8skXjVK9b60PR52ZDzd+uZsNhnzKWA9KSJZo=; b=inEUaj0FaRh8H94O0Nr4Y3AR8naaizq65aykkW3Ug4I1hd+vbJNEsV1qz9sfoXBDA9VmUr PhQvumDusH3+3AxkqoSOhYz6z4tQNWvFBKRV3nBeZwuQMYiKDlwhpSOv2e8BXlu0BYQWQp 2kqC6H9xj7RsHK+6JeNSCV+TGd8s4LH5EbEOTGctJmn6EEXpOqMPERAmnlxA6fDd/wtuJY a2xuAgd/nXgab93uRn9s2/geIC7YTKDqII9uLE0YZXIDcG6WCE2t5oWzL45kXf3YlXuj3P znMJlrAn3z4SouEEr52Y8CNtB9hQrqIpDaRITddmuvysvY1uh6/5flS1V18KSw== 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=x7RGENdWcEm/c6fK+PSDjph9F/3PsXyd6GstrJpdmdKqz/7fjH/KQbeE8uN1fE+lmvdJk2 fEdaXzs39oDiYNQP5Uo2Ap4WtC7kNopjyrhaNZvBFoduogQsJWeg745ni3hTuI7IuIMm4g 11nSv9RWdh9Ww289ph1aItwy66Ru3VwzlAQNvk8h1ILeVBJUNfBhb9GMEJHuKn63XHHktO g37gVAy/QuJjDXoLSrtmbcPgEhj9dU1N6mbuZVEzQKbFY5U1il2P0Lr2uTtisvo13rZ8AD 1ln1fwX5tigLlfXJ3pzXQ1Qc6Z2YOBPjJKNZPK2wl66t91hFrnuF7og1HzTvWA== 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 4QmSSB69LYzn2l for ; Wed, 21 Jun 2023 15:42: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 35LFgYj6092566 for ; Wed, 21 Jun 2023 15:42:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35LFgY5Z092565 for net@FreeBSD.org; Wed, 21 Jun 2023 15:42: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 272094] pfilctl IPFW hook order not works with PF route-to Date: Wed, 21 Jun 2023 15:42:34 +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-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: 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 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 the assignee for the bug.=