It would be nice to have pre start and post start hook scripts.
It shouldn't be hard to implement two extra variables in csf.conf to hold path to executable scripts which would run prior to starting and post csf startup.
They could be used to gather some statistical data, implement custom firewall rules outside csf's scope and so on...
pre|post start hook scripts
-
- Junior Member
- Posts: 6
- Joined: 05 Mar 2010, 10:33
Re: pre|post start hook scripts
I vote for custom firewall rules!
Re: pre|post start hook scripts
That feature has been available in csf for a long time. Look for csfpre.sh and csfpost.sh in the readme.txt documentation.