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)
Mon, Nov 4, 11:58 AM
Unknown Object (File)
Fri, Oct 18, 5:26 AM
Unknown Object (File)
Thu, Oct 17, 7:12 PM
Unknown Object (File)
Oct 5 2024, 4:15 AM
Unknown Object (File)
Oct 2 2024, 6:32 PM
Unknown Object (File)
Oct 2 2024, 2:18 PM
Unknown Object (File)
Oct 2 2024, 10:10 AM
Unknown Object (File)
Oct 2 2024, 6:22 AM
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