diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions index 1d551ae..e45b7b5 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions @@ -1,5 +1,5 @@ { -our $action = "action = smeserver[port=\"\", protocol=, bantime=]"; +our $action = "action = smeserver[port=\"\", protocol=, bantime=]"; if (($fail2ban{'Mail'} || 'disabled') eq 'enabled'){ my $dest = $fail2ban{'MailRecipient'} || 'root'; $action .= " sendmail[name=, dest=$dest]\n"; diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam index 3794ef4..861693c 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam @@ -3,6 +3,6 @@ enabled = true filter = pam-generic name = = pam-generic -$action +{"$action"} logpath = /var/log/secure diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive index c8504f2..40ecfdb 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive @@ -7,4 +7,4 @@ bantime = 604800 findtime = 86400 maxretry = 5 backend = polling -$action +{"$action"}