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"
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

Loading…
Cancel
Save