diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service10ssh b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service10ssh index 84f6df0..67c5192 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service10ssh +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service10ssh @@ -1,7 +1,7 @@ { my $port = $sshd{'TCPPort'} || '22'; -my $status = $sshd{'status'} || 'enabled'; +my $status = $sshd{'status'} || 'disabled'; return "" if ($status ne 'enabled'); $OUT .=<<"EOF"; diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service15dovecot b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service15dovecot index 453cb5b..499d478 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service15dovecot +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service15dovecot @@ -1,6 +1,6 @@ { -my $status = $dovecot{'status'} || 'enabled'; +my $status = $dovecot{'status'} || 'disabled'; return "" if ($status ne 'enabled'); my @ports = (); push @ports, ($imap{'TCPPort'} || '143') 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 f873be8..4803f47 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd @@ -1,6 +1,6 @@ { -my $status = ${'httpd-e-smith'}{'status'} || 'enabled'; +my $status = ${'httpd-e-smith'}{'status'} || 'disabled'; return "" if ($status ne 'enabled'); my @ports = (); push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');