From nobody Wed Jun 21 15:42:34 2023 X-Original-To: pf@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 4QmSSC3J0Kz4g9TB 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 4QmSSB6V0Tz41Qr for ; Wed, 21 Jun 2023 15:42: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=1687362154; 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=IrKOcJITVxh8zeNB6hlyPQ1R4sUD4IN+BFk3ki0wwIoSUWgE7QKV7OLq8a7zui1vJqvrAr iOMrAMZRYgS4GECiC0iKtbk7dNE2eN1DLeeKU64iQa9quqVbdD/9t1O5h5mj4VKr2nIA4m 4Lam8IMXvguFOuTn1kpDlghhUkd2fPoetSJz+TaYFI/7G2iDjCJ90qp+eub8sG1eHwt+q1 Dc4fHix2d3IuWHGY+agHcyYiGBTe2gNAYReFZA2HdKf/jqtiLcmiPBFhKPmgawMXIKADzH LsHbKBfTN2moMTPXXw4MRrgBCYmEuIJN3Vf3vnQtBzzXHhndV30ZcZTyUqR/gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687362154; a=rsa-sha256; cv=none; b=ExfQc0H8r32aiBr+rVJwZ6Oxc1gK30w8aF1ClNwnLuKmVTj1JflKzWBi/yf01V/9I2gy/9 4WnUQqOvlqshaIVT3/Q01K7UeksNqjPusUzmgyYwxPNp14Cp9c1SYJXbqm2VxSps49JJHb z+x5/gHYDYVm0DspauFyNuVshiHcqPpn3EiEQMT+NHWiX7P+VATQk/UZzw2hZWzVCd2uX9 bH1B3iS7qEOmgLUxhN5xvOv9Z1itYs9AkdGv3kDxLtGeF/81amjgTmGmnFb8jgQTJjfWaR 0JOul5MuEGv9HiVVicTTmX/zvnCVBYPiaXA01LoQLOXkkrAkCPUe0E9nflox8Q== 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 4QmSSB5ZVNzmQy 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 35LFgYNv092562 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 35LFgYOF092561 for pf@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: pf@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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@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.=