Networknet archive Blog

Inspecting Windows NTP traffic with Wireshark

Originally published

After reconfiguring the Windows Time service, I downloaded and installed the Wireshark network protocol analyzer. I captured all traffic on my physical Ethernet interface for more than 12 hours. I wanted to see what traffic my Windows client generated after I configured it to use time.windows.com as its NTP server. When I stopped the capture, I had a 200 MB file.

Wireshark is the newest version of the number-one open-source network protocol analyzer. It was previously known as Ethereal, which is still available for download.

Wireshark is the world's foremost network protocol analyzer, and is the de facto (and often de jure) standard across many industries and educational institutions. Wireshark development thrives thanks to the contributions of networking experts across the globe. It is the continuation of a project that started in 1998.

The new display filter uses two strings. To avoid going through all the frames manually, I entered my Windows machine's IP address and UDP port 123 for NTP traffic.

image

I saved and applied the filter. The capture ran for 12+ hours, and 34 frames matched the filter strings.

image

In this capture, the Windows Time service connected to the NTP server once every hour.