[Bug 297839] pf: "pfctl -a 'someanchor/*' -sr" is non-functional

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Aug 2026 13:29:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297839

--- Comment #2 from Lexi Winter <ivy@FreeBSD.org> ---
i could reproduce this on main (57775b3be6be, from today) with this pf.conf:

--->o---
pass in no state
pass out no state

anchor "test/*"
--->o---

for example:

--->o---
# pfctl -s rules
pass in all no state
pass out all no state
anchor "test/*" all

# echo 'pass in' | pfctl -a test/testing -f -

# pfctl -a '*' -sr
pass in all no state
pass out all no state
anchor "test/*" all {
  anchor "testing" all {
    pass in all flags S/SA keep state
  }
}

# pfctl -a 'test/*' -sr
#
--->o---

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