From nobody Tue Jun 20 14:37:46 2023 X-Original-To: bugs@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 4Qlq3t5kDHz4g5gW 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 4Qlq3t4Ttcz49Bt 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=2NJO2Xv17Q1HZSNp/42tCfHWfZn9+iKmuSKJQmZgrYE=; b=EdOyL4wBxjOcyx2OaTf0SDFH5b+M0MrmlOZABAg+fXub1GcKoKIT300BtXbdIJrtudAR7H BHARDE3qP5fYNC/vWRKurcWAd0TPbFtRl0xPR+RN7PEeP7YNzYyMzu5aYnKp6OrHRJSeLo vBCA+8XI8qO5qHLYwFhiYPgtAF9rxwCj/PLm4FfEvFiCQdExIYEe+wnNrcbWVemBsHjguR J6Uao2UyQzYJO5qk/WhX8gi3wn7tnQjkqh7dhejcn+vfr3XVyPMUS2/gJzJ7pg+1WbHygF JcD4T2qsSJNdZt33XIDXzz2CymP45BaQfxp18SktXoydY14kYbJ0DD/4QCy6sg== 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=x+rTGtDBAIO4aCY380YTTllJSgZMr5qGxQyrT+iBpUQxdVwprKFREkOwPVPzgvg48q4qXI rdnmnjUsGkGPfU95oJRA8VcRQOhMeGuvVQ0hEPueI8Iq9hFK6uDPWpTTn7vhcPfpYBQMx3 dezw+25jWSQfKB9um24BIE5qqq60BCS+p0wbfhjR58Up3r2kysqV7u3sROIoZTDUpeky2M A3/vJ0Rnp7aPCx1IVPjDEesurvIF8+9hubBAVUaN4b4vCZUgza4WDCQ0CTIr9NWl+0oH/8 lBuEHJkdR6k48AXFgpaaSlGC3olxL++zKEHAZgPnRhiwxyLtb85PB65doTMGPw== 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 4Qlq3t3Zxkz12KG 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 35KEbk7u050803 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 35KEbkk5050802 for bugs@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: bugs@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: 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: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@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 the assignee for the bug.=