Summary

  • RFC 5905 specifies NTPv4, the protocol that synchronizes computer clocks across the internet, and stays backwards compatible with NTPv3 as defined in RFC 1305.
  • NTPv4 adds a modified protocol header for the IPv6 address family and rebuilds the mitigation and discipline algorithms, extending potential accuracy to the tens of microseconds on modern workstations and fast LANs.

Every few minutes, your computer asks a stranger what time it is.

The stranger is usually a volunteer. Nobody pays them. Nobody elected them. There is no Ministry of Time, no Time Registry, no board of directors for the second. There is a rack in someone's basement, a GPS antenna bolted to a roof, a virtual machine donated by a university, and a protocol that assumes a few of these strangers are lying.

That protocol is RFC 5905, and it is one of the more quietly subversive documents the internet ever produced. It does not describe an institution. It describes how mutually suspicious machines can agree on the time anyway.

The protocol has a word for liars

NTP does not trust a server. It polls several, compares their answers, and runs an intersection algorithm over the results. Servers whose answers fall outside the consensus get discarded. RFC 5905 has names for both sides of that cut: truechimers, which broadly agree, and falsetickers, which do not and get dropped.

That is the entire theory of truth in NTP. Not authority. Not a signature from a central time body. Not a contract with a liability cap. Just: ask enough strangers, and the ones who are wrong will disagree with each other in ways you can detect.

The hierarchy is equally unglamorous. A stratum-1 server has a real clock attached — a GPS receiver, a rubidium oscillator, a radio feed. Everything below it is downstream, drifting toward the truth a few milliseconds at a time. Many of the most accurate stratum-1 servers are run by universities, national labs, and hobbyists who pay for the bandwidth themselves.

The supplier subsidizes the consumer

Time is the one utility on the internet where the operator of a public server pays for the privilege of serving you. Bandwidth, hardware, electricity, roof access for the antenna: it comes out of the volunteer's pocket. The pool most machines actually query is a DNS round-robin across those volunteers, run by a small group of people with no formal ownership of anything.

And the arrangement depends on enough of those volunteers not coordinating. If the pool belonged to one company, that company would be a chokepoint. If it belonged to one government, it would be a political instrument. Instead it is a rotating cast of strangers who mostly never meet, and it holds to tens of microseconds.

Now compare it to the layer that hands out addresses

The internet runs two global coordination systems of roughly the same shape. One hands out unique numbers. The other hands out the time. Both need a shared record. Both need everyone to agree. Both are, at bottom, bookkeeping.

One of them stayed thin. The other grew a board, a bylaw, a fee schedule, a regional identity, a liability cap set near zero, and a rulebook that can decide whether your addresses are allowed to leave the continent. The registry layer spent thirty years turning a ledger into a throne. The time layer never bothered. It just keeps time.

That is not an argument against coordination. It is an argument about how little of it you actually need. NTP's common layer is a header format, a timestamp, and a handful of deterministic algorithms any implementer can verify locally. Everything else — who runs a server, where they run it, whom they serve, whether they charge — sits outside the protocol and always has. Nobody has ever needed permission from a time authority to serve time.

The clock runs out in 2036

NTP's timestamp is 64 bits: 32 bits of seconds since 1900, 32 bits of fraction. The seconds field wraps in February 2036. This is a known, dated, unglamorous problem, and the internet will patch it the way it patches everything — in running code, by adoption, without a resolution or a communiqué.

That is the discipline NTP stumbled into and never lost. The spec describes only what must be common. The volunteers do the rest. The algorithm quietly ignores anyone who is wrong. It is the design discipline that the internet's other coordination layers are still trying to remember.

Coordination does not require a sovereign. It requires a spec, a few thousand volunteers, and a reliable way to tell who is lying.