Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 10:53:11 -0500
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   ntpdate works, ntpd does not
Message-ID:  <20011212155310.GB65642@shall.anarcat.dyndns.org>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212155310.GB65642>