Re: [ntp:questions] POSIX leap seconds versus the current NTP behaviour

2011-05-07 Thread David L. Mills
Dennis, There might be some misunderstanding in your message. As long as kernel support is available, ntpd does nothing about leap seconds except compile a consensus from server leap bits, Autokey protocol or leapseconds file whether a leap event is pending or not. The actual leap function is

Re: [ntp:questions] reftime > xmt in server reply valid?

2011-05-07 Thread Dave Hart
On Thu, May 5, 2011 at 11:29 UTC, Miroslav Lichvar wrote: > Hi, > > RFC 5905 has in section 5.1.1.: > > /* >  * Verify valid root distance. >  */ > > if (r->rootdelay / 2 + r->rootdisp >= MAXDISP || p->reftime > >    r->xmt) >        return;                 /* invalid header values */ > > > But it