Summary

  • RFC 8915 specifies Network Time Security, a mechanism for using TLS and Authenticated Encryption with Associated Data to provide cryptographic security for the client-server mode of the Network Time Protocol.
  • It is structured as two loosely coupled sub-protocols: the first handles initial authentication and key establishment over TLS, the second carries the time exchange itself.
  • NTS Key Establishment runs over TLS on TCP port 4460 and hands the client a batch of cookies. Each time request spends one, which is how the server stays stateless and the client stays verifiable.

Every machine you own agrees on what time it is because a protocol first specified in 1985 told it so. NTP asks a server what time it is. The server answers. If the answer looks plausible, the client believes it. There were authentication options; they required a pre-shared secret, and almost nobody bothered. Anyone who could see the packet, or stand in front of it, could be the server.

RFC 8915 is the fix, and it is deliberately unglamorous. It does not replace NTP. It bolts two things onto it: a TLS handshake that proves who the server is, and an AEAD tag on every packet that proves the packet is the one the server sent.

That split is the design. NTS Key Establishment does the expensive work once — certificate validation, algorithm negotiation, key derivation — and hands the client a stack of cookies. The time exchange then spends one cookie per request, carrying a unique nonce and an authentication tag. The server keeps no per-client state. The client keeps a receipt.

A spoofed reply now has two ways to fail: it can arrive without a valid tag, or it can arrive with a tag the client never asked for. Either way, it was never in the conversation.

NTS authenticates the time; it does not hide it. The timestamp still travels in the clear, which is fine, because the point was never secrecy. The point was that a middlebox can no longer rewrite the clock and let the network carry on as if nothing happened.

What it does not do is stop an attacker who simply holds your packets and delivers them late. A constant delay shifts your clock by a constant amount, and every cryptographic check still passes, because every packet is genuine. NTS tells you who said what time. It cannot tell you how long the message spent in transit.

There is a small circularity at the bottom, too. Validating the NTS-KE certificate requires a clock that is roughly right, and the clock is the thing being fixed. Cold-booting hardware still gets its first approximation from somewhere it cannot verify. NTS narrows the window in which that matters. It does not close it.

The control question is who pays for the handshake. NTS moves the cost from the network to the client and the server, and it moves trust from anyone on the path to the certificate that signed the keys. That is a real bill: a TLS handshake, a cookie jar, and a certificate lifecycle, per time source. It is also the first time the bill has been itemised.

Which is the useful part. NTP ran on belief — the belief that whoever answered first was telling the truth. RFC 8915 did not make the internet's clocks honest. It made them checkable. Those are not the same thing, and the second one is worth more.