Visual RFC.
ALL RFCs / RFC 5905
Read the RFC ↗
RFC 5905 / OPERATING BOUNDARIES

Authentication & later updates

10

Packet authentication and careful peer handling protect different parts of the exchange. Later RFCs update the original security choices.

RFC 5905 · § 15EXAMPLE
4 / 4
04
Use an appropriate modern design.

Read later algorithm and security specifications rather than deploying obsolete MD5 guidance.

Authentication & later updatesAn NTP header and optional extension fields are covered by a MAC. Matching configured credentials allow verification; a forged tag is rejected and later algorithm updates are called out.Authenticate the timing evidenceIllustrative shared-key packet authenticationClient credentialkey ID + algorithm + keyServer credentialmatching configurationNTP headerextension fieldsMACAuthenticate these fieldsverify tagRFC 8573: MD5 → AES-CMACRFC 8915 separately defines Network Time SecurityFollow the later algorithm and security specifications

Key idea: Protect the source and keep the update history visible.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Original RFC 5905 describes optional symmetric-key authentication; a checksum is not authentication.
  • RFC 8573 deprecates its MD5-based authentication and specifies AES-CMAC for that shared-key design.
  • RFC 9109 updates client port selection. RFC 8915 separately defines Network Time Security with key establishment and authenticated NTP.

Authentication cannot by itself eliminate delay manipulation by an attacker on the network path. RFC Editor also lists later updates 7822, 9748, and 9769; consult those documents and errata for implementation work.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

Two clocks may disagree.

A device compares timestamps with another clock. Network delay makes that comparison imperfect. The drawing separates the clock reading from the trip the message takes.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 5905 §7.3RFC 8573 §§2–3

The original MD5-based MAC is deprecated. The update requires AES-CMAC support for the described shared-key authentication, using an AES-128 key and a tag of at least 128 bits.

Read the updated RFC section ↗

All chapters in RFC 5905

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗