HNHacker News
TopNewBestAskShowJobs

bcwhite

10 karma · joined October 17, 2025

submissionscomments
bcwhite··on Ask HN: How to stop an AWS bot sending 2B requests/month?
An idea I had was a custom kernel that replied ACK (or SYN+ACK) to every TCP packet. All connections would appear to stay open forever, eating all incoming traffic, and never replying, all while using zero resources of the device. Bots might wait minutes (or even forever) per connection.
bcwhite··on Ask HN: How to stop an AWS bot sending 2B requests/month?
I redirect such traffic to a subdomain with an IP address that isn't assigned (or legally assignable). The bots just wait for a response to connection requests but never gets them. This seems to typically cost 10s waiting. The traffic doesn't come to my servers and it doesn't risk legitimate users who might hit it by mistake.