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)
Mar 18 2024, 7:11 PM
Unknown Object (File)
Mar 18 2024, 5:12 PM
Unknown Object (File)
Feb 10 2024, 5:09 PM
Unknown Object (File)
Jan 5 2024, 5:43 PM
Unknown Object (File)
Dec 25 2023, 5:09 PM
Unknown Object (File)
Dec 20 2023, 4:06 AM
Unknown Object (File)
Dec 19 2023, 1:44 AM
Unknown Object (File)
Sep 17 2023, 6:19 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