From owner-freebsd-security Sun Jan 30 20:38:51 2000 Delivered-To: freebsd-security@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 34DA815288 for ; Sun, 30 Jan 2000 20:38:43 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <115231>; Mon, 31 Jan 2000 15:39:17 +1100 Content-return: prohibited From: Peter Jeremy Subject: Re: ntpd configuration and strange time "jumps" In-reply-to: <200001310018.SAA07833@alecto.physics.uiuc.edu>; from igor@physics.uiuc.edu on Mon, Jan 31, 2000 at 11:18:59AM +1100 To: Igor Roshchin Cc: security@FreeBSD.ORG Message-Id: <00Jan31.153917est.115231@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <200001310018.SAA07833@alecto.physics.uiuc.edu> Date: Mon, 31 Jan 2000 15:39:15 +1100 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 2000-Jan-31 11:18:59 +1100, Igor Roshchin wrote: >1. I've noticed that there were a few rather strange time steps: >(it's the first time I see it changing back and force without any >visible reason) >Jan 28 19:58:45 myhost xntpd[144]: time reset (step) -0.244614 s >Jan 28 21:04:09 myhost xntpd[144]: time reset (step) 0.353294 s ... NTP assumes that the path delays between your daemon and it's peers (or servers) are symmetric - it halves the RTT to determine the peer delay. This is a flaw in the protocol, but I don't believe there's any way around it. If all your peers share a common bottleneck, which has a large traffic asymmetry, it is possible for NTP to see this asymmetry as a peer offset and adjust the local time to suit. When the traffic asymmetry goes away, xntpd will then skew the time the other way. Many years ago, I added a fudge to detect (or try to) and ignore this situation. At the time Dave Mills wasn't interested in the patches. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message