[ntp:questions] Symmetric Key samples

Joe Smithian joe.smithian at gmail.com
Mon Dec 5 14:34:39 UTC 2011


Hi Dave,

Thanks Dave for your reply. I've already tested MD5 and it worked, I just
generated SHA 1 keys using "ntp-keygen -M" and  tried SHA1 and it also
worked.
My question is about A, N and S keys, how to generate them? Are they still
supported in ntp 4.2.6?

Thanks.

Joe


On Fri, Dec 2, 2011 at 1:42 PM, Dave Hart <davehart at gmail.com> wrote:

> On Fri, Dec 2, 2011 at 14:39, Joe Smithian <joe.smithian at gmail.com> wrote:
> > Hi,
> >
> > I've defined the following symmetric keys in my NTP client and serve but
> > they didn't work. I defined them based on my understanding of the ntp key
> > man page which doesn't have sample keys.
>
> Which version of ntpd are you using?  ntpq -c "rv 0 version" will tell you.
>
> > 1 A   passA1
> > 2 N   0xC7D3C7D3C7D3C7D3
> > 3 S   0xD7DAD7DAD7DAD7DA
> > 4 S   0xd5b5cdd9dcfec1f1
>
> The type column M (for MD5) is the most broadly supported.  With 4.2.6
> and later, a number of other digest algorithms are supported.  See
> http://www.eecis.udel.edu/~mills/ntp/html/authentic.html for an
> example suitable for 4.2.6 and later.
>
> Cheers,
> Dave Hart
>


More information about the questions mailing list