From nobody Thu Mar 17 21:57:52 2022 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 BB5F11A2A743 for ; Thu, 17 Mar 2022 21:57:52 +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 4KKLc03FFkz4RWV for ; Thu, 17 Mar 2022 21:57:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4F36012D73 for ; Thu, 17 Mar 2022 21:57:52 +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 22HLvqu1065409 for ; Thu, 17 Mar 2022 21:57:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22HLvq0k065408 for bugs@FreeBSD.org; Thu, 17 Mar 2022 21:57:52 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 262590] [pf] Anchor "blacklistd/*" not correctly shown in pfctl -a \* -s rules Date: Thu, 17 Mar 2022 21:57:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647554272; 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=78VR06acZ76nyxtZ+vZ3hg7Xpizsh/gKyD3uGbPx0y8=; b=osqUJbOSVeQ0e9JBkpmjJjBuSUVYhvgjdtQAcJrOg4cG/Nc2y5Y/2tfY9Y2cL7TkLPteyU V3qgISvIUG8LrrMI90o563rmGHJPmdXLLTMxfOdUM6Xng4FaUmqcnam/HkqcrlpeCQmRTY iGw4CHo3SCrIcax1/FKjAQcoApEyt7s7xT8Pi2TUik2zI8r+ap1fVbLpjZuWs1/hSBVr1E L6fsTLT3F1zCFkcxe8jatFHZzAmKkU+WyGWCz0DAi/KUrvFZxYFgYqqOsK3QhjhicX8Xjb qQem08QILhNCM0qFyh9A344iCvi/IMryiHXQAwFoEu0TKRJjjB7qHzcT8QZmBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647554272; a=rsa-sha256; cv=none; b=hw//odJGE8q+zgRq2TT6O3HyBs3/JlEnddiQyUSzvlWBTNzusFe2edm1Ba/hOFxFlnqRSq 1GT+DAka99k3g6MJJlfnM4FFvhqLC7aM679kbwdNIHUeCwzhNKcDyYe++QhG9FrnmWthk+ IszRfsImOfxsPpFX04msyMdHHEmE6xR4GNOyInWyniq6Rk99hHCMYK2vPBufRCDhWCoip5 d5EdyFdWlUv3ahdFk/+dJ+aSyA/CudVbEYnI9egwMe1ygp4GhpNzCE7NDcrnzsoHjcPwSQ x2pLSufFN9mls7qYWJg+/TzkevUnBZ3ApH4vXewmxfaHXaPK6xANCdI6Ue0lng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262590 --- Comment #4 from Kristof Provost --- Can you re-test post 3c3a19d1f42af049e798b193d4fd2a872c7c8fec ? This appear= s to be working now. At least, with a test case where I set these rules: anchor "blacklist" { anchor "foo" { pass in from 1.2.3.4 } } pfctl -sA -a "blacklist" produces blacklist/foo pfctl -sr -a "blacklist/*" produces anchor "foo" all { pass in inet from 1.2.3.4 to any flags S/SA keep state } pfctl -sr -a "blacklist/foo" produces pass in inet from 1.2.3.4 to any flags S/SA keep state and pfctl -sr -a "*" produces anchor "blacklist" all { anchor "foo" all { pass in inet from 1.2.3.4 to any flags S/SA keep state } } That all appears to be correct. --=20 You are receiving this mail because: You are the assignee for the bug.=