[Bug 290478] pf(1): anchors are not listed correctly when nested anchors exist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Oct 2025 11:49:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290478
--- Comment #18 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=a943a96a50ba7e9d1e1935bdd18df0e11d158acb
commit a943a96a50ba7e9d1e1935bdd18df0e11d158acb
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-10-25 09:19:18 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-10-28 11:29:19 +0000
libpfctl: Fix displaying deeply nested anchors
Set the number of rulesets (i.e., anchors) directly attached to the
anchor and its path in pfctl_get_ruleset().
While here, add a test to document this behavior.
PR: 290478
Reviewed by: kp
Fixes: 041ce1d690f1 ("pfctl: recursively flush rules and tables")
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D53358
lib/libpfctl/libpfctl.c | 3 +++
tests/sys/netpfil/pf/anchor.sh | 46 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.