add autoban

This commit is contained in:
clowwindy 2015-01-03 13:30:16 +08:00
parent bac675d7f6
commit e68b3e430b
2 changed files with 63 additions and 0 deletions

12
utils/README.md Normal file
View file

@ -0,0 +1,12 @@
Useful Tools
===========
autoban.py
----------
Automatically ban IPs that try to brute force crack the server.
python autoban.py < /var/log/shadowsocks.log
Use `-c` to specify with how many failure times it should be considered an
attack. Default is 3.