diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd index 93c15dc..15e122b 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd @@ -56,6 +56,8 @@ EOF $OUT .= " smeserver-sendmail[name=\"Apache (auth)\",dest=$maildest]\n" if ($mail eq 'enabled'); +$OUT .=<<"EOF"; + [http-badbots] enabled = true filter = apache-badbots @@ -66,6 +68,8 @@ EOF $OUT .= " smeserver-sendmail[name=\"Apache (badbots)\",dest=$maildest]\n" if ($mail eq 'enabled'); +$OUT .=<<"EOF"; + [http-shellshock] enabled = true filter = apache-shellshock @@ -76,6 +80,8 @@ EOF $OUT .= " smeserver-sendmail[name=\"Apache (shellshock)\",dest=$maildest]\n" if ($mail eq 'enabled'); +$OUT .=<<"EOF"; + [http-fakegooglebot] enabled = true filter = apache-fakegooglebot