[ntp:questions] Symmetric Key samples

Dave Hart davehart at gmail.com
Fri Dec 2 18:42:22 UTC 2011


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