Re:Ask HN: How to stop an AWS bot sending 2B requests/month
by bcwhite 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.
[ Parent
| on HN ]
Re:Ask HN: How to stop an AWS bot sending 2B requests/month
by fabioyy on Friday October 17, 2025 @03:16PM
(#45620826)
no need to mess with the kernel, block on the local machine firewall outgoing RST packet ,create a program that reads raw socket for incoming SYN and answer the syn/ack).
but anyway, this technique will not differentiate legitimate connections.