From nobody Thu Oct 19 12:37:44 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 4SB6gY21Z8z4xPF2 for ; Thu, 19 Oct 2023 12:37:45 +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 4SB6gY06vtz4JTR for ; Thu, 19 Oct 2023 12:37:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697719065; a=rsa-sha256; cv=none; b=NR0yhO+Es7D/DAQuhyfcaTvS7PRI1kCJin6ZXBd28DShBpvD4vBzdmL0f0KrF3d4h6VQ84 T8edg97SdJJYkPIekUmo1DGwZcBDUOUQHiwsxCuQVh/Jvtn4GApMVeeNva07VEr/YYJx+e czixPfLkqhVkyvxzxe+95EResIv7Sujf3ebtOPuT3GPx7pNSTsAEh+vtZR2pWi5zYu/nOO GAendhaKyHrOd+TzaWn0jwhCtdP7uIDdDwKEDStLEgCL4egwIibYuPA7aJNoIzNesd3Hsy 38Qg/1zD1p9nidgLK9x4n3Tve3VGRS9jd3I0sJtn//V3/W1kzcIic0sauxsW9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697719065; 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=cn+TEHlWDfmj2BUy7IZCUmC9tIrKkTrCxXF4twg5RAI=; b=GFi9MSr6eAZ3G3c7JUiEDv8dGDrUyUuiN8fmVDieS1OKMGoTPr6CQW1IeYujXiHOLYDaFL E1Jn83NnbS1pjMpIPUraIsKSWykJ/HpVfHMTWfzsN1fbWwak/xxth/Truzrp+Oc0HrYdtL ilvHeDn2k0aDh3fMJlriOjGTt5MDrWTwJPyH49yS7jLj7Y7hm4Ga2WiEuVoa75lvhte4qt Jm9hSRrbkK7AkyVcVgtKbNjiKqxjVYoRzi6SIHsJScP2NUe6RumaaposnKkQGYMq/3NIZO gO64YX+7pCnYC0zFHTF4qEAWinSrsPLFk0QEk3Uf5vx9lSLBCBcT7+xBANa2JQ== 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 4SB6gX5tsXzqRL for ; Thu, 19 Oct 2023 12:37:44 +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 39JCbi0C065755 for ; Thu, 19 Oct 2023 12:37:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39JCbicl065754 for pf@FreeBSD.org; Thu, 19 Oct 2023 12:37:44 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 272770] "divert-to" rule creates packet loops on all FreeBSD 11.0 to 14.0 CURRENT versions Date: Thu, 19 Oct 2023 12:37:44 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272770 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfabf705f4b5aff2fa2dc997c2d0afd62a= 6927e68 commit fabf705f4b5aff2fa2dc997c2d0afd62a6927e68 Author: Igor Ostapenko AuthorDate: 2023-10-19 10:12:15 +0000 Commit: Kristof Provost CommitDate: 2023-10-19 10:12:15 +0000 pf: fix pf divert-to loop Resolved conflict between ipfw and pf if both are used and pf wants to do divert(4) by having separate mtags for pf and ipfw. Also fix the incorrect 'rulenum' check, which caused the reported loop. While here add a few test cases to ensure that divert-to works as expected, even if ipfw is loaded. divert(4) PR: 272770 MFC after: 3 weeks Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D42142 sys/netinet/ip_divert.c | 31 ++- sys/netinet/ip_var.h | 10 + sys/netpfil/pf/pf.c | 32 ++- tests/sys/netpfil/pf/Makefile | 4 + tests/sys/netpfil/pf/divapp.c (new) | 149 ++++++++++++ tests/sys/netpfil/pf/divert-to.sh (new) | 413 ++++++++++++++++++++++++++++= ++++ 6 files changed, 625 insertions(+), 14 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 20 06:34:14 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 4SBZYf5MNDz4xPS1 for ; Fri, 20 Oct 2023 06:34:14 +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 4SBZYf3Ds3z3Z9C for ; Fri, 20 Oct 2023 06:34:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697783654; a=rsa-sha256; cv=none; b=lhtTXP9AHlrDVRws7UVruEnyLIUtzlF4+EbRQFVxSfGJrC4+T3bhznrYfG+MesixnLHKyn GAy5TwEuXsL6GcwVhEQoEXL6X615nBCEDyMNCy8fpKaQDVcBkHjJeRQnOsIHNQbDBt2F5d dpuvITLTsympeyPEuE47cv7yMQDMqDdF7FbEZHSMv4izWdTiA9e3x92ysd7D0Xx9iLW24x 7RS5MG8kv7pVrCFM5TDSsvWiWoTgP6Kkh4Q8rlpoWuejeOnz9fXEOFaFoonzs83fLwKYA9 MJM8bXh2EXKsc4TKG5fFuO7Bch0fV3PbOwMByW6YcRkNfIHzViV9oWKcX17quA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697783654; 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=ZrDqvE839lVhpyaxNson+sp61bzzUjW2Ac/iKiL6RSQ=; b=QFzP1WmPQnVGueJBn4KIwtBd9tqrFntfHoIDqbw3lGj2z4+GqAXMA+xzN+kPH7ekDyydBQ nN+xrzfYhe8E4hLb8Pn/13lBsLXhkySL/efxLcy3le//6p1wgL1pXHpRudDy1LN/dALMfN +jhBlBa3/McqVX50l3/KEm1RfNYm4go3ISxZKd8DQlV1wtH9IG2jMxnKHR3XKnOQEyuDDx 1L7kBxhdP322hrXDWYn3BEbz0pewImi22LcRXMBSOZEYX4JDNtwWjU/bZuo8zZOiPHOdf6 1Nh6Fgq8R3L63lCKF6CNkwiUeP04gKThEybJDNFrQMIcpkZo2/prn6B7DxifAw== 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 4SBZYf2KM8z6xK for ; Fri, 20 Oct 2023 06:34:14 +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 39K6YEdE055738 for ; Fri, 20 Oct 2023 06:34:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39K6YEpk055737 for pf@FreeBSD.org; Fri, 20 Oct 2023 06:34:14 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 272770] "divert-to" rule creates packet loops on all FreeBSD 11.0 to 14.0 CURRENT versions Date: Fri, 20 Oct 2023 06:34:14 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: 32carleone@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272770 cArleone <32carleone@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |32carleone@gmail.com --- Comment #3 from cArleone <32carleone@gmail.com> --- Hello, I did the tests on Freebsd 15 Current, it works. It no longer enters an infinite loop. Thanks. Will this commit be backported to Freebsd 14 RELEASE? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 20 06:51: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 4SBZy564X4z4xPy3 for ; Fri, 20 Oct 2023 06:51:57 +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 4SBZy54vFxz3bN6 for ; Fri, 20 Oct 2023 06:51:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697784717; a=rsa-sha256; cv=none; b=juG7mE7YR6IYHQnscoagR9aaKjtadQ0bIbjlB9ri/plhTHLmnF8h5QbVDHj4wcc2iqV0Dy wNOwwk3C86qxJvXMykJaNjcLz9SxSi4v8RpBh+3ynw/BEimkHlsFctNt61FnPnA+LT5E91 uOUUHS/wb0yQnWwgbkiV5Q3N5+0GNYfX/LglXC47vOPyQQA8A4ziMN247QUYq9QDyj4DLQ rHZpcLmczKbIew5f1I40NKF229i0YtxGHu/ycifdLO8eRGSddc/FOwbAcEjyJveyxnt+hU 8PQL92LvGDW37TuDnzwcKH7OkGuBz01fL5nhnEU9sAH7koakTpZ3NrcMEE+/3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697784717; 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=gimWqxvzsD8tR741tYYhGn4iPPqXaz2atCd0GJx1FxU=; b=X2l++5xP22vFtg9QmA8rkVBLfncUY/5GjIU0PvZM4Nb1yfuI6H/urooiUhOKQeFOA3014V HixGD+pea+VQ7MMrg3HoN3LYek26GFn+koJcnFBbe5sHVqPcjvaJdJGxgZC90e17tBfi5v Y0amVRq6SO5WBQgT5JpmsHDE6iA2vPQvqJRcIZB3AZXT3Eu1+zLsR/SABurwygk/6p5I69 nReLDvhSj5UuJ/HciXQNB6+BvNl+EdqkSWLiSiAlrq8dc9oqRk3xndw22pym4mEWIOTY/P LUEdQqkIxvZr+oCQm5yQw5+W6rGHzWZLRFi/3G2nlZHANdk3ZXV1vHQ+tTbVeQ== 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 4SBZy54099z7cp for ; Fri, 20 Oct 2023 06:51:57 +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 39K6pvkH079970 for ; Fri, 20 Oct 2023 06:51:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39K6pvYB079969 for pf@FreeBSD.org; Fri, 20 Oct 2023 06:51:57 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 272770] "divert-to" rule creates packet loops on all FreeBSD 11.0 to 14.0 CURRENT versions Date: Fri, 20 Oct 2023 06:51:57 +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: CURRENT 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272770 --- Comment #4 from Kristof Provost --- (In reply to cArleone from comment #3) It'll get merged to stable/14, but it's too late for 14.0. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 20 13:58: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 4SBmQJ3xrZz4xpZl for ; Fri, 20 Oct 2023 13:58: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 4SBmQJ18Smz4kBK for ; Fri, 20 Oct 2023 13:58:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697810312; a=rsa-sha256; cv=none; b=WVMT3QIP7CeUJhbzieKTZsvjSzDHZILywaKtddH7f4YSuT5YOfHohz2RSJCtkUXwSpHLuA dvkgGTj59edevAn6eRmv6jEdO2/e2lhmnJYEX3A+YXnn625aOcZ30IPIVgxy5ASMefqEsn /RFTLCgArqamVQU0024/8E2LmIapJoHeQIa+GqMoHNOx96AyuxmFtJ/1Ukvzr1dPbSq9Jk d6ZN/11dkXW6nMQwbTbAVs9VPkNuhtsP5Qp4hd6NUnRcxzWdTRhonokfgNUW5TAehb1IMM brzR+u8BcW+oSVI2LYjLF3mM57CIIHV7GgNz19rFJgWnjholFu8Q/InqJHLyVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697810312; 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=s5aN1vVHwIlcGspYcTKM0Z7z0QDnsmwpBTdbF65+zOk=; b=IhxJ11HlvUEH7X/KkdGCzMjua5nQj/LR+d7LcfDKzMtoam3Aussk2P284r9xBaw3MO2wxZ 5RT1JSMb4QW9Tt17DEK8T+HYag6HF7+ws4pku8pYeYOSIRjvHPeL8Lxuj3G+52V08mqTwE 9yX3y9zIAFdZyb7swPk8JBByqSloQuoIb6EP5bMhGkeXpqp8saluBITPJiuFughjH7i2Dg UJWaAYEng49i0M+q3mNpCK53gl4QBJ7bp7MwN2qwy8uc4Mqs/6qKiZMfehu28pdGDAlqk0 L9A1AA4R3PzOcxk9XU3xHmcNO2LqwmFP9l8gWpjQ15gMR+LjpjV1U8yGJQyojg== 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 4SBmQJ034nzb7G for ; Fri, 20 Oct 2023 13:58: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 39KDwVgP055733 for ; Fri, 20 Oct 2023 13:58:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39KDwV5d055732 for pf@FreeBSD.org; Fri, 20 Oct 2023 13:58:31 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: divert-to packets infinitely loop when written back to divert socket Date: Fri, 20 Oct 2023 13:58:32 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: igor.ostapenko@pm.me X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260867 Igor Ostapenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |igor.ostapenko@pm.me --- Comment #4 from Igor Ostapenko --- (In reply to Damjan Jovanovic from comment #0) It's fixed in CURRENT, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272770. Please, give it= a try and let us know if the issue persists. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 20 17:37:01 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 4SBsGP1FDfz4y2X9 for ; Fri, 20 Oct 2023 17:37:01 +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 4SBsGN6gssz3TnQ for ; Fri, 20 Oct 2023 17:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697823420; a=rsa-sha256; cv=none; b=xqccddSCRU5iSvWuZm18As5wOMxk9zpQVVFAAWp8Ue+fbZQ86S4QEsxyYXEOw+vlYPL76Q aRLXRtPUxxEhuA5b+BjxNCpykmtmJgE9mTYjhvPElf+meAe+4U0ozddaev3+ax+Rm3Zbhc NWjurwfZdCkKg9l3K/rIMTYIXWD7LfzeYnGn9DKM/gNVxIq2idqHUPCYPbQm6o3O/5DJtD xnWIxbKjRulkosjHkiYvgZ7u5617ErF+wZ+PZkY+iOf4aeQg9kCVdRqNppJDolHWrxnQ5F xiz6tEqSMa2Wfawg8v2hKOYxf4b1/7Nl10VdhPdCSMW+ed5dt66ZlXMJ0Yl2gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697823420; 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=0wFFQXkP9HMoKMaAtYQgdn7w7+JThIU9MxwK5bcGlsA=; b=sSqZPz1Pw+k54a/Hg0vtyycyEDNHoR70aacJz+ctZLsqL3avMqaH/oGhDC8Lr6yrEKZ1uL IwsoUKQTmTDwc44kFac20XPYmgThHuHcSPNgWg1TaJ3M7eSApcIPzO4GUI7zZjcJ6jQV0W saNj5PPnrirPQDXounNuzGsBLWB5viWqfZl5zXU6vukM7ANa0fKm98J8ElzBXTgbNa4oS/ tvV1+sYW7xWMtcSYXw4D/l1fOZx5WQKidPafe28jeYBEUGHowoBVrGn6568lv4pviGsAY8 gp2Aiu7Dj7LJw5brNS5BmubGECH/cV1YiasfeGZzB7NdRLIzj8cQNGimznRmag== 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 4SBsGN5kwZzhxl for ; Fri, 20 Oct 2023 17:37:00 +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 39KHb0ia087399 for ; Fri, 20 Oct 2023 17:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39KHb0oO087398 for pf@FreeBSD.org; Fri, 20 Oct 2023 17:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: maintainer-feedback requested: [Bug 274614] Issues with retry loop in pfctl_do_ioctl() Date: Fri, 20 Oct 2023 17:37:01 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Mark Linimon has asked freebsd-pf (Nobody) for maintainer-feedback: Bug 274614: Issues with retry loop in pfctl_do_ioctl() https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274614 From nobody Fri Oct 20 17:37:01 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 4SBsGP3RVSz4y29G for ; Fri, 20 Oct 2023 17:37:01 +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 4SBsGP25xdz3Tqd for ; Fri, 20 Oct 2023 17:37:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697823421; a=rsa-sha256; cv=none; b=wo4gGY/CB6ZBJKm3SzU1DCT71SYNfykXRyF7KsoKcaGSxPwi8j6wRjUpJ7n6fm4tfuI5Ny qJBhN7t6uqDu5XOvAvFUoJc+FedrnrfAc3j+08HZ6mzUWt9gIhKR9Pb0w0QwcCqzFxfDGe yTNORu2ogFCfBQvgvKnkI4MSJ6N0J8z+n9tvBSnBa+4fNc8huXvG7se7xF1Lq2diNZbHS+ 8Tr15MiwcxoiA/J9mdXblkcapCvClOTeyUhI4O/LFNWKjrM3gHvJDEZQxSMCTzpXkeEhOO eThM5geQ1iPnw1X1TBCI1freA4kYRi0IrOYihMkOhskil0Xh93jRAn+zSZuODA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697823421; 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=0o4H2ooivjgzGueHh41yrgvGMKEs6Prbn6I/zcrlRfQ=; b=rhkzBRPUJ4Z5b5/8KVGpjupRfMrbMVCN1IhxxRA+ZlJwN7tA8tlj51R4SW6r2iz2z0I+6p fMrhhk+hssYPdWy8LOUyC318g/2mqkKNbspgxFxZj3p+eCoEEtmukK945iEKhoFo7L1S8W 5jhlZSCPqBMZRxttUY5L76NBn+TZObudzEMtZ0tuTd/egwjMic2Migr2xzDX+DAYU89Zt6 IHfN4PIpUI1rB+IRJ0nupFqvZVWsejiQ6S4imx5bCxnOYvjmO66dY3Q82+lIRLGW6Y87dD mxL+sLTq/g/ZzpXNuxQ6FGrrg6tiPaEs3ie0WywMuodmG3/RjFrMzlr9SWO+nw== 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 4SBsGP1C13zjD1 for ; Fri, 20 Oct 2023 17:37:01 +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 39KHb11q087433 for ; Fri, 20 Oct 2023 17:37:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39KHb1Lx087432 for pf@FreeBSD.org; Fri, 20 Oct 2023 17:37:01 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 274614] Issues with retry loop in pfctl_do_ioctl() Date: Fri, 20 Oct 2023 17:37:01 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274614 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pf@FreeBSD.org Flags| |maintainer-feedback?(pf@Fre | |eBSD.org) Assignee|bugs@FreeBSD.org |pf@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=