NTP Authentication
 
*
Welcome, Guest. Please login or register. November 21, 2008, 09:40:38 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: NTP Authentication  (Read 748 times)
0 Members and 1 Guest are viewing this topic.
John R Peck
Administrator
Senior Member
*****
Posts: 51


« Reply #3 on: May 05, 2008, 07:04:06 PM »


Well if the NTP is working, and therefore the authentication, when you change the clock on the server you should soon have the clients altering their clocks to match.
Logged
newbi
New Member
*
Posts: 4


« Reply #2 on: May 05, 2008, 07:05:47 AM »

Thanks a lot John! I have tried out your suggestion on our NTP servers. How do check though if the authentication is working? Is there any command to test? Or probably, how do I test if ntp is still working?

thanks again!
Logged
John R Peck
Administrator
Senior Member
*****
Posts: 51


« Reply #1 on: April 29, 2008, 04:07:24 PM »

The “xntpd” service – for clients of the machine to be able to use the machine as a time server - is configured as follows.

Edit “/etc/ntp.conf”, comment out "broadcastclient" with a "#":

#broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

Add the following lines pointing to the machine itself:
server 127.127.1.0 prefer               # 10.X.X.X - self
fudge 127.127.1.0 stratum 0             # values for local clock
keys /etc/ntp.keys                      # where the keys are
trustedkey 15                           # keyid's we trust
requestkey 15                           # keyid for mode 7 requests (xntpdc)
controlkey 15                           # keyid for mode 6 requests (ntpq)
enable auth                             # turn on authentication
#broadcast xxt.xxx.xxx.xxx              # turn on broadcast


Create the file “/etc/ntp.keys”, based on the sample file provided “/usr/samples/xntp/example.keys”.  Change the key values to your own password-like entries:

2    M   admin
15   M   root

Logged
newbi
New Member
*
Posts: 4


« on: April 29, 2008, 09:11:52 AM »

Hi All,

Can you advise how to configure NTP authentication from one NTP server to the other? Is there something to be ran to generate ntp.keys or that has to be manually created?

Thanks in advance!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.591 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET