5 ms·
My little server just hums along, and I haven't checked fail2ban status recently. sudo fail2ban-client status | sed -n '/Jail list:/{s/^.*://; s/,//g; p}'
by xelxebar 1y ago
My little server just hums along, and I haven't checked fail2ban status recently.
sudo fail2ban-client status | sed -n '/Jail list:/{s/^.*://; s/,//g; p}' | xargs -n1 sudo fail2ban-client status | awk '/jail:/{i=$5}; /Total failed:/{jail[i]=$5}; END{for(i in jail) printf("%s: %s\n", i, jail[i])}' | column -t
sshd-ddos: 0
postfix: 583
dovecot: 9690
postfix-sasl: 4227
nginx-botsearch: 1421
nginx-http-auth: 0
postfix-botnet: 5425
sshd: 202157
Yikes! 220,000 banned IPs...
- reconnecting 1y agoWe have one bot identified as 'DotBot/1.2' that, as of today, has made over 220,000 requests in the past two weeks.It randomly requests filenames and folders from the web server. I'm not banning it out of curiosity, to see if there's a limit to how deep it digs.