[Bug 290478] PF: anchors are not displayed correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Oct 2025 12:30:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290478

            Bug ID: 290478
           Summary: PF: anchors are not displayed correctly
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl

While testing migration from blacklistd to blocklistd, I found that anchors are
not listed correctly by the command "pf -sA". In the past, they were not listed
recursively; however, at least the parent anchors were displayed. Now, only the
first anchor with its first subanchor shows up:

# pfctl -a blocklistd -sA
  25
pfctl: Anchor does not exist.

But, for example, such anchors do exist:

# pfctl -a blocklistd/25 -sr
block drop in quick proto tcp from <port25> to any port = smtp
# pfctl -a blocklistd/465 -sr
block drop in quick proto tcp from <port465> to any port = smtps

-- 
You are receiving this mail because:
You are the assignee for the bug.