1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-01-31 09:44:44 +00:00
ngircd/contrib/ngircd-fail2ban.conf

26 lines
408 B
Plaintext
Raw Normal View History

# Fail2ban filter for ngIRCd
#
# Put into /etc/fail2ban/filter.d/ngircd.conf and enable in your jail.local
# configuration like this:
#
# [ngircd]
# enabled = true
# backend = systemd
#
[INCLUDES]
before = common.conf
[DEFAULT]
_daemon = ngircd
[Definition]
failregex = ^%(__prefix_line)sRefused connection from <ADDR> on socket \d+:
[Init]
journalmatch = _SYSTEMD_UNIT=ngircd.service + _COMM=ngircd