Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

etc_fail2ban_jail.local.j2 981B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [DEFAULT]
  2. ignoreip = 127.0.0.1 {{ ansible_default_ipv4.address }} {{ ' '.join(friendly_networks) }}
  3. bantime = 86400
  4. destemail = {{ admin_email }}
  5. banaction = iptables-multiport
  6. action = %(action_)s
  7. # JAILS
  8. [sshd]
  9. enabled = true
  10. maxretry = 3
  11. [pam-generic]
  12. enabled = true
  13. banaction = iptables-allports
  14. [sshd-ddos]
  15. enabled = true
  16. [apache-auth]
  17. enabled = true
  18. [apache-badbots]
  19. enabled = true
  20. [apache-botsearch]
  21. enabled = true
  22. [apache-common]
  23. enabled = true
  24. [apache-fakegooglebot]
  25. enabled = true
  26. [apache-modsecurity]
  27. enabled = true
  28. [apache-nohome]
  29. enabled = true
  30. [apache-noscript]
  31. enabled = true
  32. [apache-overflows]
  33. enabled = true
  34. [apache-pass]
  35. enabled = true
  36. [apache-shellshock]
  37. enabled = true
  38. [postfix]
  39. enabled = true
  40. maxretry = 1
  41. [dovecot-pop3imap]
  42. enabled = true
  43. filter = dovecot-pop3imap
  44. action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap,993,995", protocol=tcp]
  45. logpath = /var/log/mail.log
  46. maxretry = 20
  47. findtime = 1200
  48. bantime = 1200