Hi list!

(Warning: poor english ahead!)

This is what I need to do:

1) a user authenticates and enters my website
2) the user enters one IP-address into a form and submit it.
3) php script receive this address and save it in a file or database.
4) same php script generates a new ruleset for pf
5) pf detect changes and reload new ruleset

Step 1 - 4 is already done.  I need help with step 5.

Apache is chroot.  I could have a cron job search for a new file
every five minutes or so, but that feels like an ugly solution.

Is there any better way to signal pf to reload the new ruleset
whenever a user submits a new IP-adress?

Odd question perhaps... :-)


Mackan

Reply via email to