summaryrefslogtreecommitdiff
path: root/deprecated-ngircd/contrib/ngircd-fail2ban.conf
blob: c9903e0c5e7da6ad84d8d40c6eb6ed69de3d941b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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