25 minutes ago · Tech · hide

I use a handful of hosted linux servers. Virtual machines a.k.a. VPS. Yesterday I looked at the failed ssh logins on these machines. One of them had, over the past year, withstood attacks from nearly 1,000 different IPs. So, I decided to reiterate on a previous solution: a cron'd script extracts the IPs from failed ssh logins, stores them in a sqlite database, and updates the /etc/host.deny with these naughty IPs: "SELECT 'ALL: ' || ip FROM naughty" >> /etc/hosts.deny Simple. Efficient. Then I checked http/s... Over 8,000 different IPs have tried to hack the server in the past year. That's a 60% increase in less than 3 years, and obviously an increase in energy and infrastructure costs that we all feel pay for in our mobile data and fixed broadband. There's definitely no limit to stupidity. Same script, a couple more lines to scan nginx and apache logs, same conclusion. At the same time, I am going back to designing offline web apps whose public pages are generated as static and scp'd…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town