ansible-role-fail2ban/templates/etc/fail2ban/jail.local.j2
2018-10-08 19:35:13 +02:00

27 lines
824 B
Django/Jinja

[DEFAULT]
# "bantime" is the number of seconds that a host is banned.
bantime = {{ fail2ban_bantime }}
# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
findtime = {{ fail2ban_findtime }}
# Destination email address used solely for the interpolations in
# jail.{conf,local,d/*} configuration files.
{% if fail2ban_email is defined %}
destemail = {{ fail2ban_email }}
{% else %}
#destemail =
{% endif %}
# Sender email address used solely for some actions
sender = root@localhost
# Select mail mta instead of sendmail
mta = mail
# 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
# globally (section [DEFAULT]) or per specific section
action = %(action_mw)s