How many times are fw rules processed?
-
Is there any way to see how many times a firewall rule is used?
It would be awesome if I could this so that I could optimize my ruleset moving the most used rules to the top.
Thanks and 2.0 is frigin awesome!
-
There might be a better way to do this, but… You could set the rules in question to log packets and then grep the log files after a day or a week or so.
-
Honestly unless you have hundreds of rules, this is not a productive use of your time…
-
Honestly unless you have hundreds of rules, this is not a productive use of your time…
Exactly, we have hundreds and hundreds.
-
pfctl -vsr
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.