NTP is the rare piece of internet plumbing that would rather admit ignorance than invent an answer. The Network Time Protocol’s current specification, RFC 5905, published in June 2010, defines NTPv4 — “widely used to synchronize computer clocks in the Internet”, accurate to “tens of microseconds” for primary servers — as a protocol that ships time across a deliberately unreliable network and cross-examines its sources with a Byzantine majority vote. When no majority clique of truechimers can be found, it declines to touch the system clock at all.

Every other protocol converts uncertainty into an answer. NTP converts it into a verdict, and sometimes the verdict is: not proven.

The man who taught the internet’s clocks to doubt

NTP has a father. David Mills wrote the first specification in 1985 and spent a quarter of a century refining it from the University of Delaware — through NTPv3 (RFC 1305, March 1992) and NTPv4 (RFC 5905, June 2010). Mills died in January 2024. His protocol did not.

What he built was not a clock but a procedure for deciding what time it is when nobody can be trusted to know. That is a stranger and more useful thing.

Time as a distributed fact: how NTP builds a hierarchy of clocks

A computer has a clock and no authority. The wire has authority and no memory of your machine. NTP is the arrangement that lets one be corrected by the other, and its architecture is a hierarchy of servers fed by wire or radio to national standards.

The document describes the purpose plainly: to convey timekeeping information “from these primary servers to secondary time servers and clients”, with algorithms that “mitigate errors that may result from network disruptions, server failures, and possible hostile actions”.

Note the third item on that list. NTP was designed in an era of gentlemanly networks and still assumed someone might be lying to it. That assumption is why it aged well.

Unreliable on purpose: why NTP treats packet loss as a feature

The most counterintuitive sentence in the specification is about reliability. NTP measures a round trip to estimate the offset, so a retransmission would spoil the measurement by inserting a manufactured delay.

So NTP runs on plain datagrams and treats loss as normal. The on-wire protocol “depends only on measured clock offsets, but does not require reliable message delivery”, and reliable delivery “can actually make the delivered NTP packet less reliable since retries would increase the delay value and other errors”.

Every request carries the sender and receiver timestamps, and the arithmetic uses four of them, which is exactly the minimum needed to cancel a symmetric path. That assumption — symmetry — is the protocol’s soft spot: any path that is slower in one direction biases the result, and no amount of voting fixes a bias shared by every server.

It is a lovely piece of engineering humility: the protocol knows precisely which assumption it cannot check, and says so in the specification rather than in a footnote.

The vote: truechimers, falsetickers and Marzullo’s intersection

With several candidates, NTP does not average them all. It looks for the largest set whose correctness intervals overlap: the truechimers. Servers outside that set are falsetickers, however confident they sound.

The selection algorithm “operates to find an intersection interval containing a majority clique of truechimers using Byzantine agreement principles” — the document names the lineage, citing Marzullo’s interval-intersection work. Then a clustering step discards outliers, and a combining step produces one offset for the clock discipline algorithm.

The vocabulary is worth savoring. Truechimers and falsetickers come from Lamport’s Byzantine generals, where the problem is not bad data but bad actors. NTP’s founders looked at a room full of time servers and asked the question a diplomat asks: how many of you would have to be lying before this meeting is worthless?

The abstention: when the vote fails, NTP leaves the clock alone

The part that matters most is the failure path: if no majority clique forms, or too few survivors remain, the system process “exits without disciplining the system clock”.

Read that again. The protocol does not pick the least-wrong server. It does not average the survivors and hope. It leaves the clock exactly as it found it, and reports the doubt in its state variables.

A protocol that guessed would smear the error into everything downstream: certificate validity, log ordering, leases, signatures, transaction timestamps. A protocol that abstains keeps the error visible and local — which is the only place an error can be fixed.

Why refusing to guess is the rarest instinct in networking

Most network protocols convert uncertainty into an answer. NTP converts it into a stratum and a leap indicator, and when it cannot agree it says so through its state rather than through a rounded number.

The cost is real: a misconfigured network can leave machines drifting with no complaint from the protocol itself. The benefit is larger: a machine that does have the time can be trusted to know it honestly.

That trade explains the software-lifecycle mystery. NTP has outlived grander protocols, vendor consortia and three generations of networking fashion, not because it was elegant but because it was honest about the one thing it could not guarantee. The IETF’s operating creed — rough consensus and running code — reads here as a design brief rather than a slogan.

The lesson: honest records outlast confident ones

Time is the quietest shared fact the internet has. Every protocol that compares timestamps assumes clocks agree to some tolerance, and almost none of them check.

NTP’s design says something worth borrowing: when a shared fact is used as evidence elsewhere, it is better to report disagreement than to smooth it. A clock that admits doubt is more useful than one that produces a confident wrong number — and an institution that publishes its own uncertainty buys a credibility no confident communiqué can match.

The internet’s most trusted clock is the one that keeps saying, quietly, that it might be wrong. Everything downstream depends on that honesty. Almost nothing else in the stack bothers to copy it.