Have a file which stores brute force ipaddresses in .
table <brute> persist file "/pathto/brutelist"
the persist file that is brutelist has grown in size.
I would like to periodically flush all entires using a cron job how do i do it.
The commands below donot work
Code:
pfctl -t brute -T flush
pfctl -t /pathto/brutelist -T flush
pfctl -t bruteforce -T expire 86400
the file brutelist remains unchanged. As the above commands delete entires in the pf table but not from the persist file.
how do i periodically flush the persist file.
thanks