Skip to content

Commit 0edae70

Browse files
committed
Add fail2ban filter.
Please put the shadowsocks.conf into your filter.d directory, and using `filter = shadowsocks` to use the filter.
1 parent e001f18 commit 0edae70

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/fail2ban/shadowsocks.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[Definition]
2+
3+
_daemon = shadowsocks
4+
5+
failregex = ^\s+ERROR\s+can not parse header when handling connection from <HOST>:\d+$

0 commit comments

Comments
 (0)