[ntp:questions] ntpdc and collectd queries timeout
David Lord
snews at lordynet.org
Fri Jan 24 14:46:16 UTC 2014
Steve Kostecke wrote:
> On 2014-01-24, David Lord <snews at lordynet.org> wrote:
>
>> On NetBSD-6 i386 ntp-dev-4.2.7p410
>> $ ntpdc -c kern
>> localhost: timed out, nothing received
>> ***Request timed out
>>
>> Perhaps that is intended behavior for 2014 given recent
>> DDOS attacks?
>
> According to http://archive.ntp.org/ntp4/ChangeLog-dev
> mode 7 requests were disabled more than 2 years ago:
>
> (4.2.7p230) 2011/11/01 Released by Harlan Stenn <stenn at ntp.org>
> * Disable mode 7 (ntpdc) query processing in ntpd by default. ntpq is
> believed to provide all functionality ntpdc did, and uses a less-
> fragile protocol that's safer and easier to maintain. If you do find
> some management via ntpdc is needed, you can use "enable mode7" in the
> ntpd configuration.
>
Before joining the pool in 2009 I'd changed most of my monitoring
scripts to use ntpq rather than ntpdc.
$ ntpq -c kerninfo me6000e
associd=0 status=011d leap_none, sync_pps, 1 event, kern,
pll offset: -0.000148
pll frequency:
........
David
More information about the questions
mailing list