Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2026 09:38:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 291763] pfctl: loginterface packet counts for pass/block swapped; byte counts all 0
Message-ID:  <bug-291763-16861-Z8dw4rPjeo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291763-16861@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291763

--- Comment #6 from Kristof Provost <kp@freebsd.org> ---
(In reply to eborisch+FreeBSD from comment #5)
15 still has the bug where the pcounters array is too big, but that's been
fixed in main. Other than a little wasted memory this does not matter.

I also don't understand why you think pf_getstatus() demonstrates different,
because it clearly treats the array as a 2 * 2 * 2 as well.
Note also that pf_getstatus() implements the nvlist based method for retrieving
these counters, which is not what pfctl uses in 15. It uses the netlink
interface instead.

It's also interesting to look at pfi_update_status(), where pcounters is
populated, which also treats it as a 2 * 2 * 2 array.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291763-16861-Z8dw4rPjeo>