Created Ban Brute Force Crackers (markdown)
parent
7f19b462ee
commit
267cc357a6
1 changed files with 14 additions and 0 deletions
14
Ban-Brute-Force-Crackers.md
Normal file
14
Ban-Brute-Force-Crackers.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
Shadowsocks 2.6.2+ output the IPs that try to brute force crack your password.
|
||||
|
||||
You can use [autoban.py](https://github.com/shadowsocks/shadowsocks/tree/master/utils) to ban them.
|
||||
|
||||
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.
|
Loading…
Add table
Add a link
Reference in a new issue