Security

Restrict NTP mode 6 queries to local host

 
SOLVED
Go to solution
Kauser
Advisor

Restrict NTP mode 6 queries to local host

Dear Concern,

Please assist us the procedure to restrict NTP mode 6 queries to local host where system is running under HP-UX 11.31.

With Best Regards,

Kauser

5 REPLIES 5
Kauser
Advisor

Re: Restrict NTP mode 6 queries to local host

Dear Concern,

Current NTP configuration (/etc/ntp.conf) is as follow.

server ip_address

restrict -6 default kod nomodify notrap nopeer noquery

disable monitor

 

Jaganraj_J
HPE Pro

Re: Restrict NTP mode 6 queries to local host

Edit /etc/ntp.conf file and add the below mentioned enteries

restrict -6 default nomodify notrap noquery

restrict :: default nomodify notrap noquery

restrict default nomodify notrap noquery

 

 

 


I am a HPE Employee

Accept or Kudo

Kauser
Advisor

Re: Restrict NTP mode 6 queries to local host

If configuration file looks like below, is it ok or just need to add mentioned three lines from previous post?

server ip_address

restrict -6 default kod nomodify notrap nopeer noquery

restrict :: default kod nomodify notrap nopeer noquery

restrict default kod nomodify notrap nopeer noquery

disable monitor
Kauser
Advisor
Solution

Re: Restrict NTP mode 6 queries to local host

We've modify ntp.conf file configuration as below:

 

server ip_address

restrict -6 default nomodify notrap noquery

restrict :: default nomodify notrap noquery

restrict default nomodify notrap noquery

disable monitor

 

After restart ntpd service and wait for long period, get following error message. Please advise.

#ntpq -pn

127.0.0.1: timed out, nothing received

***Requested timed out

 

Kauser
Advisor

Re: Restrict NTP mode 6 queries to local host

Dear Concern,

 

Plese be noted, this host acts as a NTP client and doesn’t provide a public time service. Please suggest.