fail2ban.jail.conf 710 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [ssh-iptables]
  2. enabled = true
  3. filter = sshd
  4. action = vesta[name=SSH]
  5. logpath = /var/log/secure
  6. maxretry = 5
  7. [vsftpd-iptables]
  8. enabled = false
  9. filter = vsftpd
  10. action = vesta[name=FTP]
  11. logpath = /var/log/vsftpd.log
  12. maxretry = 5
  13. [exim-iptables]
  14. enabled = true
  15. filter = exim
  16. action = vesta[name=MAIL]
  17. logpath = /var/log/exim/main.log
  18. [dovecot-iptables]
  19. enabled = true
  20. filter = dovecot
  21. action = vesta[name=MAIL]
  22. logpath = /var/log/dovecot.log
  23. [mysqld-iptables]
  24. enabled = false
  25. filter = mysqld-auth
  26. action = vesta[name=DB]
  27. logpath = /var/log/mysqld.log
  28. maxretry = 5
  29. [vesta-iptables]
  30. enabled = true
  31. filter = vesta
  32. action = vesta[name=VESTA]
  33. logpath = /var/log/vesta/auth.log
  34. maxretry = 5