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:
Yifu Yu 2015-06-21 00:56:55 +08:00
parent e001f1818c
commit 0edae7069f
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[Definition]
_daemon = shadowsocks
failregex = ^\s+ERROR\s+can not parse header when handling connection from <HOST>:\d+$