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

2013-09-21 Thread Patrik Flykt
Hi, On Tue, 2013-09-17 at 17:41 +0200, Peter Meerwald wrote: > Since there will probably continue to be NTP and SNTP servers of all >four versions interoperating in the Internet, careful consideration >should be given to the version used by SNTP Version 4 clients. It is >recom

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

2013-09-17 Thread Peter Meerwald
> > When we're sending an NTP packet, the version number is always set to 4. > > That probably doesn't work very well with a bunch of other NTP servers? > > ntpdate does the same (send requests with v4); > I'll check what the spec says... http://tools.ietf.org/html/rfc2030 (section 5, SNTP Clie

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

2013-09-16 Thread Peter Meerwald
> When we're sending an NTP packet, the version number is always set to 4. > That probably doesn't work very well with a bunch of other NTP servers? ntpdate does the same (send requests with v4); I'll check what the spec says... regards, p. -- Peter Meerwald +43-664-218 (mobile)

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

2013-09-16 Thread Peter Meerwald
> > 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. Windows says is it doing NTP v3 connman only accepts NTP v4 (and not

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

2013-09-16 Thread Marcel Holtmann
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:decod

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

2013-09-16 Thread Patrik Flykt
On Mon, 2013-09-16 at 10:29 +0300, Patrik Flykt wrote: > When we're sending an NTP packet, the version number is always set to > 4. > That probably doesn't work very well with a bunch of other NTP > servers? So the real question is whether sending version 4 and receiving version 3 is ok from a sp

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

2013-09-16 Thread Patrik Flykt
On Tue, 2013-09-10 at 15:46 +0200, Peter Meerwald wrote: > NTPv3 is advertised by Windows 7, but only v4 is accepted > > 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.00 seconds (

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

2013-09-10 Thread Peter Meerwald
NTPv3 is advertised by Windows 7, but only v4 is accepted 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.00 seconds (10) src/ntp.c:decode_msg() precision : 0.015625 seconds (-6) src/ntp.