Thread: PF <tables>
View Single Post
  #7   (View Single Post)  
Old 16th July 2008
hunteronline hunteronline is offline
Fdisk Soldier
Join Date: Jul 2008
Posts: 52
Default Not Boring

Thanks Chris, I had the wrong perception of exactly what "persist" ment. I had been using the "pfctl" method of adding IPs to tables and was surprised when I found tables empty after my "test and reload".

I went back to the manpages and found:

A table can also be initialized with an address list specified in
one or more external files, using the following syntax:

table <spam> persist file "/etc/spammers" file "/etc/openrelays"
If I use an external file I need to reload the pf.conf. If I use "echo '' >> /etc/ssh-violations.txt" do I need to reload pf.conf ?(eg- pfctl -vvv -f /etc/pf.conf)
Reply With Quote