X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Ffail2ban%2Fjail.conf;h=c991155b083eae8471c62cb5f2266c2d2cea8986;hb=a31720f9f2b8f7e92d5e265bbe728e2756a7b7f6;hp=99e5e95e0f8371da73061eb3cf7c8a316f4716bf;hpb=8d552fd22da25c980e0328593928f1c0fdb15ea0;p=matthijs%2Fservers%2Fdrsnuggles.git 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