Pārlūkot izejas kodu

added pop3s and imaps ports to fail2ban.

Otherwise only pop and imap (un-secured) are blocked.
Which we don't use.
Joost Baaij 11 gadus atpakaļ
vecāks
revīzija
715399a2f1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 1
- 1
roles/common/templates/etc_fail2ban_jail.local.j2 Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt