Concepts / Addresses and clocks

Addresses and clocks

NTS

Also called network time security, RFC 8915, NTS-KE, authenticated NTP, secure time

Authenticating an NTP server over TLS so a spoofed or man-in-the-middle time source is refused.

Keys over TLS first, then every time packet is signed
Keys over TLS first, then every time packet is signed

The certificate check happens once, on TCP 4460. After it, each NTP packet carries a code made with the keys from that handshake, so a reply from anyone else is dropped.

NTS (Network Time Security, RFC 8915) lets a client check that a time reply came from the real NTP server. The client first makes a TLS connection to TCP 4460 (NTS-KE), checks the server's certificate, and gets keys and cookies. Each time packet on UDP 123 carries an authentication code made with those keys, so a forged or altered reply is rejected. It protects authenticity and integrity, not secrecy.

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start learning