[ntp:hackers] 4.2.5p203 adds ntpq dumpcfg command

Harlan Stenn stenn at ntp.org
Tue Aug 18 17:15:00 UTC 2009

Dave Hart wrote:
> On Mon, Aug 17, 2009 at 10:24 PM, Hal Murray wrote:
> > Perhaps I'm confused about what the dumpcfg command does.  I was expecting
> > ntpq to extract the current config tree over the net and write it to a file
> > on the system running ntpq.  It sounds as though ntpd is writing it on the
> > system running ntpd.
> That's right.  Returning the output to ntpq might be useful, but it's
> challenging since you're dealing with small packets and a datagram
> protocol with no guarantees of delivery or order.

Having a way to send the config back to the requesting system is an
interesting idea, and I'd be up for doing that via a TCP connection at
some point in the future (ie, I don't think we're gonna get there before
4.2.6 is released).


More information about the hackers mailing list