Happens. Statistics are hard.
Fail2ban is great to at least stem the tide. It's good at slowing down SSH brute forcing, and can be set up to throttle poorly behaved scrapers so your site isn't getting hammered constantly. If you can deal with the inconvenience, it's even better to put services that don't need to be truly public behind an IP whitelist. That stops the vast majority of malicious traffic, most of which is going after the low hanging fruit anyway.
Otherwise, it's kinda just a fact of life. With the good traffic also comes the bad.
Yes. The thing is about the IPv4 space is that it’s really not that big (3,706,452,992 public addresses) so it’s pretty trivial to poke every single one esp if you fine tune your port list.
The most common advice is to hide your private services. Instead of using port 22 for ssh use 23231 instead. It’s a little more annoying but you can also use port knocking. So to open port 22 (or what ever port you like) first you got to poke port 23123 then 7654 then port 39212 within a short period of time then the port knocking software will open up port 22. (Or a combo of both change default port and port knocking)
It won’t stop people “ringing the door bell” to see if anyone is home, but it will help with the then trying to brute force pass the login prompt.
If you've disabled password logins then just don't worry about it. fail2ban is overkill you can rate limit with firewalld or iptables withou needing extra tools.
Changing the ssh port to something in the 50_000 range drastically reduced the number of attempts and left my logs much cleaner :).
Is it normal for a very private vps to receive thousands of ssh attempts per hour?
Well, I haven't bothered looking in a long time. But, back when I first got a cable modem back in the late 90's the malicious access attempts filled up my hard drive in just a couple of weeks. I don't remember the size of the HD, but I can only imagine the situation has gotten much, much worse since then.It's affecting us for real. Making almost our whole service - serpapi.com - down. As we are storing database files on block storage volumes.
However, since several HN users are expressing that this issue is genuinely affecting them, I've turned off flags on the OP about this and merged the comments here.
Then the status page changed and as things got worse, the dashboard page got an announcement as well.
I would wonder - as others suggested - that they may have stretched the cluster across datacenters ?!
Would be interested in the post-mortem.
Literally thousands if not millions of organisations operate multi-DC infrastructure across the planet.
Is it harder than setting up a single box in one DC? Yes. Is it harder than setting up a mini-cluster of boxes in one DC? Yes. Is it rocket science? No.
(the same url)
https://bitbucket.status.atlassian.com/incidents/4t1pkwrdtl8...
i'm curious about the slack integration. can you provide some more info on what that looks like? eg. just a message in real-time when it goes down? a daily message of statuses? etc. Any sort of customization w/ it?
I currently use a soup of zapier zaps to take care of this problem.
Message looks like this https://imgur.com/jjbMKj8
The incident report indicated the problem started 4 hours ago (around 9pm GMT) but I was having problem around 4pm. It's definitely not a 2-hour incident.
DO is a nice thing to play around with and maybe launch something, but I wouldn’t run full production on it.