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)
Sat, Jan 18, 5:17 PM
Unknown Object (File)
Sun, Jan 12, 2:50 PM
Unknown Object (File)
Nov 15 2024, 12:50 AM
Unknown Object (File)
Nov 4 2024, 11:58 AM
Unknown Object (File)
Oct 18 2024, 5:26 AM
Unknown Object (File)
Oct 17 2024, 7:12 PM
Unknown Object (File)
Oct 5 2024, 4:15 AM
Unknown Object (File)
Oct 2 2024, 6:32 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38534
Build 35423: arc lint + arc unit