Re: [chrony-users] Checking chrony daemon status via NTP3 protocol

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Tue, May 26, 2020 at 05:49:15PM +0000, SALA MASSIMO wrote:
> Hi
> 
> I apologize in advace if my question is trivial.
> 
> The daemon is stopped (ver 3.5).
> I start it and send a NTP3 CLIENT query, to localhost port 123/udp:
>     NTP_VERSION << 3 | NTP_MODE_CLIENT
> 
> The first answer has the status 0xdc : the bit NTP_LEAP_NOTSYNC is set.
> Good: the daemon is starting and looking for the Ntp servers.
> 
> I query again the daemon, and in the following replies from the server:
> * the status is OK : 0x1c
> * the  server time (reference timestamp, at offset 16 of the Udp packet payload) is incorrect.

This sounds like a bug. In a quick test with the current development
code and chrony-3.5 I didn't see this behavior.

How is your server configured?

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/