[Bug 291763] pfctl: loginterface packet counts for pass/block swapped; byte counts all 0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Feb 2026 20:40:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291763
--- Comment #8 from eborisch+FreeBSD@gmail.com ---
Hrm. Even with my suggested array-size-munging loops (to match
pfi_update_status()),
the bytes in/bytes remain stuck at zero.
The Packets Out Passed/Blocked are correct, at least:
# pfctl -s info
Status: Enabled for 0 days 00:06:13 Debug: Urgent
Interface Stats for vtnet0 IPv4 IPv6
Bytes In 0 0
Bytes Out 0 0
Packets In
Passed 19899 0
Blocked 0 0
Packets Out
Passed 10480 0
Blocked 1 0
I've verified the bytes counts are set (non-zero) in pf_status.bcounters when
pfi_update_status() is called, but they aren't making it through -- zeros in
pfctl_status.bcounters immediately before return in pfctl_get_status_h().
--
You are receiving this mail because:
You are the assignee for the bug.