Individual Entry Archive
Navigation
- Previous Post: Boston Photo Blitz
- Next Post: So Digital, yet so Secure
blacklist_to_modsec 1.6
I’ve released blacklist_to_modsec 1.6 tonight, with a couple nifty and useful updates.
- Added functionality to run a sequence of user-specified commands to restart your Apache server, if desired. This is useful if you are running mod_security within your main Apache config file, since Apache must be restarted to read changes in external files.
- Added functionality to force a MT-Blacklist master update, to make sure that your MTB database has the freshest rules before blacklist_to_modsec queries it. This is useful if, for whatever reason, your MTB database doesn’t regularly update itself. This also runs in the foreground, so it’s useful if you can’t have LaunchBackgroundTasks enabled for some reason. Use the -u switch to use this feature.
- Cleaned up and clearly labeled the user-configurable settings in the code.
- Changed the $make_backup variable into a command-line switch. NOTE: make sure that you are aware of this, and run with the -b switch if you want rule file backups!
- Cleaned up the documentation a bit.
For more information on these updates, and to download the new code, go here.
P.S. In the future, I’ll probably use an external configuration file so that you don’t have to re-enter your config variables when upgrading the script. For now - sorry for the inconvenience.
By Peter | 03.14.2005 | 08:30 PM | Permalink | Categories: Blacklist To Modsec | 4 Comments
