index.html   [plain text]


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<meta name="generator" content="HTML Tidy, see www.w3.org">
		<title>The Network Time Protocol (NTP) Distribution</title>
		<link href="scripts/style.css" type="text/css" rel="stylesheet">
	</head>

	<body>
		<h3>The Network Time Protocol (NTP) Distribution</h3>
		<img src="pic/barnstable.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/%7emills/pictures.html"><i>P.T. Bridgeport Bear</i>; from <i>Pogo</i>, Walt Kelly</a>
		<p>Pleased to meet you.</p>
		<p>Last update:
			<!-- #BeginDate format:En2m -->07-Nov-2009  20:43<!-- #EndDate --> 
		UTC</p>
<br clear="left">
		<h4>Related Links</h4>
		<ul>
			<li>A list of all links is on the <a href="sitemap.html">Site Map</a> page.</li>
		</ul>
		<h4>Table of Contents</h4>
		<ul>
			<li class="inline"><a href="#intro">Introduction</a></li>
			<li class="inline"><a href="#build">Building and Installing NTP</a></li>
			<li class="inline"><a href="#conf">Configuring Clients and Servers</a></li>
			<li class="inline"><a href="#opt">Features and Options</a></li>
			<li class="inline"><a href="#prob">Resolving Problems</a></li>
			<li class="inline"><a href="#info">Further Information</a></li>
	</ul>
		<hr>
		<h4 id="intro">Introduction</h4>
		<p>Note: The NTP Version 4 software contained in this distribution is available without charge under the conditions set forth in the <a href="copyright.html">Copyright Notice</a>.</p>
		<dl>
		<dd>It is very important that readers understand that the NTP document collection began 25 years ago and remains today a work in progress. It has evolved as new features were invented and old features retired. It has been widely copied, cached and morphed to other formats, including man pages, with varying loss of fidelity. However, these HTML pages are the ONLY authoritative and definitive reference. Readers should always use the collection that comes with the distribution they use. A copy of the online collection at <a href="http://www.ntp.org">www.ntp.org</a> is normally included in the most recent snapshot, but might not agree with an earlier snapshot or release version.</dd>
		</dl>
		<p>The Network Time Protocol (NTP) is widely used to synchronize a computer
			to Internet time servers or other sources, such as a radio or satellite
			receiver or telephone modem service. It can also be used as a server
			for dependent clients. It provides accuracies typically less than
			a millisecond on LANs and up to a few milliseconds on WANs. Typical
			NTP configurations utilize multiple redundant servers and diverse
			network paths in order to achieve high accuracy and reliability.
			Authentication is provided  using symmetric key cryptography and
			the MD5 message digest algorithm included in the distribution. If
			the OpenSSL cryptographic library is installed, the SHA or SHA1 message
			digest algorithms can be used. If the OpenSSL library is installed,
			additional options based on public key cryptography are available.</p>
	<p>NTP time synchronization services are widely available in the public Internet.
		The public NTP subnet in early 2008 includes several thousand servers
		in most countries and on every continent of the globe, including Antarctica.
		These servers support a total population estimated at over 25 million computers
		in the global Internet. The NTP subnet operates with a hierarchy of levels,
		where each level is assigned a number called the stratum. Stratum 1 (primary)
		servers at the lowest level are directly synchronized to national time services.
		Stratum 2 (secondary) servers at the next higher level are synchronize to stratum
		1 servers and so on. Normally, NTP clients and servers with a relatively small
		number of clients do not synchronize to public primary servers. There
		are several hundred public secondary servers operating at higher strata and
		are the preferred choice. </p>
		<p>Background information on computer network time synchronization is on the <a href="http://www.eecis.udel.edu/%7emills/exec.html">Executive Summary - Computer Network Time Synchronization</a> page. Discussion on new features and interoperability with previous NTP versions is on the <a href="release.html">NTP Version 4 Release Notes</a> page. Background information, bibliography and briefing slides suitable for presentations are on the <a href="http://www.eecis.udel.edu/%7emills/ntp.html">Network Time Synchronization Research Project</a> page. Additional information is at the NTP web site <a href="http://www.ntp.org">www.ntp.org</a>.</p>
		<h4 id="build">Building and Installing NTP</h4>
		<p>NTP supports Unix, VMS and Windows (Vista, XP, NT4 and 2000) systems. The <a href="build.html">Building and Installing the Distribution</a> page details the procedures for building and installing on a typical system. This distribution includes drivers for 44 radio and satellite receivers and telephone modem services in the US, Canada and Europe. A list of supported drivers is on the <a href="refclock.html">Reference Clock Drivers</a> page. The default build includes the debugging options and all drivers that run on the target machine; however, options and drivers can be included or excluded using options on the <a href="config.html">Configuration Options</a> page.</p>
		<h4 id="conf">Configuring Clients and Servers</h4>
		<p>NTP is by its very nature a complex distributed network application and can be configured for widely divergent timekeeping scenarios. The documentation on these pages attempts to cover the entire suite of configuration, operation and maintenance features which this distribution supports. However, most applications will need only a few of these features. The <a href="quick.html">Quick Start</a> page may be useful to get a simple workstation on the air with existing servers.</p>
		<p>The most important factor in providing accurate, reliable time is the selection of modes and servers in the configuration file. A discussion on the available modes is on the <a href="assoc.html">Association Management</a> page. The current public server list is maintained at the <a href="http://www.ntp.org">www.ntp.org</a> web site. In many cases the configuration can be automated using the schemes described on the <a href="manyopt.html">Automatic Server Discovery Schemes</a> page.</p>
		<h4 id="opt">Features and Options</h4>
		<p>This distribution includes a statistics data recording facility which can record performance statistics and events of various types for retrospective analysis. These include time and frequency statistics, significant events and usage statistics described on the <a href="monopt.html">Monitoring Options</a> page.</p>
		<p>Some programs included in this distribution use cryptographic algorithms to verify server authenticity. Where local security policy permits relatively weak symmetric key cryptography, the required software is included in this distribution. Where local policy requires stronger public key cryptography, the OpenSSL library available from <a href="http://www.openssl.org">http://www.openssl.org</a> is required. This library is also used by the Secure Shell facility, so is often already installed. Additional details are on the <a href="authopt.html">Authentication Options</a> page.</p>
		<p>This distribution includes features that can restrict access in various ways as described on the <a href="accopt.html">Access Control Options</a> page. This can be used to deny service if not authenticated, deny service requiring persistent resources or deny service altogether.</p>
		<p>This distribution includes a simulation framework in which substantially
			all the runtime NTP operations and most features can be tested and
			evaluated. This has been very useful in exploring in vitro response
			to unusual circumstances or over time periods impractical in vivo. Details
			are on the <a href="ntpdsim.html">Network
			Time Protocol (NTP) Simulator</a> page.</p>
		<h4 id="prob">Resolving Problems</h4>
		<p>Like other things in modern Internet life, NTP problems can be devilishly intricate. This distribution includes a number of utilities designed to identify and repair problems using an integrated management protocol supported by the <a href="ntpq.html"><tt>ntpq</tt></a> utility program In addition, the <a href="ntpdc.html"><tt>ntpdc</tt></a> utility program can be useful in some cases.</p>
		<p>The <a href="debug.html">NTP Debugging Techniques</a> and <a href="hints.html">Hints and Kinks</a> pages contain useful information for identifying problems and devising solutions. Additional information on reference clock driver construction and debugging is in the <a href="rdebug.html">Debugging Hints for Reference Clock Drivers</a> page.</p>
		<p>Users are invited to report bugs and offer suggestions via the <a href="bugs.html">NTP Bug Reporting Procedures</a> page.</p>
		<h4 id="info">Further Information</h4>
		<p>The <a href="sitemap.html">Site Map</a> page contains a list of document collections arranged by topic. The Program Manual Pages collection may be the best place to start, followed by the <a href="comdex.html"></a>Configuration Commands and Options collection. The <a href="comdex.html">Command Index</a> collection contains a list of all configuration file commands together with a short function description. A great wealth of additional information is available via the External Links collection, including a book and numerous background papers and briefing presentations.</p>
		<hr>
		<div align="center">
			<img src="pic/pogo1a.gif" alt="gif"></div>
		<br>
		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
	</body>

</html>