[ntp:questions] Authentication problem
Danny Mayer
mayer at ntp.isc.org
Fri Feb 29 20:48:52 UTC 2008
Dennis Hilberg, Jr. wrote:
> Not that it matters, as no one is maintaining ntpdc currently, but I think I
> found a bug while messing with it:
>
> saturn:$ ntpdc
> ntpdc> keyid
> no keyid defined
> ntpdc> unconfig 63.240.161.99
> MD5 Password:
> ***Permission denied
> ntpdc> keyid
> keyid is 134682920
>
> It seems to randomly generate a keyid and specify it for use, and then
> prompt for a password for that keyid even though it doesn't exist. And if I
> do it again:
>
> saturn:$ ntpdc
> ntpdc> keyid
> no keyid defined
> ntpdc> unconfig 63.240.161.99
> MD5 Password:
> ***Permission denied
> ntpdc> keyid
> keyid is 134686616
>
> A different keyid is generated.
>
> Anyway, thanks for the help!
>
it's using an uninitialized variable so the value is random junk. We
probably should set it to 0 assuming that you cannot use 0 for a keyid.
Danny
More information about the questions
mailing list