Ver código fonte

Only ban in response to fail2ban results

Don't mail them individually to the destemail. The destemail setting is thus no
longer used, but let's set it anyway to be clear where it will mail if you
change the action back.
Mark Paschal 11 anos atrás
pai
commit
10aff54015
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 1
- 1
roles/common/templates/etc_fail2ban_jail.local.j2 Ver arquivo

3
 bantime   = 86400
3
 bantime   = 86400
4
 destemail = {{ admin_email }}
4
 destemail = {{ admin_email }}
5
 banaction = iptables-multiport
5
 banaction = iptables-multiport
6
-action    = %(action_mwl)s
6
+action    = %(action_)s
7
 
7
 
8
 # JAILS
8
 # JAILS
9
 [ssh]
9
 [ssh]

Carregando…
Cancelar
Salvar