https://bugs.contribs.org/show_bug.cgi?id=10370
Terry Fage <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
CC| |[email protected]
--- Comment #5 from Terry Fage <[email protected]> ---
Verified
[root@fagehome ~]# rpm -q smeserver-fail2ban
smeserver-fail2ban-0.1.18-9.el6.sme.noarch
[root@fagehome ~]# cat /etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive
[recidive]
enabled = true
filter = recidive
logpath = /var/log/fail2ban/daemon.log
bantime = 604800
findtime = 86400
maxretry = 5
backend = polling
action = smeserver-iptables[bantime=604800]
{
$OUT .= " smeserver-sendmail[name=\"Recidive\",dest=$maildest]\n"
if ($mail eq 'enabled');
$OUT .= '';
}
[root@fagehome ~]# yum update smeserver-fail2ban --enablerepo=smetest
[root@fagehome ~]# rpm -q smeserver-fail2ban
smeserver-fail2ban-0.1.18-10.el6.sme.noarch
[root@fagehome ~]# cat /etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive
{
my $rbantime = $fail2ban{'RecidiveBanTime'} || '604800';
my $rfindtime = $fail2ban{'RecidiveFindTime'} || '86400';
my $rmaxretry = $fail2ban{'RecidiveMaxRetry'} || '5';
my $raction = 'smeserver-iptables[bantime=' . $rbantime . ']' . "\n";
$raction .= " smeserver-sendmail[name=\"Recidive\",dest=$maildest]\n"
if ($mail eq 'enabled');
$OUT .=<<"EOF";
[recidive]
enabled = true
filter = recidive
logpath = /var/log/fail2ban/daemon.log
bantime = $rbantime
findtime = $rfindtime
maxretry = $rmaxretry
backend = polling
action = $raction
EOF
}
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/