The short version
- RFC 768, published in August 1980, gave UDP's 16-bit checksum field two meanings for zero: a computed zero went on the wire as
0xFFFF, while a wire value of0x0000announced that no checksum had been generated at all. - RFC 1122 in 1989 kept omission legal but made generation the default. IPv6 made the checksum mandatory in 1998, then carved out a narrowly bounded tunnel exception in 2013.
Eight octets, one awkward edge
Jon Postel had eight octets to work with, and no room to waste one on a flag. In August 1980 his RFC 768 specified the User Datagram Protocol as a way for applications to swap datagrams with the minimum possible machinery: source port, destination port, length, checksum, then data. No ordering promises, no duplicate protection, no reliability. Just a postcard with a stamp.
The last field looks innocent until the arithmetic hands it an awkward edge. UDP borrowed TCP's 16-bit one's-complement checksum, computed over the UDP header and data plus a pseudo-header carrying the IP source and destination addresses, the protocol number and the UDP length. Postel explained that the pseudo-header was there to catch datagrams delivered to the wrong destination context.
One's-complement arithmetic, however, has two ways to write zero: all zeroes and all ones. Most designers would have shrugged and picked one. Postel gave both patterns jobs. If the calculation produced zero, the sender transmitted all ones. A field of all zeroes on the wire meant something else entirely: this sender generated no checksum. In a single 16-bit slot, the protocol carried both a result and a status signal, and it never spent a bit on a flag.
That is the whole trick, and it is easy to misread. A zero checksum was not a checksum that happened to compute to zero. It was an encoded absence. Collapse the two states and an implementation will either throw away a perfectly valid datagram or wave through a packet whose error detection was never switched on.
Optional did not mean the default
The original specification left the door open for omission, describing debugging and higher-level protocols that did not care about the checksum. Nine years later, RFC 1122, the Internet host requirements, closed the ambiguity. A host had to implement checksum generation and validation; an application could optionally control generation, but it had to default to on. Receivers could choose whether to pass unchecksummed datagrams upward.
RFC 1122 also flagged the implementation error that keeps recurring: a computed zero must go on the wire as 65535, while an all-zero field means absent. It noted that some applications on local-area networks had switched checksums off for efficiency, and that numerous undetected errors had been reported as a result. The document supplied no counts, no named incidents, no denominator. That passage is evidence of a concern recorded by the people writing the standards, not a measurement of how far the practice spread.
And the checksum was never a signature. The pseudo-header could catch certain misdeliveries; the arithmetic could catch some accidental corruption. It could not authenticate the sender, stop a deliberate edit, or prove the payload made sense. "Checksum present" and "packet trustworthy" were always two different claims.
IPv6 tightens the boundary
The 1998 IPv6 specification, RFC 2460, made UDP checksums mandatory. A computed zero still had to be written as 0xFFFF, and a receiver was instructed to discard an IPv6 UDP datagram whose checksum field was zero. The absence marker that IPv4 tolerated became unacceptable in ordinary IPv6 traffic.
Fifteen years later, that rule met a specific performance case. In 2013, RFC 6935 and RFC 6936 updated IPv6 behavior for constrained UDP tunnel encapsulation. Tunnels often carry packets that already have their own integrity checks, and computing an outer checksum costs real cycles. The exception came with applicability conditions, endpoint behavior rules and middlebox compatibility requirements. It did not turn zero checksums into a general IPv6 option.
What makes the sequence worth reading is that the bit pattern never moved. Only the permitted context did. In IPv4, zero could mark absence, with host guidance pushing toward calculation by default. In IPv6, absence was first rejected outright, then narrowly restored for one outer-tunnel role with safeguards attached. The number alone never told a receiver whether skipping the checksum was acceptable. Protocol version and use context did.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






