[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 04:37:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290478
--- Comment #21 from commit-hook@FreeBSD.org ---
A commit in branch releng/15.0 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b39a387442db422ff3e962a440cf7dc7ec277df3
commit b39a387442db422ff3e962a440cf7dc7ec277df3
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-10-25 09:19:18 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-30 04:36:20 +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.
Approved by: re (cperciva)
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)
(cherry picked from commit 1c8a554f757de06f64e6fd0d86fc674a215ee314)
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.