Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Do you know any tool that monitors apache logs for suspicious actions (for example, several blocks by mod_security from one IP) and after it blocks this IP using .htaccess?

share|improve this question
Try csf hope this will help cause it blocks the ip for offensive access against mod_security but those IP will blocked in firewall not in htaccess –  PratapSingh Dec 27 '12 at 14:36

1 Answer 1

You can take a look at fail2ban. Not sure if there is an action to ban via .htaccess, but that can be added in -- if you don't want to ban via iptables.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.