Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

Using Ntp Authentication

By: David Evans Home | Computers-and-Technology


NTP or Network Time Protocol to give it its full name is an internet protocol designed to distribute precise time around a network. NTP is a UDP based protocol used to synchronize system time on network infrastructure, such as servers, workstations and network equipment .
This article describes how to utilise the Network Time Protocol authentication features to authenticate time references when synchronizing clients to a NTP server.

NTP Server Security

Network Time Protocol is used to provide a precise time reference for time critical applications. Therefore, NTP can pose a security risk if malicious users attempt to corrupt a NTP timestamp to create a false time on network equipment.

NTP provides increased security in the form of authentication. Authentication is intended to overcome security risks by ensuring that any response received from an NTP time server has come from the intended reference. The client sends a request for time to a NTP server. The server then responds to the client with a precise timestamp along with one of a number of agreed encrypted keys. On receipt of the timestamp, the client un-encrypts the key and verifies it against a list of trusted keys. The client can then be sure that the received timestamp was indeed transmitted from the intended time reference. NTP utilises MD5 encryption (Message Digest Encryption 5), which is a 128-bit cryptographic hash function, which outputs a fingerprint of the key. MD5 is a highly secure encryption algorithm, widely used on the internet for authentication and security purposes.

NTP Authentication Keys

NTP authentication keys are codes that are encrypted on both the server and client that are used to identify the NTP time server. NTP authentication keys are stored in a file usually called 'ntp.keys'. Each authentication key consists of a key number, an encryption code and the key itself.

E.g. NTP server keys:

2 M VisioN
5 M SeRvEr
7 M TiMeLy
10 M MYKEY
12 M TiDy
14 M MaGic

The authenication key number acts as a reference to the specified authentication key. The encryption code specifies the type of encryption to be utilised, e.g. 'M' for MD5 encryption. The actual keys must be identical on both the client and the NTP time server. The client may utilise a sub-set of the authentication keys specified on the NTP Server. The keys are case sensitive.

E.g. client keys:

5 M SeRvEr
7 M TiMeLy
10 M MYKEY
14 M MaGic

Trusted Authentication Keys

Trusted authentication keys are specified in the NTP server configuration file, 'ntp.conf'. Trusted keys specify which subset of keys are currently activeand can be used by the NTP server. This allows a sub-set of trusted keys to be selected from a potentially large keys file. The trusted keys specifier allows key references to be changed easily without editing the keys file. Trusted keys are selected using the 'trusted-keys' configuration command.

E.g.

trusted-keys 7 10 14

This specifies that authentication keys with the key references of 7, 10 and 14 are trusted and can be used by the NTP installation.

NTP Security Summary

Essentially, authentication is used by the client to authenticate that the NTP server is who he says he is, and that no rogue server intervenes. The key is encrypted and sent to the client by the server where it is unencrypted and checked against the client keys to ensure a match. Authenication provides NTP with a high level of security to prevent malicous tampering of timestamp information.



Article Source: http://www.eArticlesOnline.com

About the Author:
The author, David Evans, develops SNTP and NTP server time synchronization solutions that ensure accurate time on computers and computer networks. Dave has been heavily involved in the development of dedicated time server systems, Ethernet NTP digital wall clock systems and atomic clock products. Click here to find out more about SNTP and Linux NTP Server solutions.


Tags: , , , , , , , , , ,

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Computers-and-Technology Articles Via RSS!

Recent Related Articles From Computers-and-Technology

  • Lost Car Keysâ€â€? Here Is The Best Car Locksmith.
    By: Charles Harris | Nov 8th 2010
    Have you lost your car key? And that was your only car key? These are the common questions you face once you have lost your key. You can’t find any solution for your problem from these questions. Instead it makes you to run round the office or home in search of car key. Read

  • Security Systems To Ensure High Levels Of Security
    By: Charles Harris | Nov 8th 2010
    Developments in technology have changed the face of modern world. Machines and techniques have made things easier than ever. The entire world has become a machine working via a remote control. However, improvements in technology have also increased fraud and scam. Read

  • Dallas Transponder Keys: Safeguarding Your Car
    By: Steven Patterson | Apr 13th 2011
    Transponder keys system is far better than traditional locks in Dallas cars. Read

  • High Quality Car Keys
    By: Charles Harris | Nov 8th 2010
    Are you frustrated with your current car security system? Do you want to try out any new technique in the security system? Bring utility patent keys for your car. This is one of the effective car security system used by people round the globe. It offers high levels of security and safety to your cars or other motor vehicles ... Read

  • Printed Keys Makes You Stylish
    By: craze key | Jan 29th 2010
    Printed keys are the latest trend. With the latest technique for painted keys you can get many new and latest designs like guitar keys, golf key, diva keys, and many more. Well known personality keys are also available like Marilyn Monroe, president Obama, and Hollywood personality key. Car key blanks like NA12, XL-7 are a ... Read

  • World Class Security Systems For Car
    By: Charles Harris | Nov 8th 2010
    Security systems and locksmiths play a vital role in protecting your valuable materials. Today, necessity for the services of locksmiths has increased a lot as majority of people now own car and other motor vehicles. Read

  • Perfect Keys To Prevent Burglary
    By: Charles Harris | Nov 8th 2010
    Key control is one of the essential parts in lock security process. Using patented key blanks is a good idea to stop the method of making a duplicate key from any locksmith. Patented key blanks can only be distributed by the lock manufacturer. This type of security locks provides peace of mind and satisfaction to customers. ... Read

  • Effect Of Great Recession In Lock And Key Industry
    By: ChrisX | Oct 8th 2010
    We have been noticing and observing that the impact and effect of great recession in the lock and key industry is drastic. Large number of changes has been inflicted on this industry due to multiple factors. Read

  • Configuring Ntp On Your Linux Server
    By: David Evans | Mar 22nd 2007
    This article describes how to configure the Network Time Protocol (NTP) daemon on your Linux server to synchronise with an Internet based NTP server. It also provides a list of well-know public Internet time references. Read

  • How To Configure An Ntp Network Time Server In Windows Xp
    By: Richard Williams | Apr 22nd 2008
    This article describes how to configure Windows XP to act as an authoritative time server using NTP (Network Time Protocol). Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy