From 756a93cb37a247171fdf962553355f80add3ee60 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 24 Jul 2015 09:41:22 +0200 Subject: [PATCH] Add missing $OUT .=<<"EOF"; statements --- root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd | 6 ++++++ 1 file changed, 6 insertions(+) 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