From nobody Sun Apr 10 13:26:05 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 5E7441A8DDA6 for ; Sun, 10 Apr 2022 13:26:06 +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 4Kbt6Q0Yr4z4v7B for ; Sun, 10 Apr 2022 13:26:06 +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 E4091744E for ; Sun, 10 Apr 2022 13:26:05 +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 23ADQ5VO068618 for ; Sun, 10 Apr 2022 13:26:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23ADQ5ZH068617 for bugs@FreeBSD.org; Sun, 10 Apr 2022 13:26:05 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][patch] Anchor "blacklistd/*" not correctly shown in pfctl -a \* -s rules Date: Sun, 10 Apr 2022 13:26:05 +0000 X-Bugzilla-Reason: AssignedTo 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: matteo@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=1649597166; 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=eU0kmyrRbMFXSbWweOHEqoKJRAxa6RoQAGPqOWibzGU=; b=DTrmyQZhZTLAeCJbBvMC9J0pERd5nYlSkJJD9Ja8PZRDBhZCBuZDl5CeUK+b1HYAkqrRu3 1rLjka3ta0xEi1TUeAD2TpopOKUfJkUlx3JvKwDA8xItfOh5cenWzlQfeAzcmeyh5YJzyB vG/SQg40aAjNjH7Q/gsqHtFkvyj5VtIFhg29QyLaIR1rN+hVrf+kOWvus/COubS9dA1aRf 9sGqnhpeiIZV/YM9ci8UXcNPkl21j2U0iUGSsBYFmHBrmaQwy1zcavtOtY0fcEoCEXWOMd SvYfRqeMUNOiuZL4wF2XVOk8ZmafP3ZWF+eYucKCUyNvcSS7fd0gJ8w11rFg7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649597166; a=rsa-sha256; cv=none; b=etkmRmqM1nB0ZbrgxeHqjnjJV8/EaOfQdNlbtK4LvQ9NVsP8jdzp7IV8ACm3dE3nThNRL4 0duaa9jd7y8WcGn38K/JdfKPwE8N6zcWJHOX2CwFkCDxs5d0+xSNWuM1qATitSRufSRXF4 uKYrcA1+oYD+QCnye1VG+v5P1TDUwiHm01yesAngd8eFl5TOTnXizpmZS+DU4Vrm1MowLZ eNId62C2GthoUEZntfFf6B2FRb7z2gAymiYjhMQcy3xfSCklp7rwahuUqLzPHv/5bSAtIy gASAKNFZQU8lJZmQOhz56pJguE+1WBmQHztCI7FJ+LojVg4YH7OB8JhbJ6KtWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262590 --- Comment #11 from Matteo Riondato --- (In reply to Kristof Provost from comment #10) Hi Kristof, Can you please tell me how you think the output of the test case I give in = #5 should be printed? In my opinion, when using "pfctl -a \* -s rules", it should be printed as follows: pass all flags S/SA keep state anchor "parent" all { block drop in proto udp from any to any port =3D 23456 anchor "child" all { block drop in proto icmp } block drop in proto tcp from any to any port =3D 34567 } block drop in proto tcp from any to any port =3D 12345 You seem to think that it should not be printed like the above, and I don't understand why, so I'd like to understand how you think it should be printe= d. Right now the test case fails to print (in the sense that there are errors emitted when recursing into the parent anchor, see #5), and I don't think it should. Thanks, Matteo --=20 You are receiving this mail because: You are the assignee for the bug.=