Page MenuHomeFreeBSD

pfctl: Fix clearing rules counters
ClosedPublic

Authored by kp on Apr 12 2021, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 28, 7:09 PM
Unknown Object (File)
Feb 23 2025, 11:29 AM
Unknown Object (File)
Feb 8 2025, 1:22 AM
Unknown Object (File)
Feb 7 2025, 8:00 AM
Unknown Object (File)
Feb 3 2025, 7:21 PM
Unknown Object (File)
Jan 31 2025, 4:13 AM
Unknown Object (File)
Jan 25 2025, 7:48 PM
Unknown Object (File)
Jan 25 2025, 5:34 PM
Subscribers

Details

Summary

After the migration to libpfctl for rule retrieval we accidentally lost
support for clearing the rules counters.

Introduce a get_clear variant of pfctl_get_rule() which allows rules
counters to be cleared.

MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable