Python port of ShadowsocksR
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
423 B

10 years ago
Useful Tools
===========
autoban.py
----------
Automatically ban IPs that try to brute force crack the server.
python autoban.py < /var/log/shadowsocks.log
10 years ago
Use `-c` to specify with how many failure times it should be considered as an
10 years ago
attack. Default is 3.
10 years ago
To continue watching for the log file:
nohup tail -f /var/log/shadowsocks.log | python autoban.py >log 2>log &
Use with caution. Avoid to ban yourself.