View Single Post
  #1   (View Single Post)  
Old 2nd February 2009
ijk ijk is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 47
Default pf flush persist file

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
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5
Reply With Quote