From nobody Tue Jun 20 14:37:46 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 4Qlq3t6HWPz4g5gZ for ; Tue, 20 Jun 2023 14:37:46 +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 4Qlq3t53R5z491L for ; Tue, 20 Jun 2023 14:37:46 +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=1687271866; 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=g+QREKX+OWaBL6yPZJzuGfD2wQq8Zv4ef6nqr9tLpu4=; b=riU+Xn/WwFXFg221alw7D38P/lJpBwu/4agYasWumF4mITzJa/ft6NE3fSltP7GhQBCAUX /jdSsUOPj91HJolHssn8rPrM9kX/1TgXSWIkFpo0b6keFrbQPx67czB9IHwgH0+LfXO1WX W1as6Ed+80XgNi6e9SxeQw6qv9D44bij2TTWupYigbmUgPUnTcsMm2yPnlSoyN5R84kZo8 32hO0a4+o8L9hSeRJhcUFtVAocRQZ2p9oBSDMgUQbbpfjaq11AGT3ODDxsBbsgEl4Se0vg ntKAY3i+fcExRDLMpOuFXMDd8ipiqgfBIzpjNR0C/QTPrECsg6P31nWiVelavA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687271866; a=rsa-sha256; cv=none; b=I1hrp8Hod/xRTr0VZI+J+25eWM72Px3jOKEt7ObGyof7C2Qo+paviWWR91Rv4D9SdCm17W e5MclKWdlkQZ7klotEe090RgvqcH/USn1JAhcWVCvygKJXjEYZppzQP8/yH0Wj6UCZZ+rW AHIsWO64Y7gEkd7KfA5Skqw1YRkz3bmeVEEFRKXnme8vUXbqfHTNJwGaaGl//YsBtaZnBI NEHeijEMgPb0vfhI/95EmdjWjJnMCAJPxaj3Z9KyOFAy6vjpO1ifLMlBTeUVmJS734UQxb QFgsCPD7/IYNmFc402BR2+TP7kDJBUd2jumGSyXzHpgca9Tw6f9J4iLPo2dbcA== 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 4Qlq3t48Qsz13GJ for ; Tue, 20 Jun 2023 14:37:46 +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 35KEbkrD050807 for ; Tue, 20 Jun 2023 14:37:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35KEbkWR050806 for pf@FreeBSD.org; Tue, 20 Jun 2023 14:37:46 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: Tue, 20 Jun 2023 14:37:46 +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: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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 --- Comment #1 from Kristof Provost --- > I am currently using both IPFW and PF at the same time. But some will say= this is a bad idea. Mostly because it is. As far as I'm concerned that's not a supported configuration. Maybe you can make it work, maybe not. Either way you get to keep all of the pieces, at no extra charge! > I think the packets that first hit PF route-to are sent directly to the o= utput interface. Correct. pf_route() calls ifp->if_output() directly and the packet will not= be seen by another firewall. This is one of the many reasons that running mult= iple firewalls at the same time is not recommended. You may be interested to learn that from FreeBSD 14 onwards (i.e. current m= ain) you can use dummynet with pf, and can also do basic layer 2 filtering with = pf. No doubt it's also possible to implement captive portal entirely with ipfw. tl;dr: You're on your own with this. --=20 You are receiving this mail because: You are on the CC list for the bug.=