Post #1994562
2026-03-26 00:48 UTC
@mdreid I'm now wondering if I've ever had an off-by-one error when working with DNS, to get the hat trick. I fear it's possible.
Replies (4)
-
@mdreid@mastodon.social 2026-03-26 01:03
@drewtowler If you get exactly two then that’s the hat trick right? ;)
-
@tarix29@tech.lgbt 2026-03-26 08:35
@drewtowler @mdreid I almost certainly have, one of my uni classes made us implement a basic DNS server from scratch and I definitely overflowed a buffer at some point due to off by one
-
@pmevzek@framapiaf.org 2026-03-26 21:23
@drewtowler @mdreid 1) Name compression and offset handling (all DNS software was buggy in the past about that, confusing = and & when testing specific bits) and 2) bitsquatting (either from space rays or humans)
-
@jelte@mastodon.nl 2026-03-28 08:02
@drewtowler Does forgetting to update the serial number when manually editing a zone file count?