From owner-freebsd-questions Wed Dec 12 7:51:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts19-srv.bellnexxia.net (tomts19.bellnexxia.net [209.226.175.73]) by hub.freebsd.org (Postfix) with ESMTP id E542037B41C for ; Wed, 12 Dec 2001 07:51:16 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.189.35]) by tomts19-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011212155115.MPBK4842.tomts19-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Wed, 12 Dec 2001 10:51:15 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 67A8E1B1D for ; Wed, 12 Dec 2001 10:51:13 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 36BE220ACB; Wed, 12 Dec 2001 10:53:11 -0500 (EST) Date: Wed, 12 Dec 2001 10:53:11 -0500 From: The Anarcat To: FreeBSD Questions Subject: ntpdate works, ntpd does not Message-ID: <20011212155310.GB65642@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline User-Agent: Mutt/1.3.24i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --CdrF4e02JqNVZeln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi I've been struggling with a particularly painful problem with my ntpd here. I am able to adjust the clock using "ntpdate" without any problems: # ntpdate time.nist.gov=20 12 Dec 10:40:57 ntpdate[1152]: adjust time server 192.43.244.18 offset -0.0= 59697 sec # but ntpd always fails. From tcpdump, I can see it communicating with the server, but just once. Here is the showpeer output: ntpdc> showpeer time.nist.gov remote 192.43.244.18, local 6.0.0.0 hmode client, pmode unspec, stratum 16, precision -20 leap 11, refid [0.0.0.0], rootdistance 0.00000, rootdispersion 0.00000 ppoll 10, hpoll 6, keyid 0, version 4, association 43316 valid 0, reach 000, unreach 1, flash 0x0000, boffset 0.00400, ttl/mode 0 timer 0s, flags config, bclient reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 originate timestamp: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 receive timestamp: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 transmit timestamp: bfc1f728.6a9984a0 Wed, Dec 12 2001 10:32:56.416 filter delay: 0.00000 0.00000 0.00000 0.00000=20 0.00000 0.00000 0.00000 0.00000=20 filter offset: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 filter order: 7 6 5 4 =20 3 2 1 0 =20 offset 0.000000, delay 0.00000, error bound 0.00000, filter error 4.00000 Here is the tcpdump output I get: 10:45:57.912825 MTL-HSE-ppp191859.qc.sympatico.ca.ntp > time.nist.gov.ntp: = v4 client strat 0 poll 6 prec -20 [tos 0x10]=20 10:45:58.084038 time.nist.gov.ntp > MTL-HSE-ppp191859.qc.sympatico.ca.ntp: = v4 server strat 1 poll 6 prec -18 [tos 0x10]=20 I pay a beer to anyone passing through montreal and solving this thing, as it's getting me completly mad. Note that I am behind NAT+ipfw. But I kinda opened the rules to run my tests... :) Anyways, the packets *are* coming to and fro, both with ntpdate and ntpd. a. --CdrF4e02JqNVZeln Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwXfWUACgkQttcWHAnWiGflBwCdF+Rzu6YAKMuYZsk3u/yfZ20m FgIAn2bYgzHLqLyQ9D96vDayTc/HkuRV =Q63v -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message