diff common/fail2ban/jail.local @ 6:b7c30595c97a

Add "Shellshock" exploit Fail2ban rule
author IBBoard <dev@ibboard.co.uk>
date Sun, 28 Sep 2014 08:03:46 +0000
parents 956e484adc12
children 1bb941522ebf
line wrap: on
line diff
--- a/common/fail2ban/jail.local	Sat Aug 30 10:05:08 2014 +0000
+++ b/common/fail2ban/jail.local	Sun Sep 28 08:03:46 2014 +0000
@@ -79,3 +79,12 @@
 logpath = /var/log/maillog
 findtime = 604800
 bantime  = 604800
+
+[shellshock]
+enabled = true
+maxretry = 1
+filter = ibb-apache-shellshock
+action = apf[name=Shellshock]
+logpath = /var/log/apache/access_*.log
+findtime = 604800
+bantime  = 604800