From nobody Tue Jun 20 14:37:46 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 4Qlq3t6nTJz4g5Xw 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 4Qlq3t5jZwz49Bw 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=xNKB0lSHXXvjb/KnbGrpzD/WnB6NxgssWXE6ry//0uIL0ZxBodzNU+BDJCY8Ibf2q2dgQn pZggtzEUnkRtLUpXAs+qeZgjJ7SSmC6YjtZGGe/hiJiEj8fjKM7ysgt3MwLCYICkNy7yHh FczOhKm/rZ9vaOHaoKkj8xMYAKGX+QckIyypqV8F2ZkHAGhgv2Lxvg6IfrZIc1xeNcs1H3 F9WKvOfRhJ7XqFde1dr08E7ATdEJLB0xA//ZnuI5r6qWj3OoMi1vdpNovytto0KDt1LEQx QKD9Jg1CZB5Z7fe7O/uIjObgAkcWDs3X8yqpXkgWJ3r1Zc1aDW0CyMu+nCNNvg== 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=F+j8mPmHtF9POkjkTuoOYghWzoKtJdLCrYJadQo7HB9it4GlA24wifwHtw0O0wc8PmX3Il HfY5khTt49FU/TakXiQUYv7mfAvwxUHQxxx/ZcYIFWTnjTaC7VPL8DUK3j003wVz5JxVp3 TSCcsTdt4BfHErDz4d59li7JJHcIjp0WLH4R1wir+7upzATG2e3ZbYltZrPuzlpbGXuRU9 Cl24RC0FFOTUNcn9eicw7+KNLaGdiUB6yYyGG2yAkL+oCF1bRVmw5K8DGOrQWl2+F9JQDy IL+jqZyDvhl/zTHc4swSghNaAR5+ZyD+3ucgcr46Q+fchopHBHhcDQVdiIi7lQ== 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 4Qlq3t4mmZz12YP 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 35KEbkgg050811 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 35KEbkso050810 for ipfw@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: ipfw@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: 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 --- 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.=