Skip to content

Commit

Permalink
Add fail2ban filter.
Browse files Browse the repository at this point in the history
Please put the shadowsocks.conf into your filter.d directory, and
using `filter = shadowsocks` to use the filter.
  • Loading branch information
jackyyf committed Jun 20, 2015
1 parent e001f18 commit 0edae70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/fail2ban/shadowsocks.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Definition]

_daemon = shadowsocks

failregex = ^\s+ERROR\s+can not parse header when handling connection from <HOST>:\d+$

0 comments on commit 0edae70

Please sign in to comment.