ngircd-fail2ban.conf 408 B

12345678910111213141516171819202122232425
  1. # Fail2ban filter for ngIRCd
  2. #
  3. # Put into /etc/fail2ban/filter.d/ngircd.conf and enable in your jail.local
  4. # configuration like this:
  5. #
  6. # [ngircd]
  7. # enabled = true
  8. # backend = systemd
  9. #
  10. [INCLUDES]
  11. before = common.conf
  12. [DEFAULT]
  13. _daemon = ngircd
  14. [Definition]
  15. failregex = ^%(__prefix_line)sRefused connection from <ADDR> on socket \d+:
  16. [Init]
  17. journalmatch = _SYSTEMD_UNIT=ngircd.service + _COMM=ngircd