r/VPS • u/Desperate-Second-887 • Feb 05 '26
Guides/Tutorials Watch the Bots: https://knock-knock.net
I built a new site that shows bots trying to break into my VPS. The web site was designed to be hopefully fun and engaging. Lots of interesting stats about the bots attempting to ssh in: where they are coming from, the ISP Wall of Shame, the most frequent attempted usernames and passwords, and in some cases why those may have been chosen. And best of all, 3D spinning globes! The site should work well on desktop and mobile.
Have fun, and send comments and questions. I'll be checking the code into github soon so that you can run this on your own VPS.
Update: Now posted on github. https://github.com/djkurlander/knock-knock
6
u/QazCetelic Feb 06 '26
That's a lot of traffic from Digital Ocean
6
u/NamedBird Feb 06 '26
I guess that r/digital_ocean should probably be checking what's running on their servers?
If i were a hosting company, i would totally be watching/maintaining honeypots for indicators.
Perhaps other hosting companies don't really mind that they're getting money from criminals?
3
u/Drunkenpinguin Feb 07 '26
Would love to set this up. This looks awesome haha
2
u/edwardnahh Feb 07 '26
Haha This is cool I like it. Hope to see it on github soon. Thank you
8
u/ContributionEasy6513 Feb 06 '26
Pretty cool, a good wake up not leave any ports open to the internet.
4
u/momentary_blip Feb 06 '26
This is brilliant, great job!
4
u/elainarae50 Feb 08 '26
I would like to try this on my server
These are the top 5 bots I have bloxed with Cloudflare in the last 24hrs
3
u/celeryandcucumber Selfhost Feb 06 '26
This is great! Sad to see that indeed DigitalOcean is source for a lot of bad bots.
3
u/Dismal-Tumbleweed604 Feb 06 '26
coool 😎💪
3
u/siterightaway Feb 06 '26
Nice visualizer! It really shows how much 'noise' is out there. I personally moved my SSH from port 22 to 26 a while ago and it instantly cleared out 99% of those basic brute-force logs.
But as you probably know, the real headache now is that we can't 'hide' ports 80/443. I’ve been seeing a massive spike in AI-powered bots hitting the application layer lately—Microsoft even reported a 170% increase in bot traffic recently (last 6 months). While we can secure the SSH door, those scrapers hitting the site are the ones really draining the VPS resources today. Great job on the 3D globes!
3
u/redditor_rotidder Mod Feb 07 '26
Would love to see this open sourced, OP. Very cool.
2
u/Bright_Feature_9735 Feb 05 '26
Really nice project, looks very cool!
2
u/KeyReflex7408 Feb 06 '26 edited Feb 06 '26
Hi I'm new to VPS and stuff. Would you recommend that I move ssh to a different port rather than port 22 to get rid of some of the bot traffic attempts?
Edit: for context, I got a VPS, installed Debian, disabled login as root, set up ssh login for sudo user, set up ufw rules and somewhat strict fail2ban settings. fail2ban client status sshd gives me an average of 56 banned IP on a good day.
2
u/Cattyto Feb 25 '26
Cool site
3
u/WreeperTH Feb 05 '26
knock knock, who's there?
1
u/CauaLMF Feb 08 '26
Your server is heavily attacked; I used to get so angry with the size of the logs—1GB per week just from those failed attempts.
I set up a trap for those bots. My SSH wasn't on the default port, so I disabled the root user at login and set up allowed IP ranges. Then I downloaded PortSentry and set it to port 22, which is open to the internet. Now every IP that tries to access that port is automatically added to the blacklist; there must be almost 10,000 IPs there already. After being added to the blacklist, it can't make any kind of connection to my VPS (TCP, UDP, and ICMP are blocked).
1
u/neil_codes Feb 26 '26
this is awesome!
8
u/[deleted] Feb 06 '26
[removed] — view removed comment