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.= From nobody Wed Jul 12 03:06:57 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 4R12hf1Nhsz4h2Tj for ; Wed, 12 Jul 2023 03:06:58 +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 4R12hd4yztz46tq for ; Wed, 12 Jul 2023 03:06:57 +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=1689131217; 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=yDqYVA4j5aCQXO9tXLOcXRaIBpBPtzA7WswXqbo9foE=; b=gw7c3HtjOjZ/UD08Bz2r3qw74SoFbCSxahylV9DJclh2cnTIEk0iacIOoNR5gAPirZEAEi gK+nRqhCe8XRKXgqID9ghg+Z3rDfdICPYqYBlZQ4h/Ioo2f22iMFoKbDxg65MVuocrAv1U Ea2I84CbEM9rShuOss834ijq3olfDfC5xpJMkI/WCRLPfNALJiGG2ih3N/Lziu12WxHk1m 82zglh5tyFyiL+38FqAubAReWFf+v6KswjWnxO1x1fHc0owL3nyAp0Va+MJV0bI3T/FoAb G9FTiXQVk9fBsoVAbdqxCIwDzs3f2fGESsIzrcA4+cy0XITDdDMf+58zQQbD7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689131217; a=rsa-sha256; cv=none; b=gUFtIjKBoK5e21oFI824l6sLMMHQJRjpSfUQycGtDRfV2ueFuFqHtTjAW3+pqdO55W4lVN 4hfKADTUbEtCQ+WnUPdrJ51mZuBdFicqeA48UrvLVR8by33XcwFvySI2vHnGL3WOmloogE zer4U6pug0LbyICqCdSVVPx9Y3jdIFgEz8yzLbrV4UScZ2c77ziY9uKOmlu36A7CeRZV3D XbiMfOBwGu5k1hbLOqGSof+lj10IpNvxPyLDRVoO1Rdw94ve3GIYzN+A1FMFriB6ENb4X8 n16gAEEbs/+0pK/ofZuLN/+QUzT7LIxVW3zElk5tH2aXBYp13cgSVUFYVThw8A== 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 4R12hc6kBjzrj4 for ; Wed, 12 Jul 2023 03:06:56 +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 36C36unc099554 for ; Wed, 12 Jul 2023 03:06:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36C36u72099553 for pf@FreeBSD.org; Wed, 12 Jul 2023 03:06:56 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 272459] pf(4) lists wrong return values for DIOCGETRULESETS and DIOCGETRULESET Date: Wed, 12 Jul 2023 03:06:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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=3D272459 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |pf@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jul 12 13:27:18 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 4R1JSQ54g2z2tnQB for ; Wed, 12 Jul 2023 13:27:18 +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 4R1JSQ2wCVz3DQH for ; Wed, 12 Jul 2023 13:27:18 +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=1689168438; 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=SWelGR76ZloxaKQtAEgFKSGKr5Mu+KDfi4Xt9ywA6mo=; b=NhE1+4K9vUbWWVPzy24f4fxhI4SeZvze0zsSdltuqZgOip2nNlGfgEGt8+6fmnftYMQxwz FwBki9g/DHAw6DZPRHEYrKt6yv6+Q4APj1NU17EWJazVMpGccqrye8FMFeWxZewg12Rn/f UKymg/uwvWWPH/oArYlmgv2lE8/ULwC4ULMUuz/DpIK4CADNQsdZdccA0+4fjaBhwRRNDq NxDiTneyva4mXtvPFp5qxutb7UrzBDee6CxE2Xq4NYO02vUmuyUAZb3GmmANUeUdMjJJhj 2RH9dbPlvTBUipMbiJ6dAC/CZ8M10RcJ4w2qoswEyIv0tCYdWGciBZuHJ2vBbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689168438; a=rsa-sha256; cv=none; b=Ums4zaR/ov1jAihBV5gNgJezf8E0crpD7oRg6rPSsKUykYuYwXRRNDk9z8XrYXguqIrqW5 RSI9rfCfrTlZEpjJhQzadsvp4d5nB25r1uu8uHqHxlMRAJJ5ZIbc0NdOzpxEnV31Hrw6FV CQAcLs5eZ3nF6u++TDHZFbcQzv2LDapnKOB9S9QS7Sv2b45XTWlV050y0dUdL6hdXSFClp fRrsrUdk01K9vR+6zhf/B+qbYGhu1xGczU2b+AU3zAjGM/V6pG5LX+f2+rjvh/8v2SCXmk iyYoqL1cMbQ6yA9YOt46oXHwCVSBGPOtFnfob1WJBSPXHLtzPd1vSG1P+riMJQ== 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 4R1JSQ1yKzz18T2 for ; Wed, 12 Jul 2023 13:27:18 +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 36CDRI6b096093 for ; Wed, 12 Jul 2023 13:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36CDRI1X096092 for pf@FreeBSD.org; Wed, 12 Jul 2023 13:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 272459] pf(4) lists wrong return values for DIOCGETRULESETS and DIOCGETRULESET Date: Wed, 12 Jul 2023 13:27:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@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=3D272459 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddf56c8069a4c920392ac9fec0adfcc03d= 9607abc commit df56c8069a4c920392ac9fec0adfcc03d9607abc Author: Kristof Provost AuthorDate: 2023-07-12 11:17:14 +0000 Commit: Kristof Provost CommitDate: 2023-07-12 11:17:14 +0000 pf: fix error descriptions in the man page PR: 272459 Submitted by: alex@inferiorhumanorgans.com MFC after: 1 week share/man/man4/pf.4 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 14 07:15:37 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 4R2N6d3Zdwz4mYJ7 for ; Fri, 14 Jul 2023 07:15:37 +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 4R2N6d1GfRz3PYW for ; Fri, 14 Jul 2023 07:15:37 +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=1689318937; 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=WPvgSTqhkCdHWY/vQS0hWRsdkOWzUbGc4a3Ei00ctOo=; b=k9Gwr1yavN/a2IgAhZlh7CoL+XCVH0guTAMtpIkEE2VzhFL0pkgZv4d5PyvRwPb4Wtv5VD OlTv8xyNAGAk4FIYV6TnJmJOK0zN3ZyBLZccy99Q+b3g5/AeUB/a7Ty0ThslMZWl8fCf6e tn/GBu2tgqudiGLqCl4k93VVLIztuUAQSxAsacMuzVujCI+zLGPRln91sJ0ZkNqp1K6DGQ 20R7mlCTtAztZB52Grz/eYlQw4ZBAy1eBS8Ocweqd/0pKJqjSR40WRpI8yi1M8bxZMRocu iatnYH4wzRc9VMBuzZa0hpuu9QZ5cmiKa/zLOZG62lKfVcXTbkEfvz1XC5Keng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689318937; a=rsa-sha256; cv=none; b=cXdfU9YaUE5JDe0z+Poc0q1waww76QhPju6Q2fMHUtCxokoRMdBst8z4Ky8MDOY6J/izLr nVJp3knIFEvGftBJgoG2WuCb4JjoNOKnlX/Ds3PmoMvw88N9DavdCgAQ4NJssL3+dmUdj4 GYs6BZA7LZIOk9gXJxZe9CuxPR7Mn//oK2wPFOiuZQzSLL4lK4cpZFvJabE0Zj57XUoAtC YrHviCH/cr56uJajpwQ/44DzHXWDA5ypEVAuYDH0+RuEFZR20qbwizHlCCJJ3Vxv9Id1Jy Vs9iQKUllxLVCpUOt8IqsrBKFR8rE9Ptbxsch8o43GIrdlR1xE52S58b9AABrw== 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 4R2N6d0PGFz1NQP for ; Fri, 14 Jul 2023 07:15:37 +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 36E7FbBE014742 for ; Fri, 14 Jul 2023 07:15:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36E7Fatd014741 for pf@FreeBSD.org; Fri, 14 Jul 2023 07:15:37 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 260867] [pf][patch] divert-to packets infinitely loop when written back to divert socket Date: Fri, 14 Jul 2023 07:15:37 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: burak.sn@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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=3D260867 Alfa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pf@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jul 14 11:34:41 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 4R2TsZ0DnXz2tnp0 for ; Fri, 14 Jul 2023 11:34:42 +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 4R2TsY4xVbz3Q9j for ; Fri, 14 Jul 2023 11:34:41 +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=1689334481; 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=HqR+JadgGFMM668fv7QRHObCPAMhZpgBl/XkoRiCnMY=; b=DsgyLKqYNjycXmr8NLi9uREvAAFw8+QNKo1BHw/s7UO6211jn+Djure1NRLhNLO5XpWphC r2rGq2Vj5axA33isejK7RTIq/MUnetrdo+BX38DP+Pvz7L+nqZa/A4VidOqgPs7LyvlfdI RISgM+C+pZG9ZMpGKTkC6ZSZLAlV4D8ocqvqQh+l1tfou1fLWw9OulCQrvj0ZXuFiw4Qoi nXt5bgPUsb8xaSX8RgiwrGJRyWLDCXa2PuP6ma25F+JhJ/iXlofVVBaxs3TO/2yo0js1Gt 8PlgYSrDgfDq+azKSZ6Bi5aJ8uGMEv/ZTJcb1e0hkXuUFAzZJaoHqbVxJhxvRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689334481; a=rsa-sha256; cv=none; b=cIflq8QZhon+MjCee6RaHSZW9tZ8Vn2z3pR6BD6+tGXWz6EFhhfiHA6prQYAH3OKigtosr Nggi6ptxx2JkdS3QGOLh/Oh4qZsi/NLiVxph0KYwP4wGN/7H+DcUKkL3I63nSzOHBU1aR0 VyuK6lM0NXxqLkNtb4KwPDp+iaIjyXyfdznSBXQML0cCOATP7iunqgwBKfaCn1pwetyRHx hxIkeDxks1l7YvRagKc2oyEoSJoMlMdDfQuGDaZV5l/tMzJxZa0Utgt+77s+ZNyMZdSQRG 5yy3PLhav38Hl2OgY4CY9VBMgK7ssLEJqEH8bpHTJQ/xu7JAe02hxDKdks2AJg== 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 4R2TsY3GjczH2G for ; Fri, 14 Jul 2023 11:34:41 +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 36EBYf6M001361 for ; Fri, 14 Jul 2023 11:34:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36EBYfX7001360 for pf@FreeBSD.org; Fri, 14 Jul 2023 11:34:41 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 260867] [pf][patch] divert-to packets infinitely loop when written back to divert socket Date: Fri, 14 Jul 2023 11:34:41 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: burak.sn@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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=3D260867 Alfa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --- Comment #3 from Alfa --- (In reply to Alfa from comment #2) Hi, i have the same infinity loop problem , i have tried PF Divert rules gi= ven below on between FreeBSD 11.0 to 14.0 CURRENT versions. There is same probl= em with all versions.It seems to me no work has been done to fix pf divert. By= the way i am currently using both IPFW and PF at the same time, i use IPFW for DIVERT but i am trying to move on FreeBSD 14.0 to work with only PF . But t= his DIVERT is not working on FreeBSD 14.0-CURRENT pf. So i couldn't give up IPF= W's DIVERT. I have atteched a code above the attachment and i have tried all available codes on the internet. LAN =3Digb1 pass in quick on igb1 proto udp from any to port { 53 } divert-to 127.0.0.1 port 3355 # I have found this rule (pass out quick on igb1 inet proto udp from any to port 53 flags S/SA keep state divert-reply) from google but i got this erro= r: /etc/pf.conf:83: divert-reply has no meaning in FreeBSD pf(4) pfctl: Syntax error in config file: pf rules not loaded FreeBSD 14.0-CURRENT pf.conf(5) man page divert-to port Used to redirect packets to a local socket bound to host and por= t. The packets will not be modified, so getsockname(2) on the socket will return the original destination address of the packet. divert-reply Used to receive replies for sockets that are bound to addresses which are not local to the machine. See setsockopt(2) for infor= ma- tion on how to bind these sockets. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jul 14 17:19:32 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 4R2dWS548cz2tlyT for ; Fri, 14 Jul 2023 17:19:32 +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 4R2dWS3Qp8z41MQ for ; Fri, 14 Jul 2023 17:19:32 +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=1689355172; 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=Bv1sz9x0Hnd1EK3hYFkgIOPJMEKvd2YU8Q8i7miVRYA=; b=gxjjzyfmxRJ5rb+vdgGGE1b4C/THps6MVCs8oi9Jo5MI/5xhK8RhoFueCQ22Wi1EYb2n4L mZ0eg2xiYXfEKrzD9TKDDiIIq8DMTJnCKQ/Eqd2PprPK5yL4bC7P23tlbJs+gV6fzV0/5i BTYhsNfZCcKSuKXvZKgxErBLi3dldVptFdLSU+oUi+mnHC8IjRs94swszBNSXco9gccNma rEm/Jg/68ybH82fWUwAogX7fOkLCtBJNhDwv3A/bVSyHO+hx3V6b+pWNqdLUVtJgCnCUEl eCstbTEFGS15gaSJY+qSeQyLUVqZz5UsOBEKVPwLEigpm1PC2T3qKUZreWGqXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689355172; a=rsa-sha256; cv=none; b=JVoUBWBXuOC5NI8jRak+xiSGTRiO1J/VP8BmRtfj+5caEyDnBA4/cyzdtqYgU39CyUq6EF Oat64cEKIDuMI5hKBQJiCBwQFE7B4kO/NazpNDW/Lm9zWHXBgvzOC5Xyd2aQPyQOIjQHtK NXiPkkkU8ouR3wV3vYXa2T8ca3I3beCySl7isZY7W35F+0JS7m8Pxylkjylgv8dp7sAIIt VgCXVQcQOhC0I9cZYbptuO0d1xy3tudMPv9n8XJsCnorTZuc53PyfRgWOPQ8jrQgd9fmpa sG3mS21z///jAYImk4/UBknyPur0BHlVaIwAZ5IGuzDSS/1vWEd9Adk8pK/F6Q== 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 4R2dWS2Q9DzRPG for ; Fri, 14 Jul 2023 17:19:32 +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 36EHJWtx028044 for ; Fri, 14 Jul 2023 17:19:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36EHJWtK028043 for pf@FreeBSD.org; Fri, 14 Jul 2023 17:19:32 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 272459] pf(4) lists wrong return values for DIOCGETRULESETS and DIOCGETRULESET Date: Fri, 14 Jul 2023 17:19:32 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_severity bug_status assigned_to 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=3D272459 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pf@FreeBSD.org Severity|Affects Many People |Affects Some People Status|New |In Progress Assignee|pf@FreeBSD.org |kp@freebsd.org --- Comment #3 from Graham Perrin --- ^Triage:=20 - assign to committer resolving - status, severity. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=