Your message dated Sun, 30 Jul 2006 11:32:08 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#258521: sends malformed packets according to OpenBSD ntpd, 
can't sync
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ntp
Version: 1:4.2.0a-10
Severity: normal

I recently upgraded my OpenBSD box from the "ports" version of ntpd
(what Debian calls "ntp", "ntp-simple" and "ntpdate") to the in-tree
ntpd(8) which comes with OpenBSD -current.  When I did this, I was no
longer able to synchronize my clock from "griffon", my primary Debian
desktop box:

griffon:~$ ntptrace 192.168.2.1
192.168.2.1: timed out, nothing received
***Request timed out

The logs on the OpenBSD box show this behavior:

Jul  9 20:10:29 pegasus ntpd[2590]: malformed packet received
Jul  9 20:12:14 pegasus ntpd[32059]: adjusting local clock by -0.027969s
Jul  9 20:16:14 pegasus ntpd[32059]: adjusting local clock by -0.012487s
Jul  9 20:16:51 pegasus ntpd[2590]: malformed packet received
Jul  9 20:16:56 pegasus ntpd[2590]: malformed packet received

Since the OpenBSD box is only listening to the NTP port on the internal
network interface, those malformed packets are definitely coming from
one of the machines on my LAN (two Debian boxes and one Windows XP box).

Now, the really interesting part is that "goblin", my older Debian box,
can talk to the OpenBSD system just fine:

goblin:~$ ntptrace 192.168.2.1
pegasus.local: stratum 2, offset 0.004850, synch distance 0.00000
166.248.23.255:         *Timeout*

goblin is running older versions of the NTP packages:

ii  ntp            4.1.2a-2       Daemon and utilities for full NTP v4 timekee
ii  ntp-simple     4.1.2a-2       NTP v4 daemon for simple systems
ii  ntpdate        4.1.2a-2       The ntpdate client for setting system time f

So griffon is able to sync against goblin, which syncs against "pegasus"
(the OpenBSD box).  But griffon can't talk to pegasus directly.

When I downgrade the NTP packages on griffon to the versions that goblin
has, then griffon can talk to pegasus directly.  In addition, the "malformed
packet" lines stop appearing in pegasus's logs.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1

Versions of packages ntp depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libreadline4                4.3-10       GNU readline and history libraries
ii  libssl0.9.7                 0.9.7c-5     SSL shared libraries

-- no debconf information


--- End Message ---
--- Begin Message ---
This appears to have been a deficiency in the OpenBSD implementation, 
not a bug in ntpd in Debian.

--- End Message ---

Reply via email to