Ver código fonte

added pop3s and imaps ports to fail2ban.

Otherwise only pop and imap (un-secured) are blocked.
Which we don't use.
Joost Baaij 10 anos atrás
pai
commit
715399a2f1
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

@@ -27,7 +27,7 @@ maxretry = 1
27 27
 [dovecot-pop3imap]
28 28
 enabled = true
29 29
 filter = dovecot-pop3imap
30
-action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap", protocol=tcp]
30
+action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap,993,995", protocol=tcp]
31 31
 logpath = /var/log/maillog
32 32
 maxretry = 20
33 33
 findtime = 1200

Carregando…
Cancelar
Salvar