Keep unknown time out of replies
04A server that cannot determine its own time has different failure behavior for TCP and UDP. It should not invent a timestamp.
When the UDP server cannot determine time, it should make no reply. Do not turn absence into a zero-valued timestamp.
Source for this drawing: RFC 868 · Read RFC source: Unavailable-time handling · pages 1–2 ↗
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.
Terms in this drawing
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
Silence is a failure outcome, not midnight.
- For TCP, the server should refuse the connection or close it without sending anything when it cannot determine time.
- For UDP, it should discard the incoming datagram and send no reply in that case.
- These are lowercase should statements in the 1983 text, not imported RFC 2119 MUST requirements.
The source link opens page 1 for TCP; the UDP rule is on page 2. The two TCP alternatives and the UDP case are separate examples. No reply cannot distinguish an unavailable clock from a network failure, and RFC 868 gives no mandatory timeout.
Read the RFC section ↗