[ntp:hackers] 4.2.5p84: only the last trustedkeys line is used

Danny Mayer mayer at ntp.isc.org
Sun Oct 21 16:05:52 UTC 2007


timelord at horizon.com wrote:
> [Third try; if this doesn't work, does anyone know if Mailman prefers
> blood or burnt offerings?]
> 
> I decided to try running a development snapshot, and had problems with
> authenticated connections, because it looks like each trustedkeys line
> in ntp.conf *overwrites* the trustedkeys list, rather than adding to it.
> 
> ntpd/ntp_parser.y lines 426-427:
> 	|	T_Trustedkey integer_list
>                     { my_config.auth.trusted_key_list = $2;  }
> 
> (This also leaks the memory of the overwritten lists.)
> 
> It does, however, seem to be working.  We'll leave it in production for
> a while and see how it goes.


Please file a bug report on this.

Thanks,
Danny


More information about the hackers mailing list