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.
clowwindy
e0189ab1de
|
10 years ago | |
---|---|---|
.. | ||
README.md | 10 years ago | |
autoban.py | 10 years ago |
README.md
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 as an
attack. Default is 3.
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.