[ntp:questions] how to use restrict to refuse the clients which have no shared-keys

Steve Kostecke kostecke at ntp.org
Thu Jul 25 14:11:15 UTC 2013


On 2013-07-25, Jun Hu <duanshuidao at hotmail.com> wrote:

> after each host run ntpd , I found the client B still can normally
> sync time with ntp server ,same with client A. why ?
>
> my ntp version is 4.2.4 , how to use restrict to refuse the clients
> which have no shared-keys ? what I will do ?

Take another look at http://doc.ntp.org/4.2.4/accopt.html and look for a
restrict flag which applies to authenticated packets. 

-- 
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/



More information about the questions mailing list