NTP

Network Time Protocol (NTP)

NTP is used to synchronize the clock of a network client with a server. David L. Mills, PhD, is the primary author of the NTP specification.

The NTP server should have the precise time (ideally directly from an atomic clock). The NTP client queries the NTP server for the current time and then adjusts its internal clock to that value. Clock adjustment is not instantaneous but smoothed over time toward the reference time sources selected. A number of intricate details are involved, which are described in the relevant research project pages.

History

The Wikipedia article has a relevant writeup of the protocol.

Protocol dependencies

Example traffic

XXX - Add example traffic here (as plain text or Wireshark screenshot).

Wireshark

The NTP dissector is fully functional.

Preference Settings

There are no NTP related preference settings.

Example capture file

Display Filter

A complete list of NTP display filter fields can be found in the display filter reference

Show only the NTP based traffic:

 ntp

Capture Filter

You cannot directly filter NTP protocols while capturing. However, you can filter on the well known NTP UDP port 123.

Capture only the NTP based traffic:

 udp port 123

On many systems, you can say "udp port ntp" rather than "udp port 123".

Current RFC:

Obsoleted RFCs:

Other Information:

Discussion

Note: On WinXP the 'Windows Time' service must be stopped for NTP packets to be passed up the stack and visible to Wireshark.