Subject: Re: ntp v4 - no authentication?
To: None <paul@whooppee.com>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 06/26/2000 18:00:45
Simon Burge wrote:

> Paul Goyette wrote:
> 
> > Is there some reason why we are building ntpv4 without defining either
> > DES or MD5?   
> 
> Ahh, it looks like you need to specifically enable md5 keys, whereas I
> (wrongly!) assumed that they would be enabled by default.  DES keys are
> on the way out - the NTP people are hoping it will die a quick death.

It turns out I was wrong about my assumption, --enable-md5 appears to be
the default.  Certainly the distribution config.h has

	/* MD5 authentication */
	#define MD5 1

in it and compiles some md5 code in

	alpha:usr.sbin/ntp/ntpd 21> nm obj.alpha/ntpd | grep -i md5
	0000000120041a20 T MD5Final
	00000001200418a0 T MD5Init
	0000000120041ac0 t MD5Transform
	00000001200418e0 T MD5Update
	0000000120042a20 t MD5_memcpy
	0000000120042a80 t MD5_memset
	00000001200411a0 T MD5auth_setkey
	00000001200417c0 T MD5authdecrypt
	00000001200416e0 T MD5authencrypt

Have you tried to use MD5 keys?

Simon.