99-local.conf 1007 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [DEFAULT]
  2. ignoreip = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
  3. bantime = 300
  4. findtime = 3600
  5. maxretry = 10
  6. banaction = iptables-allports
  7. destemail = root@localhost
  8. sender = fail2ban@localhost.localdomain
  9. action = %(action_)s
  10. logtarget = /var/log/fail2ban/fail2ban.log
  11. apache_error_log = /var/log/apache2/*error*log
  12. apache_access_log = /var/log/apache2/*access*log
  13. [recidive]
  14. enabled = true
  15. logpath = /var/log/fail2ban/fail2ban.log
  16. action = %(action_mwl)s
  17. protocol = all
  18. bantime = 1814400 ; 3 weeks (ipset support max of 2147483 secs)
  19. findtime = 15552000 ;6 months
  20. maxretry = 30
  21. [asterisk]
  22. enabled = true
  23. logpath = /var/log/asterisk/full
  24. [freepbx]
  25. enabled = true
  26. logpath = /var/log/asterisk/freepbx_security.log
  27. [apache-auth]
  28. enabled = true
  29. [apache-badbots]
  30. enabled = true
  31. [apache-noscript]
  32. enabled = true
  33. [apache-overflows]
  34. enabled = true
  35. [apache-nohome]
  36. enabled = true
  37. [apache-botsearch]
  38. enabled = true
  39. [apache-fakegooglebot]
  40. enabled = true
  41. [apache-shellshock]
  42. enabled = true