[ntp:questions] ntpdate.c unsafe buffer write
David L. Mills
mills at udel.edu
Tue Feb 12 04:17:28 UTC 2008
Once entering state 4, the only way to leave it is after two steps,
after which the discipline is switched to measure frequency directly, as
with no frequency file. This is an emergency recovery measure when for
some reason the frequency file contains a value more than 128 PPM from
the real frequency, which would ordinarily indicate a hardware fault.
Harlan Stenn wrote:
> Interesting script - thanks. Would you like me to put it in the
> This brings up an underlying question. It is possible for events to unfold
> in a way that while in state 4, events will be such that there will be
> future wiggles. Some of them may even take us out of state 4.
> If so, what benefit do we get by using the script to delay things while we
> are waiting for a slew to finish while in state 4?
> What difference does it make if the system in question is an client as
> opposed to a server?
More information about the questions