elgg.conf 902 B

123456789101112131415161718192021222324252627282930313233
  1. # Elgg Fail2Ban configuration file
  2. #
  3. # Author: Marcus Povey <marcus@marcus-povey.co.uk>
  4. # This config is modified from WP fail2ban by
  5. # Charles Lecklider (https://charles.lecklider.org/wordpress/wp-fail2ban/)
  6. #
  7. [INCLUDES]
  8. # Read common prefixes. If any customizations available -- read them from
  9. # common.local
  10. before = common.conf
  11. [Definition]
  12. _daemon = elgg
  13. # Option: failregex
  14. # Notes.: regex to match the password failures messages in the logfile. The
  15. # host must be matched by a group named "host". The tag "<HOST>" can
  16. # be used for standard IP/hostname matching and is only an alias for
  17. # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
  18. # Values: TEXT
  19. #
  20. failregex = ^%(__prefix_line)sAuthentication failure for .* from <HOST>$
  21. # Option: ignoreregex
  22. # Notes.: regex to ignore. If this regex matches, the line is ignored.
  23. # Values: TEXT
  24. #
  25. ignoreregex =