https://bugs.koozali.org/show_bug.cgi?id=11843
Bug ID: 11843
Summary: WARNING Command ['status', 'ftp'] has failed.
Classification: Contribs
Product: SME Contribs
Version: 10.0
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-fail2ban
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Seen in log :
2022-01-08 01:12:02,881 fail2ban.transmitter [1072]: WARNING Command
['status', 'ftp'] has failed. Received UnknownJailException('ftp',)
Seen in template :
cat /etc/e-smith/templates/etc/fail2ban/jail.conf/30Service45ftp
{
my $port = $ftp{'TCPPort'} || '21';
my $status = $ftp{'status'} || 'disabled';
my $f2b = $ftp{'Fail2Ban'} || 'enabled';
return "" if (($status ne 'enabled') || ($f2b ne 'enabled'));
# add the data channel port
$port .= ',20';
$OUT .=<<"EOF";
[ftp]
enabled = true
filter = proftpd
logpath = /var/log/secure
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"FTP\",dest=$maildest]\n"
if ($mail eq 'enabled');
}
--
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/