Better HN
topnewbestaskshowjobs
Log inSign up

bcwhite

10 karma · joined Oct 17, 2025 (1y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.