[ntp:questions] Re: ntpdc version

Ronan Flood ronan at noc.ulcc.ac.uk
Wed Jun 1 17:47:04 UTC 2005


Pedro Torres <torres at pop-pr.rnp.br> wrote:

> I have a server running ntpd version 4.1.74 with IPv6 support.
> 
> When I execute the command below I can see the answer correctly:
> 
> > ntpdc -n -c monlist <MY SERVER>
> ntpdc> version
> ntpdc 4.1.74 at 1.998-r Mon Jun 14 13:17:10 BRT 2004 (2)
> 
> When I execute the same command from another host with ntpdc version 4.2.0
> the answer often is:
> 
> ntpdc -n -c monlist  <MY SERVER>
> <AD.DR.ES.S>: timed out with incomplete data
> ***Response from server was incomplete
> ntpdc> version
> ntpdc 4.2.0a at 1:4.2.0a+stable-8-r Sat Mar 19 14:14:16 CET 2005 (1)

That could be packet-loss in the network between the servers, using
unreliable UDP; or the receiving socket buffer might not be big
enough -- see for example

  https://ntp.isc.org/bugs/show_bug.cgi?id=286

If you use "ntpdc -n -d -c monlist <server>" it should list which
packets in sequence (0 - 127) it actually received.

> And when I can get an answer that is different from ntpdc 4.1.74 version.
> (the IPv6 addrress are not showed or different IPv6 address are showed)

I'd say best advice is to use a version of ntpdc that matches the version
of ntpd, otherwise you can find differences in internal structures etc.

-- 
                      Ronan Flood <R.Flood at noc.ulcc.ac.uk>
                        working for but not speaking for
             Network Services, University of London Computer Centre
     (which means: don't bother ULCC if I've said something you don't like)



More information about the questions mailing list