bcwhite
Re:Ask HN: How to stop an AWS bot sending 2B requests/month
on Friday October 17, 2025 @08:43AM (#45616095)
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.
Re:Ask HN: How to stop an AWS bot sending 2B requests/month
on Friday October 17, 2025 @08:15AM (#45615856)
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.