Add fail2ban filter.
Please put the shadowsocks.conf into your filter.d directory, and using `filter = shadowsocks` to use the filter.
This commit is contained in:
parent
e001f1818c
commit
0edae7069f
1 changed files with 5 additions and 0 deletions
5
utils/fail2ban/shadowsocks.conf
Normal file
5
utils/fail2ban/shadowsocks.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Definition]
|
||||
|
||||
_daemon = shadowsocks
|
||||
|
||||
failregex = ^\s+ERROR\s+can not parse header when handling connection from <HOST>:\d+$
|
Loading…
Reference in a new issue