[Bug 290478] pf(1): anchors are not listed correctly when nested anchors exist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 01:52:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290478
--- Comment #19 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=1c8a554f757de06f64e6fd0d86fc674a215ee314
commit 1c8a554f757de06f64e6fd0d86fc674a215ee314
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-30 01:48:03 +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
(cherry picked from commit a943a96a50ba7e9d1e1935bdd18df0e11d158acb)
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.