All writing
~/writing/tags
#networking
2 posts
Systems debugging
Swapping a live router in 50 milliseconds
Two VyOS VMs with identical MACs, a bridge with no ports, host-side tap moves, a seeded DHCP lease, and a dead-man switch. How a home router gets cut to a new release while the house sleeps.
Systems debugging
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.