[ntp:questions] Getting the version string programmatically ...

Steve Kostecke kostecke at ntp.org
Thu Dec 17 19:24:21 UTC 2009

On 2009-12-17, David J Taylor <david-taylor at blueyonder.co.uk> wrote:

> "Harlan Stenn" <stenn at ntp.org> wrote:
>> Using 4.2.6, run a tcpdump against the conversation of:
>> ntpq -c 'rv 0 version'
> Thanks for the suggestion, Harlan. I managed to use Wireshark to do
> that against: ntpq -c rv which brought me back more information,
> although it's only the version string I want for now.

Use wireshark again and capture this:

ntpq -crv; ntpq -c'rv 0 version'

Then compare both request packets. The difference should be obvious.

Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/

More information about the questions mailing list