~/dnim.dev
▸Writing▸About
All writing

~/writing/tags

#networking

1 post

Systems debugging
March 3, 20254 min

One socket for the whole subnet

A host scanner that opened a raw socket and a goroutine per host fell over on anything bigger than a /24. The rewrite uses one socket and two goroutines no matter how many hosts, with an ARP fast path and an unprivileged fallback.

#networking#go#icmp#cli

dnim.dev · built and broken by JR

WritingGitHubRSS