From a31720f9f2b8f7e92d5e265bbe728e2756a7b7f6 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 10 Sep 2009 13:13:42 +0200 Subject: [PATCH] fail2ban: Fix some (harmless?) quoting issues. --- etc/fail2ban/jail.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/fail2ban/jail.conf b/etc/fail2ban/jail.conf index 99e5e95..c991155 100644 --- a/etc/fail2ban/jail.conf +++ b/etc/fail2ban/jail.conf @@ -55,16 +55,16 @@ protocol = tcp # Action shortcuts. To be used to define action parameter # The simplest action to take: ban only -action_ = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s] +action_ = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s"] # ban & send an e-mail with whois report to the destemail. action_mw = %(action_)s - %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s] + %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s"] # ban & send an e-mail with whois report and relevant log lines # to the destemail. action_mwl = %(action_)s - %(mta)s-whois-lines[name=%(__name__)s, dest="%(destemail)s", logpath=%(logpath)s] + %(mta)s-whois-lines[name=%(__name__)s, dest="%(destemail)s", logpath="%(logpath)s"] # Choose default action. To change, just override value of 'action' with the # interpolation to the chosen action shortcut (e.g. action_mw, action_mwl, etc) in jail.local -- 2.30.2