Gregory Edigarov wrote:
On Thu, 29 Apr 2010 10:15:08 -0300
Leonardo Carneiro - Veltrac <[email protected]> wrote:

Hello everyone.

I have a table in my pf.conf:

table <ips_allowed> persist const file "/etc/pf.conf.d/ips_allowed"

If I add or remove IPs from this file mannualy, will the firewall be aware of such changes or do i need to reload pf? Also, pf do map this file in memory or does it read from the disk for every packet?

Tks in advance and sorry for my poor english

Please read the manual page.
you will need to do something like:

pfctl -Treplace -tips_allowed

in order to reload your table
Hi Gregory and others,

I have read the documentation and i was aware that i can reload just the table instead the hole firewall, what i did not know was if pf could "sense" the changes in the file.

But tks for the tips anyway.

Reply via email to