News for hackers. Stuff that matters.
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.
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.
Re:Ask HN: How to stop an AWS bot sending 2B requests/month by pclmulqdq on Friday October 17, 2025 @07:25PM (#45623338)
As I understand it, you can probably do this with XDP in the Linux kernel and it will be pretty cheap.
Re:Ask HN: How to stop an AWS bot sending 2B requests/month by Kubuxu on Saturday October 18, 2025 @07:33AM (#45626516)
I've done that in the past (8+ years ago) with raw IP sockets.