Search:

Home | Computer | Networks


NTP Time Server Misuse and Abuse

The NTP protocol is an Internet protocol developed for the transfer of accurate time around a network. NTP has a hierarchical structure, each level or stratum in the structure serving the next level down. At the very top of the structure resides a stratum 1 server that synchronises to an external timing reference. Network time clients have access to a large number of stratum 1 NTP time servers that reside on the Internet.

Over the last few years, there have been a number of NTP server abuse and misuse reports. This article discusses some of the reported NTP time server abuse incidents and describes NTP configuration methods that can reduce such problems. Most incidents seem to have occurred due to manufacturer configuration issues rather than malicious intent.

Many NTP server misuse issues have arisen from client configuration errors, particularly in consumer electronic equipment. Due to the volume of consumer electronic equipment manufactured and in-use, any configuration issues with equipment that access NTP time servers can greatly magnify problems. Typically, clients with configuration errors or firmware bugs that cause repeated access to a network time server can cause server loading problems when a large number of clients are involved.

A recent high-profile incident of consumer electronic equipment causing NTP server problems was with consumer router equipment. Home router devices were accessing stratum 1 Internet time servers and flooding them with requests for time. Many NTP time server administrators noticed a large increase in traffic and server loading. Many stratum 1 NTP servers have an access policy that forbids anything other than a stratum 2 server from requesting time. Home router equipment should not therefore directly access a stratum 1 time server.

In another seperate NTP server abuse case, an Internet NTP time server resource was being swamped by increasingly larger volumes of requests for time. It was initially thought that this was due to an attack on the server. However, the amount of traffic continued to rise over time rather than decrease. Eventually, it was found that a number of router devices manufactured by a well-known network equipment manufacturer had hard-coded the IP address of the time server into the routers firmware. Each router in operation was contacting the server at regular intervals in an attempt to synchronise time. The volume of devices in operation eventually overloaded the server.

The NTP protocol implements a rather general-purpose address mask restricted use policy. This allows only IP addresses within a specified range or that fit a specified address mask access to a NTP time server. Alternatively, clients can be excluded from access by explicitly including them in a restriction list. Rogue clients can therefore be excluded access to the NTP server by explicitly restricting access.

Usually, the server drops NTP requests that are denied access. However, occasionally a harsher response is required. The server can respond with a message explicitly requesting the client to cease sending. A 'kiss-o-death' packet has been created especially for this purpose. Kiss codes can convey useful information to an intelligent client. The packet contains character strings, that can be easily read in log files, that explain the denial of service. When a client receives a ‘kiss-o-death' packet, it should stop sending to a particular server and locate an alternative server, if available. If an altenative is unavailable, the time client should only re-contact the time server after an exponentially increasing time.

By: David Evans

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

D. Evans is a technical author with a background in NTP time server solutions, reference clocks and telecommunications devices. Click here to find out more about network time server solutions.

If You want to use this article on your website then select COPY THIS ARTICLE in the Menu on the right side!

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Networks Articles Via RSS!

Alternative Energy |  Arts & Entertainment |  Business |  Communications |  Computer |  Disease |  Environment |  Family |  Fashion |  Finance
Food & Drink |  Health & Fitness |  Home & Garden |  Internet Business |  News & Society |  Politics |  Product Reviews |  Recreation & Sports
Reference & Education |  Self Improvement |  Shopping |  Technology |  Travel & Leisure |  Vehicles |  Writing & Speaking

Copyright © 2007 www.myaddirectory.com


Powered by WebRing.

Powered by Article Dashboard