Add missing $OUT .=<<"EOF"; statements

tags/0.1.12_el6 0.1.12_el6
Daniel Berteaud 9 years ago
parent 07c989d8ce
commit 756a93cb37
  1. 6
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd

@ -56,6 +56,8 @@ EOF
$OUT .= " smeserver-sendmail[name=\"Apache (auth)\",dest=$maildest]\n" $OUT .= " smeserver-sendmail[name=\"Apache (auth)\",dest=$maildest]\n"
if ($mail eq 'enabled'); if ($mail eq 'enabled');
$OUT .=<<"EOF";
[http-badbots] [http-badbots]
enabled = true enabled = true
filter = apache-badbots filter = apache-badbots
@ -66,6 +68,8 @@ EOF
$OUT .= " smeserver-sendmail[name=\"Apache (badbots)\",dest=$maildest]\n" $OUT .= " smeserver-sendmail[name=\"Apache (badbots)\",dest=$maildest]\n"
if ($mail eq 'enabled'); if ($mail eq 'enabled');
$OUT .=<<"EOF";
[http-shellshock] [http-shellshock]
enabled = true enabled = true
filter = apache-shellshock filter = apache-shellshock
@ -76,6 +80,8 @@ EOF
$OUT .= " smeserver-sendmail[name=\"Apache (shellshock)\",dest=$maildest]\n" $OUT .= " smeserver-sendmail[name=\"Apache (shellshock)\",dest=$maildest]\n"
if ($mail eq 'enabled'); if ($mail eq 'enabled');
$OUT .=<<"EOF";
[http-fakegooglebot] [http-fakegooglebot]
enabled = true enabled = true
filter = apache-fakegooglebot filter = apache-fakegooglebot

Loading…
Cancel
Save