From: Matthijs Kooijman Date: Thu, 10 Sep 2009 11:13:42 +0000 (+0200) Subject: fail2ban: Fix some (harmless?) quoting issues. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=a31720f9f2b8f7e92d5e265bbe728e2756a7b7f6;p=matthijs%2Fservers%2Fdrsnuggles.git fail2ban: Fix some (harmless?) quoting issues. --- 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