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:
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+$
|
Reference in New Issue
Block a user