[PATCH 5/9] ntp: Support NTPv3 protocol version

Marcel Holtmann marcel at holtmann.org
Mon Sep 16 07:03:47 PDT 2013


Hi Peter,

> NTPv3 is advertised by Windows 7, but only v4 is accepted

I am failing to understand this comment. What does this actually mean. Windows 7 is still using NTP version 3 from 1992. Instead of NTP version 4 from 2010.

> rc/ntp.c:send_timeout() send timeout (retries 1)
> src/ntp.c:decode_msg() flags : 0x1c
> src/ntp.c:decode_msg() stratum : 1
> src/ntp.c:decode_msg() poll : 1024.000000 seconds (10)
> src/ntp.c:decode_msg() precision : 0.015625 seconds (-6)
> src/ntp.c:decode_msg() root delay : 0 seconds (fraction 0)
> src/ntp.c:decode_msg() root disp. : 2560 seconds (fraction 19716)
> src/ntp.c:decode_msg() reference : 0x4c434f4c
> src/ntp.c:decode_msg() unsupported version 3
> connmand[21770]: src/ntp.c:decode_msg() flags : 0x1c
> connmand[21770]: src/ntp.c:decode_msg() stratum : 1
> connmand[21770]: src/ntp.c:decode_msg() poll : 1024.000000 seconds (10)
> connmand[21770]: src/ntp.c:decode_msg() precision : 0.015625 seconds (-6)
> connmand[21770]: src/ntp.c:decode_msg() root delay : 0 seconds (fraction 0)
> connmand[21770]: src/ntp.c:decode_msg() root disp. : 2560 seconds (fraction 19716)
> connmand[21770]: src/ntp.c:decode_msg() reference : 0x4c434f4c
> connmand[21770]: src/ntp.c:decode_msg() unsupported version 3

We have been running NTP since a while now. Funny how long it took before anybody run it against a version 3 server.

On a side note, we are doing Simple NTP and not full one. Not sure if that makes a different for version 3.

Regards

Marcel




More information about the connman mailing list