[Bug 297839] pf: "pfctl -a 'someanchor/*' -sr" is non-functional
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 297839] pf: "pfctl -a 'someanchor/*' -sr" is non-functional"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Aug 2026 12:25:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297839
Kristof Provost <kp@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kp@freebsd.org
--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
That's odd. I can't seem to reproduce this:
$ cat pf.conf
anchor "jail" {
anchor "one" {
pass label "jailone"
}
anchor "two" {
pass label "jailtwo"
}
}
pass
$ sudo pfctl -sr
anchor "jail" all
pass all flags S/SA keep state
$ sudo pfctl -sr -a "*"
anchor "jail" all {
anchor "one" all {
pass all flags S/SA keep state label "jailone"
}
anchor "two" all {
pass all flags S/SA keep state label "jailtwo"
}
}
pass all flags S/SA keep state
$ sudo pfctl -sr -a "jail/one"
pass all flags S/SA keep state label "jailone"
$ sudo pfctl -sr -a "jail/two"
pass all flags S/SA keep state label "jailtwo"
$ sudo pfctl -sr -a "jail/*"
anchor "one" all {
pass all flags S/SA keep state label "jailone"
}
anchor "two" all {
pass all flags S/SA keep state label "jailtwo"
}
What's your pf.conf? (I've also tried having 'anchor "jail/*"' in my pf.conf
and populating the anchors separately, but that also seems to just work.
--
You are receiving this mail because:
You are the assignee for the bug.