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 25, 7:48 PM
Unknown Object (File)
Sat, Jan 25, 5:34 PM
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
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