]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2886] Mis-spelling: "outlyer" should be "outlier". dave@horsfall.org
authorHarlan Stenn <stenn@ntp.org>
Sun, 26 Jul 2015 06:37:30 +0000 (06:37 +0000)
committerHarlan Stenn <stenn@ntp.org>
Sun, 26 Jul 2015 06:37:30 +0000 (06:37 +0000)
bk: 55b4802aMxladp1aMGeB8v8XNaAfcg

16 files changed:
ChangeLog
html/decode.html
html/stats.html
include/ntp_control.h
libntp/statestr.c
ntpd/invoke-ntp.conf.texi
ntpd/ntp.conf.5man
ntpd/ntp.conf.5mdoc
ntpd/ntp.conf.def
ntpd/ntp.conf.html
ntpd/ntp.conf.man.in
ntpd/ntp.conf.mdoc.in
ntpd/ntp_loopfilter.c
ntpd/ntp_proto.c
ntpq/libntpq.h
ntpq/ntpq-subs.c

index 7b6f46d4f130f754846cc2b56ee1db8b6be22e36..4453d3e623fe61cdf5626b75b7d9e2f1cacbd283 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
 * [Bug 2875] sntp/Makefile.am: Get rid of DIST_SUBDIRS.  libevent must
   be configured for the distribution targets.  Harlan Stenn.
 * [Bug 2883] ntpd crashes on exit with empty driftfile.  Miroslav Lichvar.
+* [Bug 2886] Mis-spelling: "outlyer" should be "outlier".  dave@horsfall.org
 * libntp/emalloc.c: Remove explicit include of stdint.h.  Harlan Stenn.
 * Put Unity CPPFLAGS items in unity_config.h.  Harlan Stenn.
 * tests/ntpd/g_leapsec.cpp typo fix.  Harlan Stenn.
index 51603ad67aaed8da4deed8ab28aec70dcbff5120..a15046f3f22bcd24a5512ac9e51bb082e902c6dc 100644 (file)
@@ -11,7 +11,7 @@
 <img src="pic/alice47.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/%7emills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a>
 <p>Caterpillar knows all the error codes, which is more than most of us do.</p>
 <p>Last update:
-  <!-- #BeginDate format:En2m -->16-Jul-2014  04:48<!-- #EndDate -->
+  <!-- #BeginDate format:En2m -->26-Jul-2015  06:26<!-- #EndDate -->
     UTC</p>
 </p>
 <br clear="left">
   </tr>
   <tr>
     <td><tt>3</tt></td>
-    <td><tt>sel_outlyer</tt></td>
+    <td><tt>sel_outlier</tt></td>
     <td><tt>-</tt></td>
     <td>discarded by the cluster algorithm</td>
   </tr>
index 943851773c17748af51cb8a70650f00edf000757..c5bc34c41612beb436460471394a373d6dfa5443 100644 (file)
@@ -7,9 +7,9 @@
 <link href="scripts/style.css" type="text/css" rel="stylesheet">
 </head>
 <body>
-<h3>Performance  Metrics</h3>
+<h3>Performance Metrics</h3>
 <p>Last update:
-  <!-- #BeginDate format:En2m -->10-Mar-2014  05:23<!-- #EndDate -->
+  <!-- #BeginDate format:En2m -->26-Jul-2015  06:29<!-- #EndDate -->
     UTC</p>
 <h4>Related Links</h4>
 <script type="text/javascript" language="javascript" src="scripts/special.txt"></script>
 
 <p>This page describes several statistics provided in the NTP specification and reference implementation and how they determine the accuracy and error measured during routine and exceptional operation. These statistics provide the following information.</p>
 <ul>
-  <li>Nominal   estimate of the server clock time relative to the client clock time. This is called <em>clock offset</em> symbolized by the Greek letter &theta;.</li>
-  <li>Roundtrip  system and network delay measured by the on-wire protocol. This is call <em>roundtrip delay</em> symbolized by the Greek letter &delta;.</li>
-  <li>Potential  clock offset error due to the maximum uncorrected system clock frequency error. This is called <em>dispersion</em> symbolized by the Greek letter &epsilon;.</li>
-  <li>Expected error, consisting of the root mean square (RMS) nominal clock offset sample differencess  in a sliding window of several samples. This is called <em>jitter</em> symbolized by the Greek letter &phi;.</li>
+  <li>Nominal estimate of the server clock time relative to the client clock time. This is called <em>clock offset</em> symbolized by the Greek letter &theta;.</li>
+  <li>Roundtrip system and network delay measured by the on-wire protocol. This is call <em>roundtrip delay</em> symbolized by the Greek letter &delta;.</li>
+  <li>Potential clock offset error due to the maximum uncorrected system clock frequency error. This is called <em>dispersion</em> symbolized by the Greek letter &epsilon;.</li>
+  <li>Expected error, consisting of the root mean square (RMS) nominal clock offset sample differencess in a sliding window of several samples. This is called <em>jitter</em> symbolized by the Greek letter &phi;.</li>
 </ul>
 <p> Figure 1 shows how the various measured statistics are collected and compiled to calibrate NTP performance.</p>
 <div align="center">
 <img src="pic/stats.gif" alt="gif">
 <p>Figure 1. Statistics Budget</p>
 </div>
-<p>The data represented in  boxes labeled Server are contained in fields in  packet received from the server. The data represented in boxes labeled Peer are computed by the on-wire protocol, as described below. The algorithms of the box labeled Selection and Combining Algorithms process the peer data to select a system peer. The System box represents summary data inherited from  the system peer. These data are available to  application programs and dependent downstream clients.</p>
+<p>The data represented in boxes labeled Server are contained in fields in packet received from the server. The data represented in boxes labeled Peer are computed by the on-wire protocol, as described below. The algorithms of the box labeled Selection and Combining Algorithms process the peer data to select a system peer. The System box represents summary data inherited from the system peer. These data are available to application programs and dependent downstream clients.</p>
 <h4 id="budget">2. Statistics Summary</h4>
-<p>Each NTP synchronization source is characterized by the   offset &theta; and delay &delta; samples measured by the on-wire protocol, as described on the <a href="warp.html">How NTP Works</a> page. In addition, the   dispersion &epsilon;  sample is initialized with the sum of the source precision &rho;<sub>R</sub> and the client precision &rho;  (not shown) as each source packet is received. The dispersion increases  at a rate of 15 &mu;s/s after that. For this purpose, the precision is equal to the latency to read the system clock. The offset, delay and dispersion are called the sample statistics.</p>
+<p>Each NTP synchronization source is characterized by the offset &theta; and delay &delta; samples measured by the on-wire protocol, as described on the <a href="warp.html">How NTP Works</a> page. In addition, the dispersion &epsilon; sample is initialized with the sum of the source precision &rho;<sub>R</sub> and the client precision &rho; (not shown) as each source packet is received. The dispersion increases at a rate of 15 &mu;s/s after that. For this purpose, the precision is equal to the latency to read the system clock. The offset, delay and dispersion are called the sample statistics.</p>
 <blockquote>
-  <p>Note. In very fast networks where the client clock frequency is not within 1 PPM or so of the the  server clock frequency, the roundtrip delay may have small negative values.  This is usually a temporary condition when the client is first started. When using the roundtrip delay in calculations, negative values are assumed zero.</p>
+  <p>Note. In very fast networks where the client clock frequency is not within 1 PPM or so of the the server clock frequency, the roundtrip delay may have small negative values.  This is usually a temporary condition when the client is first started. When using the roundtrip delay in calculations, negative values are assumed zero.</p>
 </blockquote>
-<p> In a window of eight (offset, delay, dispersion) samples, the algorithm described on the <a href="filter.html">Clock Filter Algorithm</a> page selects the  sample with  minimum  delay, which generally represents the most accurate offset statistic. The selected offset sample determines the <em>peer offset</em> and <em>peer delay </em>statistics. The <em>peer dispersion</em> is  a weighted average of the dispersion samples in the window.  These quantities are recalculated as each  update is received from the source. Between updates, both the sample dispersion and  peer dispersion continue to grow at the same  rate, 15 &mu;s/s. Finally, the <em>peer jitter</em> &phi; is determined as the RMS  differences between  the offset samples in the window relative to the selected offset sample. The peer    statistics are recorded by the <tt>peerstats</tt> option of the <a href="monopt.html#filegen"><tt>filegen</tt></a> command. Peer variables are displayed by the <tt>rv</tt> command of the <a href="ntpq.html#peer"><tt>ntpq</tt></a> program.</p>
-<p> The clock filter algorithm continues to process updates in this way until the source is no longer reachable. Reachability is determined by an eight-bit shift register, which is shifted left by one bit as each poll packet is sent, with 0 replacing the vacated rightmost bit. Each time a valid update is received, the rightmost bit is set to 1. The source is considered reachable if any bit is set to 1 in the register; otherwise, it is considered unreachable. When a source becomes unreachable, a  dummy sample with  &quot;infinite&quot; dispersion  is inserted in the filter window at each poll, thus displacing old samples. This causes the peer dispersion to  increase eventually to infinity.</p>
-<p>The composition of  the source population and the system peer selection is redetermined as each update from each source is received. The system peer and system variables are determined as described on the <a href="prefer.html">Mitigation Rules and the <tt>prefer</tt> Keyword</a> page.  The system variables &Theta;, &Delta;, &Epsilon; and &Phi; are updated from the  system peer variables of the same name and the system stratum set one greater than the system peer stratum. The system    statistics are recorded by the <tt>loopstats</tt> option of the <a href="monopt.html#filegen"><tt>filegen</tt></a> command. System variables are displayed by the <tt>rv</tt> command of the <a href="ntpq.html#system"><tt>ntpq</tt></a> program.</p>
-<p>Although it might seem counterintuitive, a cardinal rule in the selection process is, once a sample has been selected by the clock filter algorithm,  older samples are no longer selectable. This applies also to the clock select algorithm. Once the peer variables for a source have been selected, older variables of the same or other sources are no longer selectable. The reason for these rules is to limit the time delay in the  clock discipline algorithm. This is necessary to  preserve the optimum impulse response and thus the risetime and overshoot.</p>
+<p> In a window of eight (offset, delay, dispersion) samples, the algorithm described on the <a href="filter.html">Clock Filter Algorithm</a> page selects the sample with minimum delay, which generally represents the most accurate offset statistic. The selected offset sample determines the <em>peer offset</em> and <em>peer delay </em>statistics. The <em>peer dispersion</em> is a weighted average of the dispersion samples in the window.  These quantities are recalculated as each update is received from the source. Between updates, both the sample dispersion and peer dispersion continue to grow at the same rate, 15 &mu;s/s. Finally, the <em>peer jitter</em> &phi; is determined as the RMS differences between the offset samples in the window relative to the selected offset sample. The peer statistics are recorded by the <tt>peerstats</tt> option of the <a href="monopt.html#filegen"><tt>filegen</tt></a> command. Peer variables are displayed by the <tt>rv</tt> command of the <a href="ntpq.html#peer"><tt>ntpq</tt></a> program.</p>
+<p> The clock filter algorithm continues to process updates in this way until the source is no longer reachable. Reachability is determined by an eight-bit shift register, which is shifted left by one bit as each poll packet is sent, with 0 replacing the vacated rightmost bit. Each time a valid update is received, the rightmost bit is set to 1. The source is considered reachable if any bit is set to 1 in the register; otherwise, it is considered unreachable. When a source becomes unreachable, a dummy sample with &quot;infinite&quot; dispersion is inserted in the filter window at each poll, thus displacing old samples. This causes the peer dispersion to increase eventually to infinity.</p>
+<p>The composition of the source population and the system peer selection is redetermined as each update from each source is received. The system peer and system variables are determined as described on the <a href="prefer.html">Mitigation Rules and the <tt>prefer</tt> Keyword</a> page.  The system variables &Theta;, &Delta;, &Epsilon; and &Phi; are updated from the system peer variables of the same name and the system stratum set one greater than the system peer stratum. The system statistics are recorded by the <tt>loopstats</tt> option of the <a href="monopt.html#filegen"><tt>filegen</tt></a> command. System variables are displayed by the <tt>rv</tt> command of the <a href="ntpq.html#system"><tt>ntpq</tt></a> program.</p>
+<p>Although it might seem counterintuitive, a cardinal rule in the selection process is, once a sample has been selected by the clock filter algorithm, older samples are no longer selectable. This applies also to the clock select algorithm. Once the peer variables for a source have been selected, older variables of the same or other sources are no longer selectable. The reason for these rules is to limit the time delay in the clock discipline algorithm. This is necessary to preserve the optimum impulse response and thus the risetime and overshoot.</p>
 <p>This means that not every sample can be used to update the peer variables, and up to seven samples can be ignored between selected samples. This fact has been carefully considered in the discipline algorithm design with due consideration for feedback loop delay and minimum sampling rate. In engineering terms, even if only one sample in eight survives, the resulting sample rate is twice the Nyquist rate at any time constant and poll interval.</p>
 <h4 id="quality">3. Quality of Service</h4>
-<p>This section discusses how  an NTP client determines the system performance using a  peer population including reference clocks and remote servers. This is determined for each peer from two statistics, <em>peer jitter</em> and <em>root distance.</em> Peer jitter is determined from various jitter components as described above. It represents the expected error in determining the  clock offset estimate. Root distance represents the maximum error of the estimate due to all causes.</p>
-<p>The  root distance statistic is  computed as one-half the <em> root delay</em> of the primary source of time; i.e., the  reference clock, plus the <em> root dispersion</em> of that source. The root variables are included in the NTP packet header received from each source. At each update the   root delay is  recomputed as the sum of the root delay in the packet plus the peer  delay, while the  root dispersion is recomputed as the sum of the root dispersion in the packet plus the peer dispersion.</p>
+<p>This section discusses how an NTP client determines the system performance using a peer population including reference clocks and remote servers. This is determined for each peer from two statistics, <em>peer jitter</em> and <em>root distance.</em> Peer jitter is determined from various jitter components as described above. It represents the expected error in determining the clock offset estimate. Root distance represents the maximum error of the estimate due to all causes.</p>
+<p>The root distance statistic is computed as one-half the <em> root delay</em> of the primary source of time; i.e., the reference clock, plus the <em> root dispersion</em> of that source. The root variables are included in the NTP packet header received from each source. At each update the root delay is recomputed as the sum of the root delay in the packet plus the peer delay, while the root dispersion is recomputed as the sum of the root dispersion in the packet plus the peer dispersion.</p>
 <blockquote>
-  <p>Note. In order to avoid timing loops, the root distance is adjusted to the maximum of the above computation and a  <em>minimum threshold.</em> The minimum threshold defaults to 1 ms, but can be changed according to client preference using the <tt>mindist</tt> option of the <a href="miscopt.html#tos"><tt>tos</tt></a> command.</p>
+  <p>Note. In order to avoid timing loops, the root distance is adjusted to the maximum of the above computation and a <em>minimum threshold.</em> The minimum threshold defaults to 1 ms, but can be changed according to client preference using the <tt>mindist</tt> option of the <a href="miscopt.html#tos"><tt>tos</tt></a> command.</p>
 </blockquote>
-<p>A source is considered selectable only if its root distance is less than the <em>select threshold</em>, by default 1.5 s, but can be changed according to client preference using the <tt>maxdist</tt> option of the <a href="miscopt.html#tos"><tt>tos</tt></a> command. When an upstream server loses all sources, its root distance apparent to dependent clients  continues to increase. The clients are not aware of  this condition and  continue to accept synchronization as long as the root distance is less than the select threshold.</p>
-<p>The root distance statistic is  used by the  select,  cluster and mitigation algorithms. In this respect, it is sometimes called the  <em>synchronization distance</em> often shortened simply to  <em>distance</em>. The root distance is also used in the following ways.</p>
+<p>A source is considered selectable only if its root distance is less than the <em>select threshold</em>, by default 1.5 s, but can be changed according to client preference using the <tt>maxdist</tt> option of the <a href="miscopt.html#tos"><tt>tos</tt></a> command. When an upstream server loses all sources, its root distance apparent to dependent clients continues to increase. The clients are not aware of this condition and continue to accept synchronization as long as the root distance is less than the select threshold.</p>
+<p>The root distance statistic is used by the select, cluster and mitigation algorithms. In this respect, it is sometimes called the <em>synchronization distance</em> often shortened simply to <em>distance</em>. The root distance is also used in the following ways.</p>
 <ul>
   <li>Root distance defines the maximum error of the clock offset estimate due to all causes as long as the source remains reachable..</li>
-  <li>Root distance  defines the upper and lower limits of the correctness interval. This interval represents the maximum clock offset   for each of possibly several sources.  The clock select algorithm computes the intersection  of the correctness intervals to determine  the  truechimers from the selectable source population.</li>
-  <li>Root distance  is used by the clock cluster algorithm as a weight factor when pruning   outlyers from the truechimer population.</li>
+  <li>Root distance defines the upper and lower limits of the correctness interval. This interval represents the maximum clock offset for each of possibly several sources.  The clock select algorithm computes the intersection of the correctness intervals to determine the truechimers from the selectable source population.</li>
+  <li>Root distance is used by the clock cluster algorithm as a weight factor when pruning outliers from the truechimer population.</li>
   <li>The (normalized) reciprocal of the root distance is used as a weight factor by the combine algorithm when computing the system clock offset and system jitter.</li>
-  <li>Root distance is  used by the mitigation algorithm to select the system peer from among the  cluster algorithm survivors.</li>
+  <li>Root distance is used by the mitigation algorithm to select the system peer from among the cluster algorithm survivors.</li>
 </ul>
-<p>The root distance thus functions as a metric in the selection and weighting of the various available sources. The strategy  is to  select the system peer as the source with the minimum root distance and thus the minimum maximum error.  The reference implementation uses the Bellman-Ford  algorithm described in the literature, where the goal is to minimize the root distance. The algorithm selects the <em>system peer</em>, from which the system root delay and system root dispersion are inherited.</p>
-<p>The  algorithms described on  the <a href="prefer.html">Mitigation Rules and the <tt>prefer</tt> Keyword</a> page deliver several important statistics. The <em>system offset</em> and <em>system jitter</em> are weighted averages computed by the clock combine algorithm.   System offset is best interpreted as the maximum-likelihood estimate of the system clock offset, while system jitter,  also called estimated error, is best interpreted as the expected error of this estimate. <em>System delay</em> is the root delay inherited from the system peer, while <em>s</em><em>ystem dispersion</em> is the root dispersion plus contributions due to jitter and the absolute value of the system offset.</p>
-<p>The maximum system error, or <em>system  distance</em>, is computed as one-half the system delay plus the system dispersion. In order to simplify discussion, certain minor contributions to the maximum error statistic are ignored. If the precision time kernel support is available, both the estimated error and maximum error are reported to user programs via the <tt>ntp_adjtime()</tt> kernel system call. See the <a href="kern.html">Kernel Model for Precision Timekeeping</a> page for further information.</p>
+<p>The root distance thus functions as a metric in the selection and weighting of the various available sources. The strategy is to select the system peer as the source with the minimum root distance and thus the minimum maximum error.  The reference implementation uses the Bellman-Ford algorithm described in the literature, where the goal is to minimize the root distance. The algorithm selects the <em>system peer</em>, from which the system root delay and system root dispersion are inherited.</p>
+<p>The algorithms described on the <a href="prefer.html">Mitigation Rules and the <tt>prefer</tt> Keyword</a> page deliver several important statistics. The <em>system offset</em> and <em>system jitter</em> are weighted averages computed by the clock combine algorithm.  System offset is best interpreted as the maximum-likelihood estimate of the system clock offset, while system jitter, also called estimated error, is best interpreted as the expected error of this estimate. <em>System delay</em> is the root delay inherited from the system peer, while <em>s</em><em>ystem dispersion</em> is the root dispersion plus contributions due to jitter and the absolute value of the system offset.</p>
+<p>The maximum system error, or <em>system distance</em>, is computed as one-half the system delay plus the system dispersion. In order to simplify discussion, certain minor contributions to the maximum error statistic are ignored. If the precision time kernel support is available, both the estimated error and maximum error are reported to user programs via the <tt>ntp_adjtime()</tt> kernel system call. See the <a href="kern.html">Kernel Model for Precision Timekeeping</a> page for further information.</p>
 <hr>
 <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
 </body>
index be5b16d80eade4839b0d41a1e7631ef1b3828aef..85f41056c7b174f6688d3fd4c9bfaab404305ba8 100644 (file)
@@ -104,7 +104,7 @@ struct ntp_control {
 #define        CTL_PST_SEL_REJECT      0       /*   reject */
 #define        CTL_PST_SEL_SANE        1       /* x falsetick */
 #define        CTL_PST_SEL_CORRECT     2       /* . excess */
-#define        CTL_PST_SEL_SELCAND     3       /* - outlyer */
+#define        CTL_PST_SEL_SELCAND     3       /* - outlier */
 #define        CTL_PST_SEL_SYNCCAND    4       /* + candidate */
 #define        CTL_PST_SEL_EXCESS      5       /* # backup */
 #define        CTL_PST_SEL_SYSPEER     6       /* * sys.peer */
index cd98eb3951a331aae36120c286898fafe3852e7d..313cd46bebfe686235cb9d892b9aefa204eadac5 100644 (file)
@@ -60,7 +60,7 @@ static const struct codestring select_codes[] = {
        { CTL_PST_SEL_REJECT,   "sel_reject" },
        { CTL_PST_SEL_SANE,     "sel_falsetick" },
        { CTL_PST_SEL_CORRECT,  "sel_excess" },
-       { CTL_PST_SEL_SELCAND,  "sel_outlyer" },
+       { CTL_PST_SEL_SELCAND,  "sel_outlier" },
        { CTL_PST_SEL_SYNCCAND, "sel_candidate" },
        { CTL_PST_SEL_EXCESS,   "sel_backup" },
        { CTL_PST_SEL_SYSPEER,  "sel_sys.peer" },
index d7a9d13a2d994438c33bf046474a1a1112dd5c23..8c8a8a6d27f82ef14999b7cd0794377a48903593 100644 (file)
@@ -6,7 +6,7 @@
 #
 # EDIT THIS FILE WITH CAUTION  (invoke-ntp.conf.texi)
 #
-# It has been AutoGen-ed  June 29, 2015 at 04:30:28 PM by AutoGen 5.18.5
+# It has been AutoGen-ed  July 26, 2015 at 06:23:38 AM by AutoGen 5.18.5
 # From the definitions    ntp.conf.def
 # and the template file   agtexi-file.tpl
 @end ignore
@@ -1921,7 +1921,7 @@ peers remaining.
 This value defaults to 1, but can be changed
 to any number from 1 to 15.
 @item @code{minclock} @kbd{minclock}
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 @code{minclock}
 associations remain.
index 14438bdc7da1030a6b4d6b1f708d32d5f9f3ebcb..a57a27dbde0559dd7f894d043fdefb920dbc336d 100644 (file)
 .ds B-Font B
 .ds I-Font I
 .ds R-Font R
-.TH ntp.conf 5man "29 Jun 2015" "4.2.8p3" "File Formats"
+.TH ntp.conf 5man "26 Jul 2015" "4.2.8p3" "File Formats"
 .\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-R0aO7B/ag-30aG6B)
+.\" EDIT THIS FILE WITH CAUTION (in-mem file)
 .\"
-.\" It has been AutoGen-ed June 29, 2015 at 04:30:16 PM by AutoGen 5.18.5
+.\" It has been AutoGen-ed July 26, 2015 at 06:23:41 AM by AutoGen 5.18.5
 .\" From the definitions ntp.conf.def
 .\" and the template file agman-cmd.tpl
 .SH NAME
@@ -2170,7 +2170,7 @@ This value defaults to 1, but can be changed
 to any number from 1 to 15.
 .TP 7
 .NOP \f\*[B-Font]minclock\f[] \f\*[I-Font]minclock\f[]
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 \f\*[B-Font]minclock\f[]
 associations remain.
index 938acf6d6a13ef989eb05822f10435d7c6c009b6..7cd5513a1cfc0359ff5dca90d3aba81e5b2e09a9 100644 (file)
@@ -1,9 +1,9 @@
-.Dd June 29 2015
+.Dd July 26 2015
 .Dt NTP_CONF 5mdoc File Formats
 .Os
 .\"  EDIT THIS FILE WITH CAUTION  (ntp.mdoc)
 .\"
-.\"  It has been AutoGen-ed  June 29, 2015 at 04:30:36 PM by AutoGen 5.18.5
+.\"  It has been AutoGen-ed  July 26, 2015 at 06:23:35 AM by AutoGen 5.18.5
 .\"  From the definitions    ntp.conf.def
 .\"  and the template file   agmdoc-cmd.tpl
 .Sh NAME
@@ -1995,7 +1995,7 @@ peers remaining.
 This value defaults to 1, but can be changed
 to any number from 1 to 15.
 .It Cm minclock Ar minclock
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 .Cm minclock
 associations remain.
index 7e09c0306946453a9f0da516bd3f93b9bd4ca539..ad5a2a393a697954aeae91db449de746392f7385 100644 (file)
@@ -1997,7 +1997,7 @@ peers remaining.
 This value defaults to 1, but can be changed
 to any number from 1 to 15.
 .It Cm minclock Ar minclock
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 .Cm minclock
 associations remain.
index ad643556ea1f946e6a5f529f050dc31e4c2b395b..b5fad008e3b4d47966503817b19b33b5cf535808 100644 (file)
-<html lang="en">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>NTP Configuration File User's Manual</title>
-<meta http-equiv="Content-Type" content="text/html">
-<meta name="description" content="NTP Configuration File User's Manual">
-<meta name="generator" content="makeinfo 4.7">
-<link title="Top" rel="top" href="#Top">
-<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
-<meta http-equiv="Content-Style-Type" content="text/css">
-<style type="text/css"><!--
-  pre.display { font-family:inherit }
-  pre.format  { font-family:inherit }
-  pre.smalldisplay { font-family:inherit; font-size:smaller }
-  pre.smallformat  { font-family:inherit; font-size:smaller }
-  pre.smallexample { font-size:smaller }
-  pre.smalllisp    { font-size:smaller }
-  span.sc { font-variant:small-caps }
-  span.roman { font-family: serif; font-weight: normal; } 
---></style>
+<title>NTP Configuration File User&rsquo;s Manual</title>
+
+<meta name="description" content="NTP Configuration File User&rsquo;s Manual">
+<meta name="keywords" content="NTP Configuration File User&rsquo;s Manual">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<link href="dir.html#Top" rel="up" title="(dir)">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.indentedblock {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
+div.smalllisp {margin-left: 3.2em}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
 </head>
-<body>
-<h1 class="settitle">NTP Configuration File User's Manual</h1>
-<div class="node">
-<p><hr>
-<a name="Top"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntp_002econf-Description">ntp.conf Description</a>,
-Previous:&nbsp;<a rel="previous" accesskey="p" href="#dir">(dir)</a>,
-Up:&nbsp;<a rel="up" accesskey="u" href="#dir">(dir)</a>
-<br>
-</div>
 
-<h2 class="unnumbered">NTP's Configuration File User Manual</h2>
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
+<h1 class="settitle" align="center">NTP Configuration File User&rsquo;s Manual</h1>
 
-<p>This document describes the configuration file for the NTP Project's
-<code>ntpd</code> program.
 
-  <p>This document applies to version 4.2.8p3 of <code>ntp.conf</code>.
 
-  <div class="shortcontents">
-<h2>Short Contents</h2>
-<ul>
-<a href="#Top">NTP's Configuration File User Manual</a>
-</ul>
+
+
+<a name="Top"></a>
+<div class="header">
+<p>
+Next: <a href="#ntp_002econf-Description" accesskey="n" rel="next">ntp.conf Description</a>, Previous: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
+<a name="NTP_0027s-Configuration-File-User-Manual"></a>
+<h1 class="top">NTP&rsquo;s Configuration File User Manual</h1>
 
-<ul class="menu">
-<li><a accesskey="1" href="#ntp_002econf-Description">ntp.conf Description</a>
-<li><a accesskey="2" href="#ntp_002econf-Notes">ntp.conf Notes</a>
+<p>This document describes the configuration file for the NTP Project&rsquo;s
+<code>ntpd</code> program.
+</p>
+<p>This document applies to version 4.2.8p3 of <code>ntp.conf</code>.
+</p>
+<a name="SEC_Overview"></a>
+<h2 class="shortcontents-heading">Short Table of Contents</h2>
+
+<div class="shortcontents">
+<ul class="no-bullet">
+<li><a name="stoc-Description" href="#toc-Description">1 Description</a></li>
 </ul>
-
-<div class="node">
-<p><hr>
-<a name="ntp_002econf-Description"></a>Previous:&nbsp;<a rel="previous" accesskey="p" href="#Top">Top</a>,
-Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
-<br>
 </div>
 
-<!-- node-name,  next,  previous,  up -->
-<h3 class="section">Description</h3>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-Description" accesskey="1">ntp.conf Description</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
+</td></tr>
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-Notes" accesskey="2">ntp.conf Notes</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
+</td></tr>
+</table>
+
+<hr>
+<a name="ntp_002econf-Description"></a>
+<div class="header">
+<p>
+Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
+</div>
+<a name="Description"></a>
+<h2 class="chapter">1 Description</h2>
 
 <p>The behavior of  <code>ntpd</code> can be changed by a configuration file,
 by default <code>ntp.conf</code>.
-
-<div class="node">
-<p><hr>
+</p>
+<hr>
 <a name="ntp_002econf-Notes"></a>
-<br>
+<div class="header">
+<p>
+Previous: <a href="#ntp_002econf-Bugs" accesskey="p" rel="prev">ntp.conf Bugs</a>, Up: <a href="#ntp_002econf-Description" accesskey="u" rel="up">ntp.conf Description</a> &nbsp; </p>
 </div>
+<a name="Notes-about-ntp_002econf"></a>
+<h3 class="section">1.1 Notes about ntp.conf</h3>
+<a name="index-ntp_002econf"></a>
+<a name="index-Network-Time-Protocol-_0028NTP_0029-daemon-configuration-file-format"></a>
 
-<h3 class="section">Notes about ntp.conf</h3>
 
-<p><a name="index-ntp_002econf-1"></a><a name="index-Network-Time-Protocol-_0028NTP_0029-daemon-configuration-file-format-2"></a>
 
-  <p>The
+<p>The
 <code>ntp.conf</code>
 configuration file is read at initial startup by the
 <code>ntpd(1ntpdmdoc)</code>
 daemon in order to specify the synchronization sources,
-modes and other related information. 
+modes and other related information.
 Usually, it is installed in the
-<span class="file">/etc</span>
+<samp>/etc</samp>
 directory,
 but could be installed elsewhere
-(see the daemon's
+(see the daemon&rsquo;s
 <code>-c</code>
 command line option).
-
-  <p>The file format is similar to other
-<span class="sc">unix</span>
-configuration files. 
+</p>
+<p>The file format is similar to other
+<small>UNIX</small>
+configuration files.
 Comments begin with a
-#
+&lsquo;#&rsquo;
 character and extend to the end of the line;
-blank lines are ignored. 
+blank lines are ignored.
 Configuration commands consist of an initial keyword
 followed by a list of arguments,
-some of which may be optional, separated by whitespace. 
-Commands may not be continued over multiple lines. 
+some of which may be optional, separated by whitespace.
+Commands may not be continued over multiple lines.
 Arguments may be host names,
 host addresses written in numeric, dotted-quad form,
 integers, floating point numbers (when specifying times in seconds)
 and text strings.
-
-  <p>The rest of this page describes the configuration and control options. 
+</p>
+<p>The rest of this page describes the configuration and control options.
 The
-"Notes on Configuring NTP and Setting up an NTP Subnet"
+&quot;Notes on Configuring NTP and Setting up an NTP Subnet&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>)
-contains an extended discussion of these options. 
+<samp>/usr/share/doc/ntp</samp>)
+contains an extended discussion of these options.
 In addition to the discussion of general
-<a href="#Configuration-Options">Configuration Options</a>,
+&lsquo;Configuration Options&rsquo;,
 there are sections describing the following supported functionality
 and the options used to control it:
-     <ul>
-<li><a href="#Authentication-Support">Authentication Support</a>
-<li><a href="#Monitoring-Support">Monitoring Support</a>
-<li><a href="#Access-Control-Support">Access Control Support</a>
-<li><a href="#Automatic-NTP-Configuration-Options">Automatic NTP Configuration Options</a>
-<li><a href="#Reference-Clock-Support">Reference Clock Support</a>
-<li><a href="#Miscellaneous-Options">Miscellaneous Options</a>
-</ul>
-
-  <p>Following these is a section describing
-<a href="#Miscellaneous-Options">Miscellaneous Options</a>. 
+</p><ul>
+<li> <a href="#Authentication-Support">Authentication Support</a>
+</li><li> <a href="#Monitoring-Support">Monitoring Support</a>
+</li><li> <a href="#Access-Control-Support">Access Control Support</a>
+</li><li> <a href="#Automatic-NTP-Configuration-Options">Automatic NTP Configuration Options</a>
+</li><li> <a href="#Reference-Clock-Support">Reference Clock Support</a>
+</li><li> <a href="#Miscellaneous-Options">Miscellaneous Options</a>
+</li></ul>
+
+<p>Following these is a section describing
+<a href="#Miscellaneous-Options">Miscellaneous Options</a>.
 While there is a rich set of options available,
 the only required option is one or more
 <code>pool</code>,
@@ -131,121 +167,132 @@ the only required option is one or more
 <code>broadcast</code>
 or
 <code>manycastclient</code>
-commands. 
-<div class="node">
-<p><hr>
+commands.
+</p><hr>
 <a name="Configuration-Support"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Authentication-Support" accesskey="n" rel="next">Authentication Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Configuration Support</h4>
-
+<a name="Configuration-Support-1"></a>
+<h4 class="subsection">1.1.1 Configuration Support</h4>
 <p>Following is a description of the configuration commands in
-NTPv4. 
+NTPv4.
 These commands have the same basic functions as in NTPv3 and
-in some cases new functions and new arguments. 
+in some cases new functions and new arguments.
 There are two
 classes of commands, configuration commands that configure a
 persistent association with a remote server or peer or reference
 clock, and auxiliary commands that specify environmental variables
 that control various related operations.
-
-<h5 class="subsubsection">Configuration Commands</h5>
-
+</p><a name="Configuration-Commands"></a>
+<h4 class="subsubsection">1.1.1.1 Configuration Commands</h4>
 <p>The various modes are determined by the command keyword and the
-type of the required IP address. 
+type of the required IP address.
 Addresses are classed by type as
 (s) a remote server or peer (IPv4 class A, B and C), (b) the
 broadcast address of a local interface, (m) a multicast address (IPv4
-class D), or (r) a reference clock address (127.127.x.x). 
+class D), or (r) a reference clock address (127.127.x.x).
 Note that
-only those options applicable to each command are listed below. 
+only those options applicable to each command are listed below.
 Use
 of options not listed may not be caught as an error, but may result
 in some weird and even destructive behavior.
-
-  <p>If the Basic Socket Interface Extensions for IPv6 (RFC-2553)
+</p>
+<p>If the Basic Socket Interface Extensions for IPv6 (RFC-2553)
 is detected, support for the IPv6 address family is generated
-in addition to the default support of the IPv4 address family. 
+in addition to the default support of the IPv4 address family.
 In a few cases, including the reslist billboard generated
-by ntpdc, IPv6 addresses are automatically generated. 
+by ntpdc, IPv6 addresses are automatically generated.
 IPv6 addresses can be identified by the presence of colons
-:
-in the address field. 
+&ldquo;:&rdquo;
+in the address field.
 IPv6 addresses can be used almost everywhere where
 IPv4 addresses can be used,
 with the exception of reference clock addresses,
 which are always IPv4.
-
-  <p>Note that in contexts where a host name is expected, a
+</p>
+<p>Note that in contexts where a host name is expected, a
 <code>-4</code>
 qualifier preceding
 the host name forces DNS resolution to the IPv4 namespace,
 while a
 <code>-6</code>
-qualifier forces DNS resolution to the IPv6 namespace. 
+qualifier forces DNS resolution to the IPv6 namespace.
 See IPv6 references for the
 equivalent classes for that address family.
-     <dl>
-<dt><code>pool</code> <kbd>address</kbd> <code>[burst]</code> <code>[iburst]</code> <code>[version </code><kbd>version</kbd><code>]</code> <code>[prefer]</code> <code>[minpoll </code><kbd>minpoll</kbd><code>]</code> <code>[maxpoll </code><kbd>maxpoll</kbd><code>]</code><br><dt><code>server</code> <kbd>address</kbd> <code>[key </code><kbd>key</kbd> <kbd>|</kbd><code> autokey]</code> <code>[burst]</code> <code>[iburst]</code> <code>[version </code><kbd>version</kbd><code>]</code> <code>[prefer]</code> <code>[minpoll </code><kbd>minpoll</kbd><code>]</code> <code>[maxpoll </code><kbd>maxpoll</kbd><code>]</code><br><dt><code>peer</code> <kbd>address</kbd> <code>[key </code><kbd>key</kbd> <kbd>|</kbd><code> autokey]</code> <code>[version </code><kbd>version</kbd><code>]</code> <code>[prefer]</code> <code>[minpoll </code><kbd>minpoll</kbd><code>]</code> <code>[maxpoll </code><kbd>maxpoll</kbd><code>]</code><br><dt><code>broadcast</code> <kbd>address</kbd> <code>[key </code><kbd>key</kbd> <kbd>|</kbd><code> autokey]</code> <code>[version </code><kbd>version</kbd><code>]</code> <code>[prefer]</code> <code>[minpoll </code><kbd>minpoll</kbd><code>]</code> <code>[ttl </code><kbd>ttl</kbd><code>]</code><br><dt><code>manycastclient</code> <kbd>address</kbd> <code>[key </code><kbd>key</kbd> <kbd>|</kbd><code> autokey]</code> <code>[version </code><kbd>version</kbd><code>]</code> <code>[prefer]</code> <code>[minpoll </code><kbd>minpoll</kbd><code>]</code> <code>[maxpoll </code><kbd>maxpoll</kbd><code>]</code> <code>[ttl </code><kbd>ttl</kbd><code>]</code><dd></dl>
+</p><dl compact="compact">
+<dt><code>pool</code> <kbd>address</kbd> <code>[<code>burst</code>]</code> <code>[<code>iburst</code>]</code> <code>[<code>version</code> <kbd>version</kbd>]</code> <code>[<code>prefer</code>]</code> <code>[<code>minpoll</code> <kbd>minpoll</kbd>]</code> <code>[<code>maxpoll</code> <kbd>maxpoll</kbd>]</code></dt>
+<dt><code>server</code> <kbd>address</kbd> <code>[<code>key</code> <kbd>key</kbd> <kbd>|</kbd> <code>autokey</code>]</code> <code>[<code>burst</code>]</code> <code>[<code>iburst</code>]</code> <code>[<code>version</code> <kbd>version</kbd>]</code> <code>[<code>prefer</code>]</code> <code>[<code>minpoll</code> <kbd>minpoll</kbd>]</code> <code>[<code>maxpoll</code> <kbd>maxpoll</kbd>]</code></dt>
+<dt><code>peer</code> <kbd>address</kbd> <code>[<code>key</code> <kbd>key</kbd> <kbd>|</kbd> <code>autokey</code>]</code> <code>[<code>version</code> <kbd>version</kbd>]</code> <code>[<code>prefer</code>]</code> <code>[<code>minpoll</code> <kbd>minpoll</kbd>]</code> <code>[<code>maxpoll</code> <kbd>maxpoll</kbd>]</code></dt>
+<dt><code>broadcast</code> <kbd>address</kbd> <code>[<code>key</code> <kbd>key</kbd> <kbd>|</kbd> <code>autokey</code>]</code> <code>[<code>version</code> <kbd>version</kbd>]</code> <code>[<code>prefer</code>]</code> <code>[<code>minpoll</code> <kbd>minpoll</kbd>]</code> <code>[<code>ttl</code> <kbd>ttl</kbd>]</code></dt>
+<dt><code>manycastclient</code> <kbd>address</kbd> <code>[<code>key</code> <kbd>key</kbd> <kbd>|</kbd> <code>autokey</code>]</code> <code>[<code>version</code> <kbd>version</kbd>]</code> <code>[<code>prefer</code>]</code> <code>[<code>minpoll</code> <kbd>minpoll</kbd>]</code> <code>[<code>maxpoll</code> <kbd>maxpoll</kbd>]</code> <code>[<code>ttl</code> <kbd>ttl</kbd>]</code></dt>
+</dl>
 
-  <p>These five commands specify the time server name or address to
-be used and the mode in which to operate. 
+<p>These five commands specify the time server name or address to
+be used and the mode in which to operate.
 The
 <kbd>address</kbd>
 can be
-either a DNS name or an IP address in dotted-quad notation. 
+either a DNS name or an IP address in dotted-quad notation.
 Additional information on association behavior can be found in the
-"Association Management"
+&quot;Association Management&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>).
-     <dl>
-<dt><code>pool</code><dd>For type s addresses, this command mobilizes a persistent
-client mode association with a number of remote servers. 
+<samp>/usr/share/doc/ntp</samp>).
+</p><dl compact="compact">
+<dt><code>pool</code></dt>
+<dd><p>For type s addresses, this command mobilizes a persistent
+client mode association with a number of remote servers.
 In this mode the local clock can synchronized to the
 remote server, but the remote server can never be synchronized to
-the local clock. 
-<br><dt><code>server</code><dd>For type s and r addresses, this command mobilizes a persistent
+the local clock.
+</p></dd>
+<dt><code>server</code></dt>
+<dd><p>For type s and r addresses, this command mobilizes a persistent
 client mode association with the specified remote server or local
-radio clock. 
+radio clock.
 In this mode the local clock can synchronized to the
 remote server, but the remote server can never be synchronized to
-the local clock. 
+the local clock.
 This command should
 <em>not</em>
 be used for type
-b or m addresses. 
-<br><dt><code>peer</code><dd>For type s addresses (only), this command mobilizes a
+b or m addresses.
+</p></dd>
+<dt><code>peer</code></dt>
+<dd><p>For type s addresses (only), this command mobilizes a
 persistent symmetric-active mode association with the specified
-remote peer. 
+remote peer.
 In this mode the local clock can be synchronized to
 the remote peer or the remote peer can be synchronized to the local
-clock. 
+clock.
 This is useful in a network of servers where, depending on
 various failure scenarios, either the local or remote peer may be
-the better source of time. 
+the better source of time.
 This command should NOT be used for type
-b, m or r addresses. 
-<br><dt><code>broadcast</code><dd>For type b and m addresses (only), this
-command mobilizes a persistent broadcast mode association. 
+b, m or r addresses.
+</p></dd>
+<dt><code>broadcast</code></dt>
+<dd><p>For type b and m addresses (only), this
+command mobilizes a persistent broadcast mode association.
 Multiple
 commands can be used to specify multiple local broadcast interfaces
-(subnets) and/or multiple multicast groups. 
+(subnets) and/or multiple multicast groups.
 Note that local
 broadcast messages go only to the interface associated with the
-subnet specified, but multicast messages go to all interfaces. 
+subnet specified, but multicast messages go to all interfaces.
 In broadcast mode the local server sends periodic broadcast
 messages to a client population at the
 <kbd>address</kbd>
 specified, which is usually the broadcast address on (one of) the
-local network(s) or a multicast address assigned to NTP. 
+local network(s) or a multicast address assigned to NTP.
 The IANA
 has assigned the multicast group address IPv4 224.0.1.1 and
 IPv6 ff05::101 (site local) exclusively to
 NTP, but other nonconflicting addresses can be used to contain the
-messages within administrative boundaries. 
+messages within administrative boundaries.
 Ordinarily, this
 specification applies only to the local server operating as a
 sender; for operation as a broadcast client, see the
@@ -253,61 +300,69 @@ sender; for operation as a broadcast client, see the
 or
 <code>multicastclient</code>
 commands
-below. 
-<br><dt><code>manycastclient</code><dd>For type m addresses (only), this command mobilizes a
+below.
+</p></dd>
+<dt><code>manycastclient</code></dt>
+<dd><p>For type m addresses (only), this command mobilizes a
 manycast client mode association for the multicast address
-specified. 
+specified.
 In this case a specific address must be supplied which
 matches the address used on the
 <code>manycastserver</code>
 command for
-the designated manycast servers. 
+the designated manycast servers.
 The NTP multicast address
 224.0.1.1 assigned by the IANA should NOT be used, unless specific
 means are taken to avoid spraying large areas of the Internet with
 these messages and causing a possibly massive implosion of replies
-at the sender. 
+at the sender.
 The
 <code>manycastserver</code>
 command specifies that the local server
 is to operate in client mode with the remote servers that are
-discovered as the result of broadcast/multicast messages. 
+discovered as the result of broadcast/multicast messages.
 The
 client broadcasts a request message to the group address associated
 with the specified
 <kbd>address</kbd>
 and specifically enabled
-servers respond to these messages. 
+servers respond to these messages.
 The client selects the servers
 providing the best time and continues as with the
 <code>server</code>
-command. 
+command.
 The remaining servers are discarded as if never
-heard. 
+heard.
+</p></dd>
 </dl>
 
-  <p>Options:
-     <dl>
-<dt><code>autokey</code><dd>All packets sent to and received from the server or peer are to
+<p>Options:
+</p><dl compact="compact">
+<dt><code>autokey</code></dt>
+<dd><p>All packets sent to and received from the server or peer are to
 include authentication fields encrypted using the autokey scheme
 described in
-<a href="#Authentication-Options">Authentication Options</a>. 
-<br><dt><code>burst</code><dd>when the server is reachable, send a burst of eight packets
-instead of the usual one. 
+&lsquo;Authentication Options&rsquo;.
+</p></dd>
+<dt><code>burst</code></dt>
+<dd><p>when the server is reachable, send a burst of eight packets
+instead of the usual one.
 The packet spacing is normally 2 s;
 however, the spacing between the first and second packets
 can be changed with the calldelay command to allow
-additional time for a modem or ISDN call to complete. 
+additional time for a modem or ISDN call to complete.
 This is designed to improve timekeeping quality
 with the
 <code>server</code>
-command and s addresses. 
-<br><dt><code>iburst</code><dd>When the server is unreachable, send a burst of eight packets
-instead of the usual one. 
+command and s addresses.
+</p></dd>
+<dt><code>iburst</code></dt>
+<dd><p>When the server is unreachable, send a burst of eight packets
+instead of the usual one.
 The packet spacing is normally 2 s;
 however, the spacing between the first two packets can be
 changed with the calldelay command to allow
-additional time for a modem or ISDN call to complete. 
+additional time for a modem or ISDN call to complete.
 This is designed to speed the initial synchronization
 acquisition with the
 <code>server</code>
@@ -315,155 +370,176 @@ command and s addresses and when
 <code>ntpd(1ntpdmdoc)</code>
 is started with the
 <code>-q</code>
-option. 
-<br><dt><code>key</code> <kbd>key</kbd><dd>All packets sent to and received from the server or peer are to
+option.
+</p></dd>
+<dt><code>key</code> <kbd>key</kbd></dt>
+<dd><p>All packets sent to and received from the server or peer are to
 include authentication fields encrypted using the specified
 <kbd>key</kbd>
-identifier with values from 1 to 65534, inclusive. 
+identifier with values from 1 to 65534, inclusive.
 The
-default is to include no encryption field. 
-<br><dt><code>minpoll</code> <kbd>minpoll</kbd><br><dt><code>maxpoll</code> <kbd>maxpoll</kbd><dd>These options specify the minimum and maximum poll intervals
+default is to include no encryption field.
+</p></dd>
+<dt><code>minpoll</code> <kbd>minpoll</kbd></dt>
+<dt><code>maxpoll</code> <kbd>maxpoll</kbd></dt>
+<dd><p>These options specify the minimum and maximum poll intervals
 for NTP messages, as a power of 2 in seconds
 The maximum poll
 interval defaults to 10 (1,024 s), but can be increased by the
 <code>maxpoll</code>
-option to an upper limit of 17 (36.4 h). 
+option to an upper limit of 17 (36.4 h).
 The
 minimum poll interval defaults to 6 (64 s), but can be decreased by
 the
 <code>minpoll</code>
-option to a lower limit of 4 (16 s). 
-<br><dt><code>noselect</code><dd>Marks the server as unused, except for display purposes. 
-The server is discarded by the selection algroithm. 
-<br><dt><code>prefer</code><dd>Marks the server as preferred. 
+option to a lower limit of 4 (16 s).
+</p></dd>
+<dt><code>noselect</code></dt>
+<dd><p>Marks the server as unused, except for display purposes.
+The server is discarded by the selection algroithm.
+</p></dd>
+<dt><code>prefer</code></dt>
+<dd><p>Marks the server as preferred.
 All other things being equal,
 this host will be chosen for synchronization among a set of
-correctly operating hosts. 
+correctly operating hosts.
 See the
-"Mitigation Rules and the prefer Keyword"
+&quot;Mitigation Rules and the prefer Keyword&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>)
-for further information. 
-<br><dt><code>ttl</code> <kbd>ttl</kbd><dd>This option is used only with broadcast server and manycast
-client modes. 
+<samp>/usr/share/doc/ntp</samp>)
+for further information.
+</p></dd>
+<dt><code>ttl</code> <kbd>ttl</kbd></dt>
+<dd><p>This option is used only with broadcast server and manycast
+client modes.
 It specifies the time-to-live
 <kbd>ttl</kbd>
 to
 use on broadcast server and multicast server and the maximum
 <kbd>ttl</kbd>
 for the expanding ring search with manycast
-client packets. 
+client packets.
 Selection of the proper value, which defaults to
 127, is something of a black art and should be coordinated with the
-network administrator. 
-<br><dt><code>version</code> <kbd>version</kbd><dd>Specifies the version number to be used for outgoing NTP
-packets. 
+network administrator.
+</p></dd>
+<dt><code>version</code> <kbd>version</kbd></dt>
+<dd><p>Specifies the version number to be used for outgoing NTP
+packets.
 Versions 1-4 are the choices, with version 4 the
-default. 
+default.
+</p></dd>
 </dl>
-
-<h5 class="subsubsection">Auxiliary Commands</h5>
-
-     <dl>
-<dt><code>broadcastclient</code><dd>This command enables reception of broadcast server messages to
-any local interface (type b) address. 
+<a name="Auxiliary-Commands"></a>
+<h4 class="subsubsection">1.1.1.2 Auxiliary Commands</h4>
+<dl compact="compact">
+<dt><code>broadcastclient</code></dt>
+<dd><p>This command enables reception of broadcast server messages to
+any local interface (type b) address.
 Upon receiving a message for
 the first time, the broadcast client measures the nominal server
 propagation delay using a brief client/server exchange with the
 server, then enters the broadcast client mode, in which it
-synchronizes to succeeding broadcast messages. 
+synchronizes to succeeding broadcast messages.
 Note that, in order
 to avoid accidental or malicious disruption in this mode, both the
 server and client should operate using symmetric-key or public-key
 authentication as described in
-<a href="#Authentication-Options">Authentication Options</a>. 
-<br><dt><code>manycastserver</code> <kbd>address</kbd> <kbd>...</kbd><dd>This command enables reception of manycast client messages to
-the multicast group address(es) (type m) specified. 
+&lsquo;Authentication Options&rsquo;.
+</p></dd>
+<dt><code>manycastserver</code> <kbd>address</kbd> <kbd>...</kbd></dt>
+<dd><p>This command enables reception of manycast client messages to
+the multicast group address(es) (type m) specified.
 At least one
 address is required, but the NTP multicast address 224.0.1.1
 assigned by the IANA should NOT be used, unless specific means are
 taken to limit the span of the reply and avoid a possibly massive
-implosion at the original sender. 
+implosion at the original sender.
 Note that, in order to avoid
 accidental or malicious disruption in this mode, both the server
 and client should operate using symmetric-key or public-key
 authentication as described in
-<a href="#Authentication-Options">Authentication Options</a>. 
-<br><dt><code>multicastclient</code> <kbd>address</kbd> <kbd>...</kbd><dd>This command enables reception of multicast server messages to
-the multicast group address(es) (type m) specified. 
+&lsquo;Authentication Options&rsquo;.
+</p></dd>
+<dt><code>multicastclient</code> <kbd>address</kbd> <kbd>...</kbd></dt>
+<dd><p>This command enables reception of multicast server messages to
+the multicast group address(es) (type m) specified.
 Upon receiving
 a message for the first time, the multicast client measures the
 nominal server propagation delay using a brief client/server
 exchange with the server, then enters the broadcast client mode, in
-which it synchronizes to succeeding multicast messages. 
+which it synchronizes to succeeding multicast messages.
 Note that,
 in order to avoid accidental or malicious disruption in this mode,
 both the server and client should operate using symmetric-key or
 public-key authentication as described in
-<a href="#Authentication-Options">Authentication Options</a>. 
-<br><dt><code>mdnstries</code> <kbd>number</kbd><dd>If we are participating in mDNS,
+&lsquo;Authentication Options&rsquo;.
+</p></dd>
+<dt><code>mdnstries</code> <kbd>number</kbd></dt>
+<dd><p>If we are participating in mDNS,
 after we have synched for the first time
-we attempt to register with the mDNS system. 
+we attempt to register with the mDNS system.
 If that registration attempt fails,
 we try again at one minute intervals for up to
 <code>mdnstries</code>
-times. 
+times.
 After all,
 <code>ntpd</code>
-may be starting before mDNS. 
+may be starting before mDNS.
 The default value for
 <code>mdnstries</code>
-is 5. 
+is 5.
+</p></dd>
 </dl>
-<div class="node">
-<p><hr>
+<hr>
 <a name="Authentication-Support"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Monitoring-Support" accesskey="n" rel="next">Monitoring Support</a>, Previous: <a href="#Configuration-Support" accesskey="p" rel="prev">Configuration Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Authentication Support</h4>
-
+<a name="Authentication-Support-1"></a>
+<h4 class="subsection">1.1.2 Authentication Support</h4>
 <p>Authentication support allows the NTP client to verify that the
 server is in fact known and trusted and not an intruder intending
-accidentally or on purpose to masquerade as that server. 
+accidentally or on purpose to masquerade as that server.
 The NTPv3
 specification RFC-1305 defines a scheme which provides
-cryptographic authentication of received NTP packets. 
+cryptographic authentication of received NTP packets.
 Originally,
 this was done using the Data Encryption Standard (DES) algorithm
 operating in Cipher Block Chaining (CBC) mode, commonly called
-DES-CBC. 
+DES-CBC.
 Subsequently, this was replaced by the RSA Message Digest
-5 (MD5) algorithm using a private key, commonly called keyed-MD5. 
+5 (MD5) algorithm using a private key, commonly called keyed-MD5.
 Either algorithm computes a message digest, or one-way hash, which
 can be used to verify the server has the correct private key and
 key identifier.
-
-  <p>NTPv4 retains the NTPv3 scheme, properly described as symmetric key
+</p>
+<p>NTPv4 retains the NTPv3 scheme, properly described as symmetric key
 cryptography and, in addition, provides a new Autokey scheme
-based on public key cryptography. 
+based on public key cryptography.
 Public key cryptography is generally considered more secure
 than symmetric key cryptography, since the security is based
 on a private value which is generated by each server and
-never revealed. 
+never revealed.
 With Autokey all key distribution and
 management functions involve only public values, which
-considerably simplifies key distribution and storage. 
+considerably simplifies key distribution and storage.
 Public key management is based on X.509 certificates,
 which can be provided by commercial services or
 produced by utility programs in the OpenSSL software library
 or the NTPv4 distribution.
-
-  <p>While the algorithms for symmetric key cryptography are
+</p>
+<p>While the algorithms for symmetric key cryptography are
 included in the NTPv4 distribution, public key cryptography
 requires the OpenSSL software library to be installed
-before building the NTP distribution. 
+before building the NTP distribution.
 Directions for doing that
 are on the Building and Installing the Distribution page.
-
-  <p>Authentication is configured separately for each association
+</p>
+<p>Authentication is configured separately for each association
 using the
 <code>key</code>
 or
@@ -475,36 +551,36 @@ subcommand on the
 and
 <code>manycastclient</code>
 configuration commands as described in
-<a href="#Configuration-Options">Configuration Options</a>
-page. 
+&lsquo;Configuration Options&rsquo;
+page.
 The authentication
 options described below specify the locations of the key files,
 if other than default, which symmetric keys are trusted
 and the interval between various operations, if other than default.
-
-  <p>Authentication is always enabled,
+</p>
+<p>Authentication is always enabled,
 although ineffective if not configured as
-described below. 
+described below.
 If a NTP packet arrives
 including a message authentication
 code (MAC), it is accepted only if it
-passes all cryptographic checks. 
+passes all cryptographic checks.
 The
 checks require correct key ID, key value
-and message digest. 
+and message digest.
 If the packet has
 been modified in any way or replayed
 by an intruder, it will fail one or more
-of these checks and be discarded. 
+of these checks and be discarded.
 Furthermore, the Autokey scheme requires a
 preliminary protocol exchange to obtain
 the server certificate, verify its
 credentials and initialize the protocol
-
-  <p>The
+</p>
+<p>The
 <code>auth</code>
 flag controls whether new associations or
-remote configuration commands require cryptographic authentication. 
+remote configuration commands require cryptographic authentication.
 This flag can be set or reset by the
 <code>enable</code>
 and
@@ -513,22 +589,22 @@ commands and also by remote
 configuration commands sent by a
 <code>ntpdc(1ntpdcmdoc)</code>
 program running in
-another machine. 
+another machine.
 If this flag is enabled, which is the default
 case, new broadcast client and symmetric passive associations and
 remote configuration commands must be cryptographically
-authenticated using either symmetric key or public key cryptography. 
+authenticated using either symmetric key or public key cryptography.
 If this
 flag is disabled, these operations are effective
 even if not cryptographic
-authenticated. 
+authenticated.
 It should be understood
 that operating with the
 <code>auth</code>
 flag disabled invites a significant vulnerability
 where a rogue hacker can
 masquerade as a falseticker and seriously
-disrupt system timekeeping. 
+disrupt system timekeeping.
 It is
 important to note that this flag has no purpose
 other than to allow or disallow
@@ -537,42 +613,41 @@ and symmetric active messages
 and remote configuration commands and, in particular,
 the flag has no effect on
 the authentication process itself.
-
-  <p>An attractive alternative where multicast support is available
+</p>
+<p>An attractive alternative where multicast support is available
 is manycast mode, in which clients periodically troll
 for servers as described in the
 <a href="#Automatic-NTP-Configuration-Options">Automatic NTP Configuration Options</a>
-page. 
+page.
 Either symmetric key or public key
-cryptographic authentication can be used in this mode. 
+cryptographic authentication can be used in this mode.
 The principle advantage
 of manycast mode is that potential servers need not be
 configured in advance,
 since the client finds them during regular operation,
 and the configuration
 files for all clients can be identical.
-
-  <p>The security model and protocol schemes for
+</p>
+<p>The security model and protocol schemes for
 both symmetric key and public key
 cryptography are summarized below;
 further details are in the briefings, papers
 and reports at the NTP project page linked from
 <code>http://www.ntp.org/</code>.
-
-<h5 class="subsubsection">Symmetric-Key Cryptography</h5>
-
+</p><a name="Symmetric_002dKey-Cryptography"></a>
+<h4 class="subsubsection">1.1.2.1 Symmetric-Key Cryptography</h4>
 <p>The original RFC-1305 specification allows any one of possibly
 65,534 keys, each distinguished by a 32-bit key identifier, to
-authenticate an association. 
+authenticate an association.
 The servers and clients involved must
 agree on the key and key identifier to
-authenticate NTP packets. 
+authenticate NTP packets.
 Keys and
 related information are specified in a key
 file, usually called
-<span class="file">ntp.keys</span>,
+<samp>ntp.keys</samp>,
 which must be distributed and stored using
-secure means beyond the scope of the NTP protocol itself. 
+secure means beyond the scope of the NTP protocol itself.
 Besides the keys used
 for ordinary NTP associations,
 additional keys can be used as passwords for the
@@ -580,25 +655,25 @@ additional keys can be used as passwords for the
 and
 <code>ntpdc(1ntpdcmdoc)</code>
 utility programs.
-
-  <p>When
+</p>
+<p>When
 <code>ntpd(1ntpdmdoc)</code>
 is first started, it reads the key file specified in the
 <code>keys</code>
 configuration command and installs the keys
-in the key cache. 
+in the key cache.
 However,
 individual keys must be activated with the
 <code>trusted</code>
-command before use. 
+command before use.
 This
 allows, for instance, the installation of possibly
 several batches of keys and
 then activating or deactivating each batch
 remotely using
-<code>ntpdc(1ntpdcmdoc)</code>. 
+<code>ntpdc(1ntpdcmdoc)</code>.
 This also provides a revocation capability that can be used
-if a key becomes compromised. 
+if a key becomes compromised.
 The
 <code>requestkey</code>
 command selects the key used as the password for the
@@ -608,121 +683,118 @@ utility, while the
 command selects the key used as the password for the
 <code>ntpq(1ntpqmdoc)</code>
 utility.
-
-<h5 class="subsubsection">Public Key Cryptography</h5>
-
+</p><a name="Public-Key-Cryptography"></a>
+<h4 class="subsubsection">1.1.2.2 Public Key Cryptography</h4>
 <p>NTPv4 supports the original NTPv3 symmetric key scheme
 described in RFC-1305 and in addition the Autokey protocol,
-which is based on public key cryptography. 
+which is based on public key cryptography.
 The Autokey Version 2 protocol described on the Autokey Protocol
 page verifies packet integrity using MD5 message digests
 and verifies the source with digital signatures and any of several
-digest/signature schemes. 
+digest/signature schemes.
 Optional identity schemes described on the Identity Schemes
 page and based on cryptographic challenge/response algorithms
-are also available. 
+are also available.
 Using all of these schemes provides strong security against
 replay with or without modification, spoofing, masquerade
 and most forms of clogging attacks.
-
-  <p>The Autokey protocol has several modes of operation
-corresponding to the various NTP modes supported. 
+</p>
+<p>The Autokey protocol has several modes of operation
+corresponding to the various NTP modes supported.
 Most modes use a special cookie which can be
 computed independently by the client and server,
-but encrypted in transmission. 
+but encrypted in transmission.
 All modes use in addition a variant of the S-KEY scheme,
 in which a pseudo-random key list is generated and used
-in reverse order. 
+in reverse order.
 These schemes are described along with an executive summary,
 current status, briefing slides and reading list on the
-<a href="#Autonomous-Authentication">Autonomous Authentication</a>
+&lsquo;Autonomous Authentication&rsquo;
 page.
-
-  <p>The specific cryptographic environment used by Autokey servers
+</p>
+<p>The specific cryptographic environment used by Autokey servers
 and clients is determined by a set of files
 and soft links generated by the
 <code>ntp-keygen(1ntpkeygenmdoc)</code>
-program. 
+program.
 This includes a required host key file,
 required certificate file and optional sign key file,
-leapsecond file and identity scheme files. 
+leapsecond file and identity scheme files.
 The
 digest/signature scheme is specified in the X.509 certificate
-along with the matching sign key. 
+along with the matching sign key.
 There are several schemes
 available in the OpenSSL software library, each identified
 by a specific string such as
 <code>md5WithRSAEncryption</code>,
 which stands for the MD5 message digest with RSA
-encryption scheme. 
+encryption scheme.
 The current NTP distribution supports
 all the schemes in the OpenSSL library, including
 those based on RSA and DSA digital signatures.
-
-  <p>NTP secure groups can be used to define cryptographic compartments
-and security hierarchies. 
+</p>
+<p>NTP secure groups can be used to define cryptographic compartments
+and security hierarchies.
 It is important that every host
 in the group be able to construct a certificate trail to one
-or more trusted hosts in the same group. 
+or more trusted hosts in the same group.
 Each group
 host runs the Autokey protocol to obtain the certificates
-for all hosts along the trail to one or more trusted hosts. 
+for all hosts along the trail to one or more trusted hosts.
 This requires the configuration file in all hosts to be
 engineered so that, even under anticipated failure conditions,
 the NTP subnet will form such that every group host can find
 a trail to at least one trusted host.
-
-<h5 class="subsubsection">Naming and Addressing</h5>
-
+</p><a name="Naming-and-Addressing"></a>
+<h4 class="subsubsection">1.1.2.3 Naming and Addressing</h4>
 <p>It is important to note that Autokey does not use DNS to
-resolve addresses, since DNS can't be completely trusted
-until the name servers have synchronized clocks. 
+resolve addresses, since DNS can&rsquo;t be completely trusted
+until the name servers have synchronized clocks.
 The cryptographic name used by Autokey to bind the host identity
 credentials and cryptographic values must be independent
-of interface, network and any other naming convention. 
+of interface, network and any other naming convention.
 The name appears in the host certificate in either or both
 the subject and issuer fields, so protection against
 DNS compromise is essential.
-
-  <p>By convention, the name of an Autokey host is the name returned
+</p>
+<p>By convention, the name of an Autokey host is the name returned
 by the Unix
 <code>gethostname(2)</code>
-system call or equivalent in other systems. 
+system call or equivalent in other systems.
 By the system design
-model, there are no provisions to allow alternate names or aliases. 
+model, there are no provisions to allow alternate names or aliases.
 However, this is not to say that DNS aliases, different names
 for each interface, etc., are constrained in any way.
-
-  <p>It is also important to note that Autokey verifies authenticity
+</p>
+<p>It is also important to note that Autokey verifies authenticity
 using the host name, network address and public keys,
 all of which are bound together by the protocol specifically
-to deflect masquerade attacks. 
+to deflect masquerade attacks.
 For this reason Autokey
 includes the source and destinatino IP addresses in message digest
 computations and so the same addresses must be available
-at both the server and client. 
+at both the server and client.
 For this reason operation
-with network address translation schemes is not possible. 
+with network address translation schemes is not possible.
 This reflects the intended robust security model where government
 and corporate NTP servers are operated outside firewall perimeters.
-
-<h5 class="subsubsection">Operation</h5>
-
+</p><a name="Operation"></a>
+<h4 class="subsubsection">1.1.2.4 Operation</h4>
 <p>A specific combination of authentication scheme (none,
 symmetric key, public key) and identity scheme is called
-a cryptotype, although not all combinations are compatible. 
+a cryptotype, although not all combinations are compatible.
 There may be management configurations where the clients,
-servers and peers may not all support the same cryptotypes. 
+servers and peers may not all support the same cryptotypes.
 A secure NTPv4 subnet can be configured in many ways while
 keeping in mind the principles explained above and
-in this section. 
+in this section.
 Note however that some cryptotype
 combinations may successfully interoperate with each other,
 but may not represent good security practice.
-
-  <p>The cryptotype of an association is determined at the time
+</p>
+<p>The cryptotype of an association is determined at the time
 of mobilization, either at configuration time or some time
-later when a message of appropriate cryptotype arrives. 
+later when a message of appropriate cryptotype arrives.
 When mobilized by a
 <code>server</code>
 or
@@ -739,514 +811,610 @@ using the symmetric key ID specified; if the
 <code>autokey</code>
 subcommand is present, the association is authenticated
 using Autokey.
-
-  <p>When multiple identity schemes are supported in the Autokey
-protocol, the first message exchange determines which one is used. 
+</p>
+<p>When multiple identity schemes are supported in the Autokey
+protocol, the first message exchange determines which one is used.
 The client request message contains bits corresponding
-to which schemes it has available. 
+to which schemes it has available.
 The server response message
-contains bits corresponding to which schemes it has available. 
+contains bits corresponding to which schemes it has available.
 Both server and client match the received bits with their own
 and select a common scheme.
-
-  <p>Following the principle that time is a public value,
+</p>
+<p>Following the principle that time is a public value,
 a server responds to any client packet that matches
-its cryptotype capabilities. 
+its cryptotype capabilities.
 Thus, a server receiving
 an unauthenticated packet will respond with an unauthenticated
 packet, while the same server receiving a packet of a cryptotype
-it supports will respond with packets of that cryptotype. 
+it supports will respond with packets of that cryptotype.
 However, unconfigured broadcast or manycast client
 associations or symmetric passive associations will not be
 mobilized unless the server supports a cryptotype compatible
-with the first packet received. 
+with the first packet received.
 By default, unauthenticated associations will not be mobilized
 unless overridden in a decidedly dangerous way.
-
-  <p>Some examples may help to reduce confusion. 
-Client Alice has no specific cryptotype selected. 
-Server Bob has both a symmetric key file and minimal Autokey files. 
-Alice's unauthenticated messages arrive at Bob, who replies with
-unauthenticated messages. 
-Cathy has a copy of Bob's symmetric
-key file and has selected key ID 4 in messages to Bob. 
-Bob verifies the message with his key ID 4. 
-If it's the
+</p>
+<p>Some examples may help to reduce confusion.
+Client Alice has no specific cryptotype selected.
+Server Bob has both a symmetric key file and minimal Autokey files.
+Alice&rsquo;s unauthenticated messages arrive at Bob, who replies with
+unauthenticated messages.
+Cathy has a copy of Bob&rsquo;s symmetric
+key file and has selected key ID 4 in messages to Bob.
+Bob verifies the message with his key ID 4.
+If it&rsquo;s the
 same key and the message is verified, Bob sends Cathy a reply
-authenticated with that key. 
+authenticated with that key.
 If verification fails,
 Bob sends Cathy a thing called a crypto-NAK, which tells her
-something broke. 
+something broke.
 She can see the evidence using the
 <code>ntpq(1ntpqmdoc)</code>
 program.
-
-  <p>Denise has rolled her own host key and certificate. 
-She also uses one of the identity schemes as Bob. 
+</p>
+<p>Denise has rolled her own host key and certificate.
+She also uses one of the identity schemes as Bob.
 She sends the first Autokey message to Bob and they
-both dance the protocol authentication and identity steps. 
+both dance the protocol authentication and identity steps.
 If all comes out okay, Denise and Bob continue as described above.
-
-  <p>It should be clear from the above that Bob can support
+</p>
+<p>It should be clear from the above that Bob can support
 all the girls at the same time, as long as he has compatible
-authentication and identity credentials. 
+authentication and identity credentials.
 Now, Bob can act just like the girls in his own choice of servers;
 he can run multiple configured associations with multiple different
-servers (or the same server, although that might not be useful). 
+servers (or the same server, although that might not be useful).
 But, wise security policy might preclude some cryptotype
 combinations; for instance, running an identity scheme
 with one server and no authentication with another might not be wise.
-
-<h5 class="subsubsection">Key Management</h5>
-
+</p><a name="Key-Management"></a>
+<h4 class="subsubsection">1.1.2.5 Key Management</h4>
 <p>The cryptographic values used by the Autokey protocol are
 incorporated as a set of files generated by the
 <code>ntp-keygen(1ntpkeygenmdoc)</code>
 utility program, including symmetric key, host key and
 public certificate files, as well as sign key, identity parameters
-and leapseconds files. 
+and leapseconds files.
 Alternatively, host and sign keys and
 certificate files can be generated by the OpenSSL utilities
 and certificates can be imported from public certificate
-authorities. 
+authorities.
 Note that symmetric keys are necessary for the
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-utility programs. 
+utility programs.
 The remaining files are necessary only for the
 Autokey protocol.
-
-  <p>Certificates imported from OpenSSL or public certificate
-authorities have certian limitations. 
+</p>
+<p>Certificates imported from OpenSSL or public certificate
+authorities have certian limitations.
 The certificate should be in ASN.1 syntax, X.509 Version 3
 format and encoded in PEM, which is the same format
-used by OpenSSL. 
+used by OpenSSL.
 The overall length of the certificate encoded
-in ASN.1 must not exceed 1024 bytes. 
+in ASN.1 must not exceed 1024 bytes.
 The subject distinguished
 name field (CN) is the fully qualified name of the host
-on which it is used; the remaining subject fields are ignored. 
+on which it is used; the remaining subject fields are ignored.
 The certificate extension fields must not contain either
 a subject key identifier or a issuer key identifier field;
 however, an extended key usage field for a trusted host must
 contain the value
-<code>trustRoot</code>;. 
+<code>trustRoot</code>;.
 Other extension fields are ignored.
-
-<h5 class="subsubsection">Authentication Commands</h5>
-
-     <dl>
-<dt><code>autokey</code> <code>[</code><kbd>logsec</kbd><code>]</code><dd>Specifies the interval between regenerations of the session key
-list used with the Autokey protocol. 
+</p><a name="Authentication-Commands"></a>
+<h4 class="subsubsection">1.1.2.6 Authentication Commands</h4>
+<dl compact="compact">
+<dt><code>autokey</code> <code>[<kbd>logsec</kbd>]</code></dt>
+<dd><p>Specifies the interval between regenerations of the session key
+list used with the Autokey protocol.
 Note that the size of the key
 list for each association depends on this interval and the current
-poll interval. 
-The default value is 12 (4096 s or about 1.1 hours). 
+poll interval.
+The default value is 12 (4096 s or about 1.1 hours).
 For poll intervals above the specified interval, a session key list
 with a single entry will be regenerated for every message
-sent. 
-<br><dt><code>controlkey</code> <kbd>key</kbd><dd>Specifies the key identifier to use with the
+sent.
+</p></dd>
+<dt><code>controlkey</code> <kbd>key</kbd></dt>
+<dd><p>Specifies the key identifier to use with the
 <code>ntpq(1ntpqmdoc)</code>
 utility, which uses the standard
-protocol defined in RFC-1305. 
+protocol defined in RFC-1305.
 The
 <kbd>key</kbd>
 argument is
 the key identifier for a trusted key, where the value can be in the
-range 1 to 65,534, inclusive. 
-<br><dt><code>crypto</code> <code>[cert </code><kbd>file</kbd><code>]</code> <code>[leap </code><kbd>file</kbd><code>]</code> <code>[randfile </code><kbd>file</kbd><code>]</code> <code>[host </code><kbd>file</kbd><code>]</code> <code>[sign </code><kbd>file</kbd><code>]</code> <code>[gq </code><kbd>file</kbd><code>]</code> <code>[gqpar </code><kbd>file</kbd><code>]</code> <code>[iffpar </code><kbd>file</kbd><code>]</code> <code>[mvpar </code><kbd>file</kbd><code>]</code> <code>[pw </code><kbd>password</kbd><code>]</code><dd>This command requires the OpenSSL library. 
+range 1 to 65,534, inclusive.
+</p></dd>
+<dt><code>crypto</code> <code>[<code>cert</code> <kbd>file</kbd>]</code> <code>[<code>leap</code> <kbd>file</kbd>]</code> <code>[<code>randfile</code> <kbd>file</kbd>]</code> <code>[<code>host</code> <kbd>file</kbd>]</code> <code>[<code>sign</code> <kbd>file</kbd>]</code> <code>[<code>gq</code> <kbd>file</kbd>]</code> <code>[<code>gqpar</code> <kbd>file</kbd>]</code> <code>[<code>iffpar</code> <kbd>file</kbd>]</code> <code>[<code>mvpar</code> <kbd>file</kbd>]</code> <code>[<code>pw</code> <kbd>password</kbd>]</code></dt>
+<dd><p>This command requires the OpenSSL library.
 It activates public key
 cryptography, selects the message digest and signature
 encryption scheme and loads the required private and public
-values described above. 
+values described above.
 If one or more files are left unspecified,
-the default names are used as described above. 
+the default names are used as described above.
 Unless the complete path and name of the file are specified, the
 location of a file is relative to the keys directory specified
 in the
 <code>keysdir</code>
 command or default
-<span class="file">/usr/local/etc</span>. 
+<samp>/usr/local/etc</samp>.
 Following are the subcommands:
-          <dl>
-<dt><code>cert</code> <kbd>file</kbd><dd>Specifies the location of the required host public certificate file. 
+</p><dl compact="compact">
+<dt><code>cert</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the required host public certificate file.
 This overrides the link
-<span class="file">ntpkey_cert_</span><kbd>hostname</kbd>
-in the keys directory. 
-<br><dt><code>gqpar</code> <kbd>file</kbd><dd>Specifies the location of the optional GQ parameters file. 
+<samp>ntpkey_cert_</samp><kbd>hostname</kbd>
+in the keys directory.
+</p></dd>
+<dt><code>gqpar</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the optional GQ parameters file.
 This
 overrides the link
-<span class="file">ntpkey_gq_</span><kbd>hostname</kbd>
-in the keys directory. 
-<br><dt><code>host</code> <kbd>file</kbd><dd>Specifies the location of the required host key file. 
+<samp>ntpkey_gq_</samp><kbd>hostname</kbd>
+in the keys directory.
+</p></dd>
+<dt><code>host</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the required host key file.
 This overrides
 the link
-<span class="file">ntpkey_key_</span><kbd>hostname</kbd>
-in the keys directory. 
-<br><dt><code>iffpar</code> <kbd>file</kbd><dd>Specifies the location of the optional IFF parameters file.This
+<samp>ntpkey_key_</samp><kbd>hostname</kbd>
+in the keys directory.
+</p></dd>
+<dt><code>iffpar</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the optional IFF parameters file.This
 overrides the link
-<span class="file">ntpkey_iff_</span><kbd>hostname</kbd>
-in the keys directory. 
-<br><dt><code>leap</code> <kbd>file</kbd><dd>Specifies the location of the optional leapsecond file. 
+<samp>ntpkey_iff_</samp><kbd>hostname</kbd>
+in the keys directory.
+</p></dd>
+<dt><code>leap</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the optional leapsecond file.
 This overrides the link
-<span class="file">ntpkey_leap</span>
-in the keys directory. 
-<br><dt><code>mvpar</code> <kbd>file</kbd><dd>Specifies the location of the optional MV parameters file. 
+<samp>ntpkey_leap</samp>
+in the keys directory.
+</p></dd>
+<dt><code>mvpar</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the optional MV parameters file.
 This
 overrides the link
-<span class="file">ntpkey_mv_</span><kbd>hostname</kbd>
-in the keys directory. 
-<br><dt><code>pw</code> <kbd>password</kbd><dd>Specifies the password to decrypt files containing private keys and
-identity parameters. 
+<samp>ntpkey_mv_</samp><kbd>hostname</kbd>
+in the keys directory.
+</p></dd>
+<dt><code>pw</code> <kbd>password</kbd></dt>
+<dd><p>Specifies the password to decrypt files containing private keys and
+identity parameters.
 This is required only if these files have been
-encrypted. 
-<br><dt><code>randfile</code> <kbd>file</kbd><dd>Specifies the location of the random seed file used by the OpenSSL
-library. 
-The defaults are described in the main text above. 
-<br><dt><code>sign</code> <kbd>file</kbd><dd>Specifies the location of the optional sign key file. 
+encrypted.
+</p></dd>
+<dt><code>randfile</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the random seed file used by the OpenSSL
+library.
+The defaults are described in the main text above.
+</p></dd>
+<dt><code>sign</code> <kbd>file</kbd></dt>
+<dd><p>Specifies the location of the optional sign key file.
 This overrides
 the link
-<span class="file">ntpkey_sign_</span><kbd>hostname</kbd>
-in the keys directory. 
+<samp>ntpkey_sign_</samp><kbd>hostname</kbd>
+in the keys directory.
 If this file is
-not found, the host key is also the sign key. 
+not found, the host key is also the sign key.
+</p></dd>
 </dl>
-     <br><dt><code>keys</code> <kbd>keyfile</kbd><dd>Specifies the complete path and location of the MD5 key file
+</dd>
+<dt><code>keys</code> <kbd>keyfile</kbd></dt>
+<dd><p>Specifies the complete path and location of the MD5 key file
 containing the keys and key identifiers used by
 <code>ntpd(1ntpdmdoc)</code>,
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-when operating with symmetric key cryptography. 
+when operating with symmetric key cryptography.
 This is the same operation as the
 <code>-k</code>
-command line option. 
-<br><dt><code>keysdir</code> <kbd>path</kbd><dd>This command specifies the default directory path for
-cryptographic keys, parameters and certificates. 
+command line option.
+</p></dd>
+<dt><code>keysdir</code> <kbd>path</kbd></dt>
+<dd><p>This command specifies the default directory path for
+cryptographic keys, parameters and certificates.
 The default is
-<span class="file">/usr/local/etc/</span>. 
-<br><dt><code>requestkey</code> <kbd>key</kbd><dd>Specifies the key identifier to use with the
+<samp>/usr/local/etc/</samp>.
+</p></dd>
+<dt><code>requestkey</code> <kbd>key</kbd></dt>
+<dd><p>Specifies the key identifier to use with the
 <code>ntpdc(1ntpdcmdoc)</code>
 utility program, which uses a
 proprietary protocol specific to this implementation of
-<code>ntpd(1ntpdmdoc)</code>. 
+<code>ntpd(1ntpdmdoc)</code>.
 The
 <kbd>key</kbd>
 argument is a key identifier
 for the trusted key, where the value can be in the range 1 to
-65,534, inclusive. 
-<br><dt><code>revoke</code> <kbd>logsec</kbd><dd>Specifies the interval between re-randomization of certain
+65,534, inclusive.
+</p></dd>
+<dt><code>revoke</code> <kbd>logsec</kbd></dt>
+<dd><p>Specifies the interval between re-randomization of certain
 cryptographic values used by the Autokey scheme, as a power of 2 in
-seconds. 
+seconds.
 These values need to be updated frequently in order to
 deflect brute-force attacks on the algorithms of the scheme;
-however, updating some values is a relatively expensive operation. 
-The default interval is 16 (65,536 s or about 18 hours). 
+however, updating some values is a relatively expensive operation.
+The default interval is 16 (65,536 s or about 18 hours).
 For poll
 intervals above the specified interval, the values will be updated
-for every message sent. 
-<br><dt><code>trustedkey</code> <kbd>key</kbd> <kbd>...</kbd><dd>Specifies the key identifiers which are trusted for the
+for every message sent.
+</p></dd>
+<dt><code>trustedkey</code> <kbd>key</kbd> <kbd>...</kbd></dt>
+<dd><p>Specifies the key identifiers which are trusted for the
 purposes of authenticating peers with symmetric key cryptography,
 as well as keys used by the
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-programs. 
+programs.
 The authentication procedures require that both the local
 and remote servers share the same key and key identifier for this
 purpose, although different keys can be used with different
-servers. 
+servers.
 The
 <kbd>key</kbd>
 arguments are 32-bit unsigned
-integers with values from 1 to 65,534. 
+integers with values from 1 to 65,534.
+</p></dd>
 </dl>
-
-<h5 class="subsubsection">Error Codes</h5>
-
+<a name="Error-Codes"></a>
+<h4 class="subsubsection">1.1.2.7 Error Codes</h4>
 <p>The following error codes are reported via the NTP control
 and monitoring protocol trap mechanism.
-     <dl>
-<dt>101<dd>(bad field format or length)
-The packet has invalid version, length or format. 
-<br><dt>102<dd>(bad timestamp)
-The packet timestamp is the same or older than the most recent received. 
-This could be due to a replay or a server clock time step. 
-<br><dt>103<dd>(bad filestamp)
-The packet filestamp is the same or older than the most recent received. 
-This could be due to a replay or a key file generation error. 
-<br><dt>104<dd>(bad or missing public key)
-The public key is missing, has incorrect format or is an unsupported type. 
-<br><dt>105<dd>(unsupported digest type)
-The server requires an unsupported digest/signature scheme. 
-<br><dt>106<dd>(mismatched digest types)
-Not used. 
-<br><dt>107<dd>(bad signature length)
-The signature length does not match the current public key. 
-<br><dt>108<dd>(signature not verified)
-The message fails the signature check. 
+</p><dl compact="compact">
+<dt>101</dt>
+<dd><p>(bad field format or length)
+The packet has invalid version, length or format.
+</p></dd>
+<dt>102</dt>
+<dd><p>(bad timestamp)
+The packet timestamp is the same or older than the most recent received.
+This could be due to a replay or a server clock time step.
+</p></dd>
+<dt>103</dt>
+<dd><p>(bad filestamp)
+The packet filestamp is the same or older than the most recent received.
+This could be due to a replay or a key file generation error.
+</p></dd>
+<dt>104</dt>
+<dd><p>(bad or missing public key)
+The public key is missing, has incorrect format or is an unsupported type.
+</p></dd>
+<dt>105</dt>
+<dd><p>(unsupported digest type)
+The server requires an unsupported digest/signature scheme.
+</p></dd>
+<dt>106</dt>
+<dd><p>(mismatched digest types)
+Not used.
+</p></dd>
+<dt>107</dt>
+<dd><p>(bad signature length)
+The signature length does not match the current public key.
+</p></dd>
+<dt>108</dt>
+<dd><p>(signature not verified)
+The message fails the signature check.
 It could be bogus or signed by a
-different private key. 
-<br><dt>109<dd>(certificate not verified)
-The certificate is invalid or signed with the wrong key. 
-<br><dt>110<dd>(certificate not verified)
+different private key.
+</p></dd>
+<dt>109</dt>
+<dd><p>(certificate not verified)
+The certificate is invalid or signed with the wrong key.
+</p></dd>
+<dt>110</dt>
+<dd><p>(certificate not verified)
 The certificate is not yet valid or has expired or the signature could not
-be verified. 
-<br><dt>111<dd>(bad or missing cookie)
-The cookie is missing, corrupted or bogus. 
-<br><dt>112<dd>(bad or missing leapseconds table)
-The leapseconds table is missing, corrupted or bogus. 
-<br><dt>113<dd>(bad or missing certificate)
-The certificate is missing, corrupted or bogus. 
-<br><dt>114<dd>(bad or missing identity)
-The identity key is missing, corrupt or bogus. 
+be verified.
+</p></dd>
+<dt>111</dt>
+<dd><p>(bad or missing cookie)
+The cookie is missing, corrupted or bogus.
+</p></dd>
+<dt>112</dt>
+<dd><p>(bad or missing leapseconds table)
+The leapseconds table is missing, corrupted or bogus.
+</p></dd>
+<dt>113</dt>
+<dd><p>(bad or missing certificate)
+The certificate is missing, corrupted or bogus.
+</p></dd>
+<dt>114</dt>
+<dd><p>(bad or missing identity)
+The identity key is missing, corrupt or bogus.
+</p></dd>
 </dl>
-  <div class="node">
-<p><hr>
+<hr>
 <a name="Monitoring-Support"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Access-Control-Support" accesskey="n" rel="next">Access Control Support</a>, Previous: <a href="#Authentication-Support" accesskey="p" rel="prev">Authentication Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Monitoring Support</h4>
-
+<a name="Monitoring-Support-1"></a>
+<h4 class="subsection">1.1.3 Monitoring Support</h4>
 <p><code>ntpd(1ntpdmdoc)</code>
 includes a comprehensive monitoring facility suitable
 for continuous, long term recording of server and client
-timekeeping performance. 
+timekeeping performance.
 See the
 <code>statistics</code>
 command below
 for a listing and example of each type of statistics currently
-supported. 
+supported.
 Statistic files are managed using file generation sets
 and scripts in the
-<span class="file">./scripts</span>
-directory of this distribution. 
+<samp>./scripts</samp>
+directory of this distribution.
 Using
 these facilities and
-<span class="sc">unix</span>
+<small>UNIX</small>
 <code>cron(8)</code>
 jobs, the data can be
 automatically summarized and archived for retrospective analysis.
-
-<h5 class="subsubsection">Monitoring Commands</h5>
-
-     <dl>
-<dt><code>statistics</code> <kbd>name</kbd> <kbd>...</kbd><dd>Enables writing of statistics records. 
+</p><a name="Monitoring-Commands"></a>
+<h4 class="subsubsection">1.1.3.1 Monitoring Commands</h4>
+<dl compact="compact">
+<dt><code>statistics</code> <kbd>name</kbd> <kbd>...</kbd></dt>
+<dd><p>Enables writing of statistics records.
 Currently, eight kinds of
 <kbd>name</kbd>
 statistics are supported.
-          <dl>
-<dt><code>clockstats</code><dd>Enables recording of clock driver statistics information. 
+</p><dl compact="compact">
+<dt><code>clockstats</code></dt>
+<dd><p>Enables recording of clock driver statistics information.
 Each update
 received from a clock driver appends a line of the following form to
 the file generation set named
 <code>clockstats</code>:
-<pre class="verbatim">          
-          49213 525.624 127.127.4.1 93 226 00:08:29.606 D
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and time
-(seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">49213 525.624 127.127.4.1 93 226 00:08:29.606 D
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and time
+(seconds and fraction past UTC midnight).
 The next field shows the
-clock address in dotted-quad notation. 
+clock address in dotted-quad notation.
 The final field shows the last
 timecode received from the clock in decoded ASCII format, where
-meaningful. 
+meaningful.
 In some clock drivers a good deal of additional information
-can be gathered and displayed as well. 
+can be gathered and displayed as well.
 See information specific to each
-clock for further details. 
-<br><dt><code>cryptostats</code><dd>This option requires the OpenSSL cryptographic software library. 
+clock for further details.
+</p></dd>
+<dt><code>cryptostats</code></dt>
+<dd><p>This option requires the OpenSSL cryptographic software library.
 It
-enables recording of cryptographic public key protocol information. 
+enables recording of cryptographic public key protocol information.
 Each message received by the protocol module appends a line of the
 following form to the file generation set named
 <code>cryptostats</code>:
-<pre class="verbatim">          
-          49213 525.624 127.127.4.1 message
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and time
-(seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">49213 525.624 127.127.4.1 message
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and time
+(seconds and fraction past UTC midnight).
 The next field shows the peer
 address in dotted-quad notation, The final message field includes the
-message type and certain ancillary information. 
+message type and certain ancillary information.
 See the
-<a href="#Authentication-Options">Authentication Options</a>
-section for further information. 
-<br><dt><code>loopstats</code><dd>Enables recording of loop filter statistics information. 
+&lsquo;Authentication Options&rsquo;
+section for further information.
+</p></dd>
+<dt><code>loopstats</code></dt>
+<dd><p>Enables recording of loop filter statistics information.
 Each
 update of the local clock outputs a line of the following form to
 the file generation set named
 <code>loopstats</code>:
-<pre class="verbatim">          
-          50935 75440.031 0.000006019 13.778190 0.000351733 0.0133806
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and
-time (seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">50935 75440.031 0.000006019 13.778190 0.000351733 0.0133806
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and
+time (seconds and fraction past UTC midnight).
 The next five fields
 show time offset (seconds), frequency offset (parts per million -
 PPM), RMS jitter (seconds), Allan deviation (PPM) and clock
-discipline time constant. 
-<br><dt><code>peerstats</code><dd>Enables recording of peer statistics information. 
+discipline time constant.
+</p></dd>
+<dt><code>peerstats</code></dt>
+<dd><p>Enables recording of peer statistics information.
 This includes
 statistics records of all peers of a NTP server and of special
-signals, where present and configured. 
+signals, where present and configured.
 Each valid update appends a
 line of the following form to the current element of a file
 generation set named
 <code>peerstats</code>:
-<pre class="verbatim">          
-          48773 10847.650 127.127.4.1 9714 -0.001605376 0.000000000 0.001424877 0.000958674
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and
-time (seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">48773 10847.650 127.127.4.1 9714 -0.001605376 0.000000000 0.001424877 0.000958674
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and
+time (seconds and fraction past UTC midnight).
 The next two fields
 show the peer address in dotted-quad notation and status,
-respectively. 
+respectively.
 The status field is encoded in hex in the format
-described in Appendix A of the NTP specification RFC 1305. 
+described in Appendix A of the NTP specification RFC 1305.
 The final four fields show the offset,
-delay, dispersion and RMS jitter, all in seconds. 
-<br><dt><code>rawstats</code><dd>Enables recording of raw-timestamp statistics information. 
+delay, dispersion and RMS jitter, all in seconds.
+</p></dd>
+<dt><code>rawstats</code></dt>
+<dd><p>Enables recording of raw-timestamp statistics information.
 This
 includes statistics records of all peers of a NTP server and of
-special signals, where present and configured. 
+special signals, where present and configured.
 Each NTP message
 received from a peer or clock driver appends a line of the
 following form to the file generation set named
 <code>rawstats</code>:
-<pre class="verbatim">          
-          50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and
-time (seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and
+time (seconds and fraction past UTC midnight).
 The next two fields
 show the remote peer or clock address followed by the local address
-in dotted-quad notation. 
+in dotted-quad notation.
 The final four fields show the originate,
-receive, transmit and final NTP timestamps in order. 
+receive, transmit and final NTP timestamps in order.
 The timestamp
 values are as received and before processing by the various data
-smoothing and mitigation algorithms. 
-<br><dt><code>sysstats</code><dd>Enables recording of ntpd statistics counters on a periodic basis. 
+smoothing and mitigation algorithms.
+</p></dd>
+<dt><code>sysstats</code></dt>
+<dd><p>Enables recording of ntpd statistics counters on a periodic basis.
 Each
 hour a line of the following form is appended to the file generation
 set named
 <code>sysstats</code>:
-<pre class="verbatim">          
-          50928 2132.543 36000 81965 0 9546 56 71793 512 540 10 147
-     </pre>
-
-          <p>The first two fields show the date (Modified Julian Day) and time
-(seconds and fraction past UTC midnight). 
+</p><pre class="verbatim">50928 2132.543 36000 81965 0 9546 56 71793 512 540 10 147
+</pre>
+<p>The first two fields show the date (Modified Julian Day) and time
+(seconds and fraction past UTC midnight).
 The remaining ten fields show
 the statistics counter values accumulated since the last generated
 line.
-               <dl>
-<dt>Time since restart <code>36000</code><dd>Time in hours since the system was last rebooted. 
-<br><dt>Packets received <code>81965</code><dd>Total number of packets received. 
-<br><dt>Packets processed <code>0</code><dd>Number of packets received in response to previous packets sent
-<br><dt>Current version <code>9546</code><dd>Number of packets matching the current NTP version. 
-<br><dt>Previous version <code>56</code><dd>Number of packets matching the previous NTP version. 
-<br><dt>Bad version <code>71793</code><dd>Number of packets matching neither NTP version. 
-<br><dt>Access denied <code>512</code><dd>Number of packets denied access for any reason. 
-<br><dt>Bad length or format <code>540</code><dd>Number of packets with invalid length, format or port number. 
-<br><dt>Bad authentication <code>10</code><dd>Number of packets not verified as authentic. 
-<br><dt>Rate exceeded <code>147</code><dd>Number of packets discarded due to rate limitation. 
+</p><dl compact="compact">
+<dt>Time since restart <code>36000</code></dt>
+<dd><p>Time in hours since the system was last rebooted.
+</p></dd>
+<dt>Packets received <code>81965</code></dt>
+<dd><p>Total number of packets received.
+</p></dd>
+<dt>Packets processed <code>0</code></dt>
+<dd><p>Number of packets received in response to previous packets sent
+</p></dd>
+<dt>Current version <code>9546</code></dt>
+<dd><p>Number of packets matching the current NTP version.
+</p></dd>
+<dt>Previous version <code>56</code></dt>
+<dd><p>Number of packets matching the previous NTP version.
+</p></dd>
+<dt>Bad version <code>71793</code></dt>
+<dd><p>Number of packets matching neither NTP version.
+</p></dd>
+<dt>Access denied <code>512</code></dt>
+<dd><p>Number of packets denied access for any reason.
+</p></dd>
+<dt>Bad length or format <code>540</code></dt>
+<dd><p>Number of packets with invalid length, format or port number.
+</p></dd>
+<dt>Bad authentication <code>10</code></dt>
+<dd><p>Number of packets not verified as authentic.
+</p></dd>
+<dt>Rate exceeded <code>147</code></dt>
+<dd><p>Number of packets discarded due to rate limitation.
+</p></dd>
 </dl>
-          <br><dt><code>statsdir</code> <kbd>directory_path</kbd><dd>Indicates the full path of a directory where statistics files
-should be created (see below). 
+</dd>
+<dt><code>statsdir</code> <kbd>directory_path</kbd></dt>
+<dd><p>Indicates the full path of a directory where statistics files
+should be created (see below).
 This keyword allows
 the (otherwise constant)
 <code>filegen</code>
 filename prefix to be modified for file generation sets, which
-is useful for handling statistics logs. 
-<br><dt><code>filegen</code> <kbd>name</kbd> <code>[file </code><kbd>filename</kbd><code>]</code> <code>[type </code><kbd>typename</kbd><code>]</code> <code>[link | nolink]</code> <code>[enable | disable]</code><dd>Configures setting of generation file set name. 
+is useful for handling statistics logs.
+</p></dd>
+<dt><code>filegen</code> <kbd>name</kbd> <code>[<code>file</code> <kbd>filename</kbd>]</code> <code>[<code>type</code> <kbd>typename</kbd>]</code> <code>[<code>link</code> | <code>nolink</code>]</code> <code>[<code>enable</code> | <code>disable</code>]</code></dt>
+<dd><p>Configures setting of generation file set name.
 Generation
 file sets provide a means for handling files that are
-continuously growing during the lifetime of a server. 
-Server statistics are a typical example for such files. 
+continuously growing during the lifetime of a server.
+Server statistics are a typical example for such files.
 Generation file sets provide access to a set of files used
-to store the actual data. 
+to store the actual data.
 At any time at most one element
-of the set is being written to. 
+of the set is being written to.
 The type given specifies
-when and how data will be directed to a new element of the set. 
+when and how data will be directed to a new element of the set.
 This way, information stored in elements of a file set
 that are currently unused are available for administrational
-operations without the risk of disturbing the operation of ntpd. 
+operations without the risk of disturbing the operation of ntpd.
 (Most important: they can be removed to free space for new data
 produced.)
-
-          <p>Note that this command can be sent from the
+</p>
+<p>Note that this command can be sent from the
 <code>ntpdc(1ntpdcmdoc)</code>
 program running at a remote location.
-               <dl>
-<dt><code>name</code><dd>This is the type of the statistics records, as shown in the
+</p><dl compact="compact">
+<dt><code>name</code></dt>
+<dd><p>This is the type of the statistics records, as shown in the
 <code>statistics</code>
-command. 
-<br><dt><code>file</code> <kbd>filename</kbd><dd>This is the file name for the statistics records. 
+command.
+</p></dd>
+<dt><code>file</code> <kbd>filename</kbd></dt>
+<dd><p>This is the file name for the statistics records.
 Filenames of set
 members are built from three concatenated elements
 <code>prefix</code>,
 <code>filename</code>
 and
 <code>suffix</code>:
-                    <dl>
-<dt><code>prefix</code><dd>This is a constant filename path. 
+</p><dl compact="compact">
+<dt><code>prefix</code></dt>
+<dd><p>This is a constant filename path.
 It is not subject to
 modifications via the
 <kbd>filegen</kbd>
-option. 
+option.
 It is defined by the
-server, usually specified as a compile-time constant. 
+server, usually specified as a compile-time constant.
 It may,
 however, be configurable for individual file generation sets
-via other commands. 
+via other commands.
 For example, the prefix used with
 <kbd>loopstats</kbd>
 and
 <kbd>peerstats</kbd>
 generation can be configured using the
 <kbd>statsdir</kbd>
-option explained above. 
-<br><dt><code>filename</code><dd>This string is directly concatenated to the prefix mentioned
+option explained above.
+</p></dd>
+<dt><code>filename</code></dt>
+<dd><p>This string is directly concatenated to the prefix mentioned
 above (no intervening
-/). 
+&lsquo;/&rsquo;).
 This can be modified using
 the file argument to the
 <kbd>filegen</kbd>
-statement. 
+statement.
 No
-<span class="file">..</span>
+<samp>..</samp>
 elements are
 allowed in this component to prevent filenames referring to
 parts outside the filesystem hierarchy denoted by
-<kbd>prefix</kbd>. 
-<br><dt><code>suffix</code><dd>This part is reflects individual elements of a file set. 
+<kbd>prefix</kbd>.
+</p></dd>
+<dt><code>suffix</code></dt>
+<dd><p>This part is reflects individual elements of a file set.
 It is
-generated according to the type of a file set. 
+generated according to the type of a file set.
+</p></dd>
 </dl>
-               <br><dt><code>type</code> <kbd>typename</kbd><dd>A file generation set is characterized by its type. 
+</dd>
+<dt><code>type</code> <kbd>typename</kbd></dt>
+<dd><p>A file generation set is characterized by its type.
 The following
 types are supported:
-                    <dl>
-<dt><code>none</code><dd>The file set is actually a single plain file. 
-<br><dt><code>pid</code><dd>One element of file set is used per incarnation of a ntpd
-server. 
+</p><dl compact="compact">
+<dt><code>none</code></dt>
+<dd><p>The file set is actually a single plain file.
+</p></dd>
+<dt><code>pid</code></dt>
+<dd><p>One element of file set is used per incarnation of a ntpd
+server.
 This type does not perform any changes to file set
 members during runtime, however it provides an easy way of
 separating files belonging to different
 <code>ntpd(1ntpdmdoc)</code>
-server incarnations. 
+server incarnations.
 The set member filename is built by appending a
-. 
+&lsquo;.&rsquo;
 to concatenated
 <kbd>prefix</kbd>
 and
@@ -1254,428 +1422,474 @@ and
 strings, and
 appending the decimal representation of the process ID of the
 <code>ntpd(1ntpdmdoc)</code>
-server process. 
-<br><dt><code>day</code><dd>One file generation set element is created per day. 
+server process.
+</p></dd>
+<dt><code>day</code></dt>
+<dd><p>One file generation set element is created per day.
 A day is
-defined as the period between 00:00 and 24:00 UTC. 
+defined as the period between 00:00 and 24:00 UTC.
 The file set
 member suffix consists of a
-. 
+&lsquo;.&rsquo;
 and a day specification in
 the form
-<code>YYYYMMdd</code>. 
+<code>YYYYMMdd</code>.
 <code>YYYY</code>
-is a 4-digit year number (e.g., 1992). 
+is a 4-digit year number (e.g., 1992).
 <code>MM</code>
-is a two digit month number. 
+is a two digit month number.
 <code>dd</code>
-is a two digit day number. 
+is a two digit day number.
 Thus, all information written at 10 December 1992 would end up
 in a file named
 <kbd>prefix</kbd>
-<kbd>filename</kbd>.19921210. 
-<br><dt><code>week</code><dd>Any file set member contains data related to a certain week of
-a year. 
+<kbd>filename</kbd>.19921210.
+</p></dd>
+<dt><code>week</code></dt>
+<dd><p>Any file set member contains data related to a certain week of
+a year.
 The term week is defined by computing day-of-year
-modulo 7. 
+modulo 7.
 Elements of such a file generation set are
 distinguished by appending the following suffix to the file set
 filename base: A dot, a 4-digit year number, the letter
 <code>W</code>,
-and a 2-digit week number. 
+and a 2-digit week number.
 For example, information from January,
 10th 1992 would end up in a file with suffix
-.No . Ns Ar 1992W1 . 
-<br><dt><code>month</code><dd>One generation file set element is generated per month. 
+.No . Ns Ar 1992W1 .
+</p></dd>
+<dt><code>month</code></dt>
+<dd><p>One generation file set element is generated per month.
 The
 file name suffix consists of a dot, a 4-digit year number, and
-a 2-digit month. 
-<br><dt><code>year</code><dd>One generation file element is generated per year. 
+a 2-digit month.
+</p></dd>
+<dt><code>year</code></dt>
+<dd><p>One generation file element is generated per year.
 The filename
-suffix consists of a dot and a 4 digit year number. 
-<br><dt><code>age</code><dd>This type of file generation sets changes to a new element of
-the file set every 24 hours of server operation. 
+suffix consists of a dot and a 4 digit year number.
+</p></dd>
+<dt><code>age</code></dt>
+<dd><p>This type of file generation sets changes to a new element of
+the file set every 24 hours of server operation.
 The filename
 suffix consists of a dot, the letter
 <code>a</code>,
-and an 8-digit number. 
+and an 8-digit number.
 This number is taken to be the number of seconds the server is
-running at the start of the corresponding 24-hour period. 
+running at the start of the corresponding 24-hour period.
 Information is only written to a file generation by specifying
 <code>enable</code>;
 output is prevented by specifying
-<code>disable</code>. 
+<code>disable</code>.
+</p></dd>
 </dl>
-               <br><dt><code>link</code> | <code>nolink</code><dd>It is convenient to be able to access the current element of a file
-generation set by a fixed name. 
+</dd>
+<dt><code>link</code> | <code>nolink</code></dt>
+<dd><p>It is convenient to be able to access the current element of a file
+generation set by a fixed name.
 This feature is enabled by
 specifying
 <code>link</code>
 and disabled using
-<code>nolink</code>. 
+<code>nolink</code>.
 If link is specified, a
 hard link from the current file set element to a file without
-suffix is created. 
+suffix is created.
 When there is already a file with this name and
 the number of links of this file is one, it is renamed appending a
 dot, the letter
 <code>C</code>,
-and the pid of the ntpd server process. 
+and the pid of the ntpd server process.
 When the
-number of links is greater than one, the file is unlinked. 
+number of links is greater than one, the file is unlinked.
 This
-allows the current file to be accessed by a constant name. 
-<br><dt><code>enable</code> <code>|</code> <code>disable</code><dd>Enables or disables the recording function. 
+allows the current file to be accessed by a constant name.
+</p></dd>
+<dt><code>enable</code> <code>|</code> <code>disable</code></dt>
+<dd><p>Enables or disables the recording function.
+</p></dd>
 </dl>
-          </dl>
-     </dl>
-<div class="node">
-<p><hr>
+</dd>
+</dl>
+</dd>
+</dl>
+<hr>
 <a name="Access-Control-Support"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Automatic-NTP-Configuration-Options" accesskey="n" rel="next">Automatic NTP Configuration Options</a>, Previous: <a href="#Monitoring-Support" accesskey="p" rel="prev">Monitoring Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Access Control Support</h4>
-
+<a name="Access-Control-Support-1"></a>
+<h4 class="subsection">1.1.4 Access Control Support</h4>
 <p>The
 <code>ntpd(1ntpdmdoc)</code>
 daemon implements a general purpose address/mask based restriction
-list. 
+list.
 The list contains address/match entries sorted first
-by increasing address values and and then by increasing mask values. 
+by increasing address values and and then by increasing mask values.
 A match occurs when the bitwise AND of the mask and the packet
 source address is equal to the bitwise AND of the mask and
-address in the list. 
+address in the list.
 The list is searched in order with the
 last match found defining the restriction flags associated
-with the entry. 
+with the entry.
 Additional information and examples can be found in the
-"Notes on Configuring NTP and Setting up a NTP Subnet"
+&quot;Notes on Configuring NTP and Setting up a NTP Subnet&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>).
-
-  <p>The restriction facility was implemented in conformance
+<samp>/usr/share/doc/ntp</samp>).
+</p>
+<p>The restriction facility was implemented in conformance
 with the access policies for the original NSFnet backbone
-time servers. 
+time servers.
 Later the facility was expanded to deflect
-cryptographic and clogging attacks. 
+cryptographic and clogging attacks.
 While this facility may
 be useful for keeping unwanted or broken or malicious clients
 from congesting innocent servers, it should not be considered
-an alternative to the NTP authentication facilities. 
+an alternative to the NTP authentication facilities.
 Source address based restrictions are easily circumvented
 by a determined cracker.
-
-  <p>Clients can be denied service because they are explicitly
+</p>
+<p>Clients can be denied service because they are explicitly
 included in the restrict list created by the restrict command
 or implicitly as the result of cryptographic or rate limit
-violations. 
+violations.
 Cryptographic violations include certificate
 or identity verification failure; rate limit violations generally
 result from defective NTP implementations that send packets
-at abusive rates. 
+at abusive rates.
 Some violations cause denied service
 only for the offending packet, others cause denied service
 for a timed period and others cause the denied service for
-an indefinate period. 
+an indefinate period.
 When a client or network is denied access
 for an indefinate period, the only way at present to remove
 the restrictions is by restarting the server.
-
-<h5 class="subsubsection">The Kiss-of-Death Packet</h5>
-
+</p><a name="The-Kiss_002dof_002dDeath-Packet"></a>
+<h4 class="subsubsection">1.1.4.1 The Kiss-of-Death Packet</h4>
 <p>Ordinarily, packets denied service are simply dropped with no
-further action except incrementing statistics counters. 
+further action except incrementing statistics counters.
 Sometimes a
 more proactive response is needed, such as a server message that
 explicitly requests the client to stop sending and leave a message
-for the system operator. 
+for the system operator.
 A special packet format has been created
-for this purpose called the "kiss-of-death" (KoD) packet. 
+for this purpose called the &quot;kiss-of-death&quot; (KoD) packet.
 KoD packets have the leap bits set unsynchronized and stratum set
 to zero and the reference identifier field set to a four-byte
-ASCII code. 
+ASCII code.
 If the
 <code>noserve</code>
 or
 <code>notrust</code>
 flag of the matching restrict list entry is set,
-the code is "DENY"; if the
+the code is &quot;DENY&quot;; if the
 <code>limited</code>
 flag is set and the rate limit
-is exceeded, the code is "RATE". 
-Finally, if a cryptographic violation occurs, the code is "CRYP".
-
-  <p>A client receiving a KoD performs a set of sanity checks to
+is exceeded, the code is &quot;RATE&quot;.
+Finally, if a cryptographic violation occurs, the code is &quot;CRYP&quot;.
+</p>
+<p>A client receiving a KoD performs a set of sanity checks to
 minimize security exposure, then updates the stratum and
 reference identifier peer variables, sets the access
 denied (TEST4) bit in the peer flash variable and sends
-a message to the log. 
+a message to the log.
 As long as the TEST4 bit is set,
-the client will send no further packets to the server. 
+the client will send no further packets to the server.
 The only way at present to recover from this condition is
-to restart the protocol at both the client and server. 
+to restart the protocol at both the client and server.
 This
-happens automatically at the client when the association times out. 
+happens automatically at the client when the association times out.
 It will happen at the server only if the server operator cooperates.
-
-<h5 class="subsubsection">Access Control Commands</h5>
-
-     <dl>
-<dt><code>discard</code> <code>[average </code><kbd>avg</kbd><code>]</code> <code>[minimum </code><kbd>min</kbd><code>]</code> <code>[monitor </code><kbd>prob</kbd><code>]</code><dd>Set the parameters of the
+</p><a name="Access-Control-Commands"></a>
+<h4 class="subsubsection">1.1.4.2 Access Control Commands</h4>
+<dl compact="compact">
+<dt><code>discard</code> <code>[<code>average</code> <kbd>avg</kbd>]</code> <code>[<code>minimum</code> <kbd>min</kbd>]</code> <code>[<code>monitor</code> <kbd>prob</kbd>]</code></dt>
+<dd><p>Set the parameters of the
 <code>limited</code>
 facility which protects the server from
-client abuse. 
+client abuse.
 The
 <code>average</code>
 subcommand specifies the minimum average packet
 spacing, while the
 <code>minimum</code>
-subcommand specifies the minimum packet spacing. 
+subcommand specifies the minimum packet spacing.
 Packets that violate these minima are discarded
-and a kiss-o'-death packet returned if enabled. 
+and a kiss-o&rsquo;-death packet returned if enabled.
 The default
-minimum average and minimum are 5 and 2, respectively. 
+minimum average and minimum are 5 and 2, respectively.
 The monitor subcommand specifies the probability of discard
-for packets that overflow the rate-control window. 
-<br><dt><code>restrict</code> <code>address</code> <code>[mask </code><kbd>mask</kbd><code>]</code> <code>[</code><kbd>flag</kbd> <kbd>...</kbd><code>]</code><dd>The
+for packets that overflow the rate-control window.
+</p></dd>
+<dt><code>restrict</code> <code>address</code> <code>[<code>mask</code> <kbd>mask</kbd>]</code> <code>[<kbd>flag</kbd> <kbd>...</kbd>]</code></dt>
+<dd><p>The
 <kbd>address</kbd>
 argument expressed in
-dotted-quad form is the address of a host or network. 
+dotted-quad form is the address of a host or network.
 Alternatively, the
 <kbd>address</kbd>
-argument can be a valid host DNS name. 
+argument can be a valid host DNS name.
 The
 <kbd>mask</kbd>
 argument expressed in dotted-quad form defaults to
 <code>255.255.255.255</code>,
 meaning that the
 <kbd>address</kbd>
-is treated as the address of an individual host. 
+is treated as the address of an individual host.
 A default entry (address
 <code>0.0.0.0</code>,
 mask
 <code>0.0.0.0</code>)
-is always included and is always the first entry in the list. 
+is always included and is always the first entry in the list.
 Note that text string
 <code>default</code>,
 with no mask option, may
-be used to indicate the default entry. 
+be used to indicate the default entry.
 In the current implementation,
 <code>flag</code>
 always
 restricts access, i.e., an entry with no flags indicates that free
-access to the server is to be given. 
+access to the server is to be given.
 The flags are not orthogonal,
 in that more restrictive flags will often make less restrictive
-ones redundant. 
+ones redundant.
 The flags can generally be classed into two
 categories, those which restrict time service and those which
 restrict informational queries and attempts to do run-time
-reconfiguration of the server. 
+reconfiguration of the server.
 One or more of the following flags
 may be specified:
-          <dl>
-<dt><code>ignore</code><dd>Deny packets of all kinds, including
+</p><dl compact="compact">
+<dt><code>ignore</code></dt>
+<dd><p>Deny packets of all kinds, including
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-queries. 
-<br><dt><code>kod</code><dd>If this flag is set when an access violation occurs, a kiss-o'-death
-(KoD) packet is sent. 
+queries.
+</p></dd>
+<dt><code>kod</code></dt>
+<dd><p>If this flag is set when an access violation occurs, a kiss-o&rsquo;-death
+(KoD) packet is sent.
 KoD packets are rate limited to no more than one
-per second. 
+per second.
 If another KoD packet occurs within one second after the
-last one, the packet is dropped. 
-<br><dt><code>limited</code><dd>Deny service if the packet spacing violates the lower limits specified
-in the discard command. 
+last one, the packet is dropped.
+</p></dd>
+<dt><code>limited</code></dt>
+<dd><p>Deny service if the packet spacing violates the lower limits specified
+in the discard command.
 A history of clients is kept using the
 monitoring capability of
-<code>ntpd(1ntpdmdoc)</code>. 
+<code>ntpd(1ntpdmdoc)</code>.
 Thus, monitoring is always active as
 long as there is a restriction entry with the
 <code>limited</code>
-flag. 
-<br><dt><code>lowpriotrap</code><dd>Declare traps set by matching hosts to be low priority. 
+flag.
+</p></dd>
+<dt><code>lowpriotrap</code></dt>
+<dd><p>Declare traps set by matching hosts to be low priority.
 The
 number of traps a server can maintain is limited (the current limit
-is 3). 
+is 3).
 Traps are usually assigned on a first come, first served
-basis, with later trap requestors being denied service. 
+basis, with later trap requestors being denied service.
 This flag
 modifies the assignment algorithm by allowing low priority traps to
-be overridden by later requests for normal priority traps. 
-<br><dt><code>nomodify</code><dd>Deny
+be overridden by later requests for normal priority traps.
+</p></dd>
+<dt><code>nomodify</code></dt>
+<dd><p>Deny
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
 queries which attempt to modify the state of the
-server (i.e., run time reconfiguration). 
+server (i.e., run time reconfiguration).
 Queries which return
-information are permitted. 
-<br><dt><code>noquery</code><dd>Deny
+information are permitted.
+</p></dd>
+<dt><code>noquery</code></dt>
+<dd><p>Deny
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-queries. 
-Time service is not affected. 
-<br><dt><code>nopeer</code><dd>Deny packets which would result in mobilizing a new association. 
+queries.
+Time service is not affected.
+</p></dd>
+<dt><code>nopeer</code></dt>
+<dd><p>Deny packets which would result in mobilizing a new association.
 This
 includes broadcast and symmetric active packets when a configured
-association does not exist. 
+association does not exist.
 It also includes
 <code>pool</code>
-associations, so if you want to use servers from a
+associations, so if you want to use servers from a 
 <code>pool</code>
 directive and also want to use
 <code>nopeer</code>
-by default, you'll want a
+by default, you&rsquo;ll want a
 <code>restrict source ...</code> <code>line</code> <code>as</code> <code>well</code> <code>that</code> <code>does</code>
-<br><dt>not<dd>include the
+</p></dd>
+<dt>not</dt>
+<dd><p>include the
 <code>nopeer</code>
-directive. 
-<br><dt><code>noserve</code><dd>Deny all packets except
+directive.
+</p></dd>
+<dt><code>noserve</code></dt>
+<dd><p>Deny all packets except
 <code>ntpq(1ntpqmdoc)</code>
 and
 <code>ntpdc(1ntpdcmdoc)</code>
-queries. 
-<br><dt><code>notrap</code><dd>Decline to provide mode 6 control message trap service to matching
-hosts. 
+queries.
+</p></dd>
+<dt><code>notrap</code></dt>
+<dd><p>Decline to provide mode 6 control message trap service to matching
+hosts.
 The trap service is a subsystem of the ntpdq control message
-protocol which is intended for use by remote event logging programs. 
-<br><dt><code>notrust</code><dd>Deny service unless the packet is cryptographically authenticated. 
-<br><dt><code>ntpport</code><dd>This is actually a match algorithm modifier, rather than a
-restriction flag. 
+protocol which is intended for use by remote event logging programs.
+</p></dd>
+<dt><code>notrust</code></dt>
+<dd><p>Deny service unless the packet is cryptographically authenticated.
+</p></dd>
+<dt><code>ntpport</code></dt>
+<dd><p>This is actually a match algorithm modifier, rather than a
+restriction flag.
 Its presence causes the restriction entry to be
 matched only if the source port in the packet is the standard NTP
-UDP port (123). 
+UDP port (123).
 Both
 <code>ntpport</code>
 and
 <code>non-ntpport</code>
 may
-be specified. 
+be specified.
 The
 <code>ntpport</code>
 is considered more specific and
-is sorted later in the list. 
-<br><dt><code>version</code><dd>Deny packets that do not match the current NTP version. 
+is sorted later in the list.
+</p></dd>
+<dt><code>version</code></dt>
+<dd><p>Deny packets that do not match the current NTP version.
+</p></dd>
 </dl>
 
-     <p>Default restriction list entries with the flags ignore, interface,
-ntpport, for each of the local host's interface addresses are
+<p>Default restriction list entries with the flags ignore, interface,
+ntpport, for each of the local host&rsquo;s interface addresses are
 inserted into the table at startup to prevent the server
-from attempting to synchronize to its own time. 
+from attempting to synchronize to its own time.
 A default entry is also always present, though if it is
 otherwise unconfigured; no flags are associated
 with the default entry (i.e., everything besides your own
-NTP server is unrestricted). 
+NTP server is unrestricted).
+</p></dd>
 </dl>
-<div class="node">
-<p><hr>
+<hr>
 <a name="Automatic-NTP-Configuration-Options"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Reference-Clock-Support" accesskey="n" rel="next">Reference Clock Support</a>, Previous: <a href="#Access-Control-Support" accesskey="p" rel="prev">Access Control Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Automatic NTP Configuration Options</h4>
-
-<h5 class="subsubsection">Manycasting</h5>
-
+<a name="Automatic-NTP-Configuration-Options-1"></a>
+<h4 class="subsection">1.1.5 Automatic NTP Configuration Options</h4>
+<a name="Manycasting"></a>
+<h4 class="subsubsection">1.1.5.1 Manycasting</h4>
 <p>Manycasting is a automatic discovery and configuration paradigm
-new to NTPv4. 
+new to NTPv4.
 It is intended as a means for a multicast client
 to troll the nearby network neighborhood to find cooperating
 manycast servers, validate them using cryptographic means
 and evaluate their time values with respect to other servers
-that might be lurking in the vicinity. 
+that might be lurking in the vicinity.
 The intended result is that each manycast client mobilizes
-client associations with some number of the "best"
+client associations with some number of the &quot;best&quot;
 of the nearby manycast servers, yet automatically reconfigures
 to sustain this number of servers should one or another fail.
-
-  <p>Note that the manycasting paradigm does not coincide
+</p>
+<p>Note that the manycasting paradigm does not coincide
 with the anycast paradigm described in RFC-1546,
 which is designed to find a single server from a clique
-of servers providing the same service. 
+of servers providing the same service.
 The manycast paradigm is designed to find a plurality
 of redundant servers satisfying defined optimality criteria.
-
-  <p>Manycasting can be used with either symmetric key
-or public key cryptography. 
+</p>
+<p>Manycasting can be used with either symmetric key
+or public key cryptography.
 The public key infrastructure (PKI)
 offers the best protection against compromised keys
 and is generally considered stronger, at least with relatively
-large key sizes. 
+large key sizes.
 It is implemented using the Autokey protocol and
 the OpenSSL cryptographic library available from
-<code>http://www.openssl.org/</code>. 
+<code>http://www.openssl.org/</code>.
 The library can also be used with other NTPv4 modes
 as well and is highly recommended, especially for broadcast modes.
-
-  <p>A persistent manycast client association is configured
+</p>
+<p>A persistent manycast client association is configured
 using the manycastclient command, which is similar to the
 server command but with a multicast (IPv4 class
 <code>D</code>
 or IPv6 prefix
 <code>FF</code>)
-group address. 
+group address.
 The IANA has designated IPv4 address 224.1.1.1
-and IPv6 address FF05::101 (site local) for NTP. 
+and IPv6 address FF05::101 (site local) for NTP.
 When more servers are needed, it broadcasts manycast
 client messages to this address at the minimum feasible rate
 and minimum feasible time-to-live (TTL) hops, depending
-on how many servers have already been found. 
+on how many servers have already been found.
 There can be as many manycast client associations
 as different group address, each one serving as a template
 for a future ephemeral unicast client/server association.
-
-  <p>Manycast servers configured with the
+</p>
+<p>Manycast servers configured with the
 <code>manycastserver</code>
 command listen on the specified group address for manycast
-client messages. 
+client messages.
 Note the distinction between manycast client,
 which actively broadcasts messages, and manycast server,
-which passively responds to them. 
+which passively responds to them.
 If a manycast server is
 in scope of the current TTL and is itself synchronized
 to a valid source and operating at a stratum level equal
 to or lower than the manycast client, it replies to the
 manycast client message with an ordinary unicast server message.
-
-  <p>The manycast client receiving this message mobilizes
+</p>
+<p>The manycast client receiving this message mobilizes
 an ephemeral client/server association according to the
 matching manycast client template, but only if cryptographically
 authenticated and the server stratum is less than or equal
-to the client stratum. 
+to the client stratum.
 Authentication is explicitly required
-and either symmetric key or public key (Autokey) can be used. 
+and either symmetric key or public key (Autokey) can be used.
 Then, the client polls the server at its unicast address
 in burst mode in order to reliably set the host clock
-and validate the source. 
+and validate the source.
 This normally results
 in a volley of eight client/server at 2-s intervals
 during which both the synchronization and cryptographic
-protocols run concurrently. 
+protocols run concurrently.
 Following the volley,
 the client runs the NTP intersection and clustering
-algorithms, which act to discard all but the "best"
+algorithms, which act to discard all but the &quot;best&quot;
 associations according to stratum and synchronization
-distance. 
+distance.
 The surviving associations then continue
 in ordinary client/server mode.
-
-  <p>The manycast client polling strategy is designed to reduce
+</p>
+<p>The manycast client polling strategy is designed to reduce
 as much as possible the volume of manycast client messages
 and the effects of implosion due to near-simultaneous
-arrival of manycast server messages. 
+arrival of manycast server messages.
 The strategy is determined by the
 <code>manycastclient</code>,
 <code>tos</code>
 and
 <code>ttl</code>
-configuration commands. 
+configuration commands.
 The manycast poll interval is
 normally eight times the system poll interval,
 which starts out at the
@@ -1684,15 +1898,15 @@ value specified in the
 <code>manycastclient</code>,
 command and, under normal circumstances, increments to the
 <code>maxpolll</code>
-value specified in this command. 
+value specified in this command.
 Initially, the TTL is
-set at the minimum hops specified by the ttl command. 
+set at the minimum hops specified by the ttl command.
 At each retransmission the TTL is increased until reaching
 the maximum hops specified by this command or a sufficient
-number client associations have been found. 
+number client associations have been found.
 Further retransmissions use the same TTL.
-
-  <p>The quality and reliability of the suite of associations
+</p>
+<p>The quality and reliability of the suite of associations
 discovered by the manycast client is determined by the NTP
 mitigation algorithms and the
 <code>minclock</code>
@@ -1700,66 +1914,66 @@ and
 <code>minsane</code>
 values specified in the
 <code>tos</code>
-configuration command. 
+configuration command.
 At least
 <code>minsane</code>
 candidate servers must be available and the mitigation
 algorithms produce at least
 <code>minclock</code>
-survivors in order to synchronize the clock. 
+survivors in order to synchronize the clock.
 Byzantine agreement principles require at least four
-candidates in order to correctly discard a single falseticker. 
+candidates in order to correctly discard a single falseticker.
 For legacy purposes,
 <code>minsane</code>
 defaults to 1 and
 <code>minclock</code>
-defaults to 3. 
+defaults to 3.
 For manycast service
 <code>minsane</code>
 should be explicitly set to 4, assuming at least that
 number of servers are available.
-
-  <p>If at least
+</p>
+<p>If at least
 <code>minclock</code>
 servers are found, the manycast poll interval is immediately
 set to eight times
-<code>maxpoll</code>. 
+<code>maxpoll</code>.
 If less than
 <code>minclock</code>
 servers are found when the TTL has reached the maximum hops,
-the manycast poll interval is doubled. 
+the manycast poll interval is doubled.
 For each transmission
 after that, the poll interval is doubled again until
 reaching the maximum of eight times
-<code>maxpoll</code>. 
+<code>maxpoll</code>.
 Further transmissions use the same poll interval and
-TTL values. 
+TTL values.
 Note that while all this is going on,
 each client/server association found is operating normally
 it the system poll interval.
-
-  <p>Administratively scoped multicast boundaries are normally
+</p>
+<p>Administratively scoped multicast boundaries are normally
 specified by the network router configuration and,
-in the case of IPv6, the link/site scope prefix. 
+in the case of IPv6, the link/site scope prefix.
 By default, the increment for TTL hops is 32 starting
 from 31; however, the
 <code>ttl</code>
 configuration command can be
 used to modify the values to match the scope rules.
-
-  <p>It is often useful to narrow the range of acceptable
-servers which can be found by manycast client associations. 
+</p>
+<p>It is often useful to narrow the range of acceptable
+servers which can be found by manycast client associations.
 Because manycast servers respond only when the client
 stratum is equal to or greater than the server stratum,
 primary (stratum 1) servers fill find only primary servers
-in TTL range, which is probably the most common objective. 
+in TTL range, which is probably the most common objective.
 However, unless configured otherwise, all manycast clients
 in TTL range will eventually find all primary servers
 in TTL range, which is probably not the most common
-objective in large networks. 
+objective in large networks.
 The
 <code>tos</code>
-command can be used to modify this behavior. 
+command can be used to modify this behavior.
 Servers with stratum below
 <code>floor</code>
 or above
@@ -1771,253 +1985,265 @@ process; however, these servers may be temporally
 accepted if the number of servers within TTL range is
 less than
 <code>minclock</code>.
-
-  <p>The above actions occur for each manycast client message,
-which repeats at the designated poll interval. 
+</p>
+<p>The above actions occur for each manycast client message,
+which repeats at the designated poll interval.
 However, once the ephemeral client association is mobilized,
 subsequent manycast server replies are discarded,
-since that would result in a duplicate association. 
+since that would result in a duplicate association.
 If during a poll interval the number of client associations
 falls below
 <code>minclock</code>,
 all manycast client prototype associations are reset
 to the initial poll interval and TTL hops and operation
-resumes from the beginning. 
+resumes from the beginning.
 It is important to avoid
 frequent manycast client messages, since each one requires
-all manycast servers in TTL range to respond. 
+all manycast servers in TTL range to respond.
 The result could well be an implosion, either minor or major,
-depending on the number of servers in range. 
+depending on the number of servers in range.
 The recommended value for
 <code>maxpoll</code>
 is 12 (4,096 s).
-
-  <p>It is possible and frequently useful to configure a host
-as both manycast client and manycast server. 
+</p>
+<p>It is possible and frequently useful to configure a host
+as both manycast client and manycast server.
 A number of hosts configured this way and sharing a common
 group address will automatically organize themselves
 in an optimum configuration based on stratum and
-synchronization distance. 
+synchronization distance.
 For example, consider an NTP
 subnet of two primary servers and a hundred or more
-dependent clients. 
+dependent clients.
 With two exceptions, all servers
 and clients have identical configuration files including both
 <code>multicastclient</code>
 and
 <code>multicastserver</code>
 commands using, for instance, multicast group address
-239.1.1.1. 
+239.1.1.1.
 The only exception is that each primary server
 configuration file must include commands for the primary
 reference source such as a GPS receiver.
-
-  <p>The remaining configuration files for all secondary
+</p>
+<p>The remaining configuration files for all secondary
 servers and clients have the same contents, except for the
 <code>tos</code>
-command, which is specific for each stratum level. 
+command, which is specific for each stratum level.
 For stratum 1 and stratum 2 servers, that command is
-not necessary. 
+not necessary.
 For stratum 3 and above servers the
 <code>floor</code>
-value is set to the intended stratum number. 
+value is set to the intended stratum number.
 Thus, all stratum 3 configuration files are identical,
 all stratum 4 files are identical and so forth.
-
-  <p>Once operations have stabilized in this scenario,
+</p>
+<p>Once operations have stabilized in this scenario,
 the primary servers will find the primary reference source
 and each other, since they both operate at the same
 stratum (1), but not with any secondary server or client,
-since these operate at a higher stratum. 
+since these operate at a higher stratum.
 The secondary
-servers will find the servers at the same stratum level. 
+servers will find the servers at the same stratum level.
 If one of the primary servers loses its GPS receiver,
 it will continue to operate as a client and other clients
 will time out the corresponding association and
 re-associate accordingly.
-
-  <p>Some administrators prefer to avoid running
+</p>
+<p>Some administrators prefer to avoid running
 <code>ntpd(1ntpdmdoc)</code>
 continuously and run either
 <code>ntpdate(8)</code>
 or
 <code>ntpd(1ntpdmdoc)</code>
 <code>-q</code>
-as a cron job. 
+as a cron job.
 In either case the servers must be
 configured in advance and the program fails if none are
-available when the cron job runs. 
+available when the cron job runs.
 A really slick
 application of manycast is with
 <code>ntpd(1ntpdmdoc)</code>
-<code>-q</code>. 
+<code>-q</code>.
 The program wakes up, scans the local landscape looking
 for the usual suspects, selects the best from among
-the rascals, sets the clock and then departs. 
+the rascals, sets the clock and then departs.
 Servers do not have to be configured in advance and
 all clients throughout the network can have the same
 configuration file.
-
-<h5 class="subsubsection">Manycast Interactions with Autokey</h5>
-
+</p><a name="Manycast-Interactions-with-Autokey"></a>
+<h4 class="subsubsection">1.1.5.2 Manycast Interactions with Autokey</h4>
 <p>Each time a manycast client sends a client mode packet
 to a multicast group address, all manycast servers
 in scope generate a reply including the host name
-and status word. 
+and status word.
 The manycast clients then run
 the Autokey protocol, which collects and verifies
-all certificates involved. 
+all certificates involved.
 Following the burst interval
 all but three survivors are cast off,
-but the certificates remain in the local cache. 
+but the certificates remain in the local cache.
 It often happens that several complete signing trails
 from the client to the primary servers are collected in this way.
-
-  <p>About once an hour or less often if the poll interval
-exceeds this, the client regenerates the Autokey key list. 
-This is in general transparent in client/server mode. 
+</p>
+<p>About once an hour or less often if the poll interval
+exceeds this, the client regenerates the Autokey key list.
+This is in general transparent in client/server mode.
 However, about once per day the server private value
 used to generate cookies is refreshed along with all
-manycast client associations. 
+manycast client associations.
 In this case all
-cryptographic values including certificates is refreshed. 
+cryptographic values including certificates is refreshed.
 If a new certificate has been generated since
 the last refresh epoch, it will automatically revoke
 all prior certificates that happen to be in the
-certificate cache. 
+certificate cache.
 At the same time, the manycast
 scheme starts all over from the beginning and
 the expanding ring shrinks to the minimum and increments
 from there while collecting all servers in scope.
-
-<h5 class="subsubsection">Manycast Options</h5>
-
-     <dl>
-<dt><code>tos</code> <code>[ceiling </code><kbd>ceiling</kbd><code> | cohort { 0 | 1 } | floor </code><kbd>floor</kbd><code> | minclock </code><kbd>minclock</kbd><code> | minsane </code><kbd>minsane</kbd><code>]</code><dd>This command affects the clock selection and clustering
-algorithms. 
+</p><a name="Manycast-Options"></a>
+<h4 class="subsubsection">1.1.5.3 Manycast Options</h4>
+<dl compact="compact">
+<dt><code>tos</code> <code>[<code>ceiling</code> <kbd>ceiling</kbd> | <code>cohort</code> <code>{</code> <code>0</code> | <code>1</code> <code>}</code> | <code>floor</code> <kbd>floor</kbd> | <code>minclock</code> <kbd>minclock</kbd> | <code>minsane</code> <kbd>minsane</kbd>]</code></dt>
+<dd><p>This command affects the clock selection and clustering
+algorithms.
 It can be used to select the quality and
 quantity of peers used to synchronize the system clock
-and is most useful in manycast mode. 
+and is most useful in manycast mode.
 The variables operate
 as follows:
-          <dl>
-<dt><code>ceiling</code> <kbd>ceiling</kbd><dd>Peers with strata above
+</p><dl compact="compact">
+<dt><code>ceiling</code> <kbd>ceiling</kbd></dt>
+<dd><p>Peers with strata above
 <code>ceiling</code>
 will be discarded if there are at least
 <code>minclock</code>
-peers remaining. 
+peers remaining.
 This value defaults to 15, but can be changed
-to any number from 1 to 15. 
-<br><dt><code>cohort</code> <code>{0 | 1}</code><dd>This is a binary flag which enables (0) or disables (1)
+to any number from 1 to 15.
+</p></dd>
+<dt><code>cohort</code> <code>{0 | 1}</code></dt>
+<dd><p>This is a binary flag which enables (0) or disables (1)
 manycast server replies to manycast clients with the same
-stratum level. 
+stratum level.
 This is useful to reduce implosions where
 large numbers of clients with the same stratum level
-are present. 
-The default is to enable these replies. 
-<br><dt><code>floor</code> <kbd>floor</kbd><dd>Peers with strata below
+are present.
+The default is to enable these replies.
+</p></dd>
+<dt><code>floor</code> <kbd>floor</kbd></dt>
+<dd><p>Peers with strata below
 <code>floor</code>
 will be discarded if there are at least
 <code>minclock</code>
-peers remaining. 
+peers remaining.
 This value defaults to 1, but can be changed
-to any number from 1 to 15. 
-<br><dt><code>minclock</code> <kbd>minclock</kbd><dd>The clustering algorithm repeatedly casts out outlyer
+to any number from 1 to 15.
+</p></dd>
+<dt><code>minclock</code> <kbd>minclock</kbd></dt>
+<dd><p>The clustering algorithm repeatedly casts out outlier
 associations until no more than
 <code>minclock</code>
-associations remain. 
+associations remain.
 This value defaults to 3,
 but can be changed to any number from 1 to the number of
-configured sources. 
-<br><dt><code>minsane</code> <kbd>minsane</kbd><dd>This is the minimum number of candidates available
+configured sources.
+</p></dd>
+<dt><code>minsane</code> <kbd>minsane</kbd></dt>
+<dd><p>This is the minimum number of candidates available
 to the clock selection algorithm in order to produce
-one or more truechimers for the clustering algorithm. 
+one or more truechimers for the clustering algorithm.
 If fewer than this number are available, the clock is
-undisciplined and allowed to run free. 
+undisciplined and allowed to run free.
 The default is 1
-for legacy purposes. 
+for legacy purposes.
 However, according to principles of
 Byzantine agreement,
 <code>minsane</code>
 should be at least 4 in order to detect and discard
-a single falseticker. 
+a single falseticker.
+</p></dd>
 </dl>
-     <br><dt><code>ttl</code> <kbd>hop</kbd> <kbd>...</kbd><dd>This command specifies a list of TTL values in increasing
-order, up to 8 values can be specified. 
+</dd>
+<dt><code>ttl</code> <kbd>hop</kbd> <kbd>...</kbd></dt>
+<dd><p>This command specifies a list of TTL values in increasing
+order, up to 8 values can be specified.
 In manycast mode these values are used in turn
-in an expanding-ring search. 
+in an expanding-ring search.
 The default is eight
-multiples of 32 starting at 31. 
+multiples of 32 starting at 31.
+</p></dd>
 </dl>
-<div class="node">
-<p><hr>
+<hr>
 <a name="Reference-Clock-Support"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#Miscellaneous-Options" accesskey="n" rel="next">Miscellaneous Options</a>, Previous: <a href="#Automatic-NTP-Configuration-Options" accesskey="p" rel="prev">Automatic NTP Configuration Options</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Reference Clock Support</h4>
-
+<a name="Reference-Clock-Support-1"></a>
+<h4 class="subsection">1.1.6 Reference Clock Support</h4>
 <p>The NTP Version 4 daemon supports some three dozen different radio,
 satellite and modem reference clocks plus a special pseudo-clock
-used for backup or when no other clock source is available. 
+used for backup or when no other clock source is available.
 Detailed descriptions of individual device drivers and options can
 be found in the
-"Reference Clock Drivers"
+&quot;Reference Clock Drivers&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>). 
+<samp>/usr/share/doc/ntp</samp>).
 Additional information can be found in the pages linked
 there, including the
-"Debugging Hints for Reference Clock Drivers"
+&quot;Debugging Hints for Reference Clock Drivers&quot;
 and
-"How To Write a Reference Clock Driver"
+&quot;How To Write a Reference Clock Driver&quot;
 pages
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>). 
+<samp>/usr/share/doc/ntp</samp>).
 In addition, support for a PPS
 signal is available as described in the
-"Pulse-per-second (PPS) Signal Interfacing"
+&quot;Pulse-per-second (PPS) Signal Interfacing&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>). 
+<samp>/usr/share/doc/ntp</samp>).
 Many
 drivers support special line discipline/streams modules which can
-significantly improve the accuracy using the driver. 
+significantly improve the accuracy using the driver.
 These are
 described in the
-"Line Disciplines and Streams Drivers"
+&quot;Line Disciplines and Streams Drivers&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>).
-
-  <p>A reference clock will generally (though not always) be a radio
+<samp>/usr/share/doc/ntp</samp>).
+</p>
+<p>A reference clock will generally (though not always) be a radio
 timecode receiver which is synchronized to a source of standard
 time such as the services offered by the NRC in Canada and NIST and
-USNO in the US. 
+USNO in the US.
 The interface between the computer and the timecode
-receiver is device dependent, but is usually a serial port. 
+receiver is device dependent, but is usually a serial port.
 A
 device driver specific to each reference clock must be selected and
 compiled in the distribution; however, most common radio, satellite
-and modem clocks are included by default. 
+and modem clocks are included by default.
 Note that an attempt to
 configure a reference clock when the driver has not been compiled
 or the hardware port has not been appropriately configured results
 in a scalding remark to the system log file, but is otherwise non
 hazardous.
-
-  <p>For the purposes of configuration,
+</p>
+<p>For the purposes of configuration,
 <code>ntpd(1ntpdmdoc)</code>
 treats
 reference clocks in a manner analogous to normal NTP peers as much
-as possible. 
+as possible.
 Reference clocks are identified by a syntactically
 correct but invalid IP address, in order to distinguish them from
-normal NTP peers. 
+normal NTP peers.
 Reference clock addresses are of the form
 <code>127.127.</code><kbd>t</kbd>.<kbd>u</kbd>,
 where
@@ -2026,199 +2252,222 @@ is an integer
 denoting the clock type and
 <kbd>u</kbd>
 indicates the unit
-number in the range 0-3. 
+number in the range 0-3.
 While it may seem overkill, it is in fact
 sometimes useful to configure multiple reference clocks of the same
 type, in which case the unit numbers must be unique.
-
-  <p>The
+</p>
+<p>The
 <code>server</code>
 command is used to configure a reference
 clock, where the
 <kbd>address</kbd>
 argument in that command
-is the clock address. 
+is the clock address.
 The
 <code>key</code>,
 <code>version</code>
 and
 <code>ttl</code>
-options are not used for reference clock support. 
+options are not used for reference clock support.
 The
 <code>mode</code>
 option is added for reference clock support, as
-described below. 
+described below.
 The
 <code>prefer</code>
 option can be useful to
 persuade the server to cherish a reference clock with somewhat more
-enthusiasm than other reference clocks or peers. 
+enthusiasm than other reference clocks or peers.
 Further
 information on this option can be found in the
-"Mitigation Rules and the prefer Keyword"
+&quot;Mitigation Rules and the prefer Keyword&quot;
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>)
-page. 
+<samp>/usr/share/doc/ntp</samp>)
+page.
 The
 <code>minpoll</code>
 and
 <code>maxpoll</code>
 options have
-meaning only for selected clock drivers. 
+meaning only for selected clock drivers.
 See the individual clock
 driver document pages for additional information.
-
-  <p>The
+</p>
+<p>The
 <code>fudge</code>
 command is used to provide additional
 information for individual clock drivers and normally follows
 immediately after the
 <code>server</code>
-command. 
+command.
 The
 <kbd>address</kbd>
-argument specifies the clock address. 
+argument specifies the clock address.
 The
 <code>refid</code>
 and
 <code>stratum</code>
 options can be used to
-override the defaults for the device. 
+override the defaults for the device.
 There are two optional
 device-dependent time offsets and four flags that can be included
 in the
 <code>fudge</code>
 command as well.
-
-  <p>The stratum number of a reference clock is by default zero. 
+</p>
+<p>The stratum number of a reference clock is by default zero.
 Since the
 <code>ntpd(1ntpdmdoc)</code>
 daemon adds one to the stratum of each
 peer, a primary server ordinarily displays an external stratum of
-one. 
+one.
 In order to provide engineered backups, it is often useful to
-specify the reference clock stratum as greater than zero. 
+specify the reference clock stratum as greater than zero.
 The
 <code>stratum</code>
-option is used for this purpose. 
+option is used for this purpose.
 Also, in cases
 involving both a reference clock and a pulse-per-second (PPS)
 discipline signal, it is useful to specify the reference clock
-identifier as other than the default, depending on the driver. 
+identifier as other than the default, depending on the driver.
 The
 <code>refid</code>
-option is used for this purpose. 
+option is used for this purpose.
 Except where noted,
 these options apply to all clock drivers.
-
-<h5 class="subsubsection">Reference Clock Commands</h5>
-
-     <dl>
-<dt><code>server</code> <code>127.127.</code><kbd>t</kbd>.<kbd>u</kbd> <code>[prefer]</code> <code>[mode </code><kbd>int</kbd><code>]</code> <code>[minpoll </code><kbd>int</kbd><code>]</code> <code>[maxpoll </code><kbd>int</kbd><code>]</code><dd>This command can be used to configure reference clocks in
-special ways. 
+</p><a name="Reference-Clock-Commands"></a>
+<h4 class="subsubsection">1.1.6.1 Reference Clock Commands</h4>
+<dl compact="compact">
+<dt><code>server</code> <code>127.127.</code><kbd>t</kbd>.<kbd>u</kbd> <code>[<code>prefer</code>]</code> <code>[<code>mode</code> <kbd>int</kbd>]</code> <code>[<code>minpoll</code> <kbd>int</kbd>]</code> <code>[<code>maxpoll</code> <kbd>int</kbd>]</code></dt>
+<dd><p>This command can be used to configure reference clocks in
+special ways.
 The options are interpreted as follows:
-          <dl>
-<dt><code>prefer</code><dd>Marks the reference clock as preferred. 
+</p><dl compact="compact">
+<dt><code>prefer</code></dt>
+<dd><p>Marks the reference clock as preferred.
 All other things being
 equal, this host will be chosen for synchronization among a set of
-correctly operating hosts. 
+correctly operating hosts.
 See the
-"Mitigation Rules and the prefer Keyword"
+&quot;Mitigation Rules and the prefer Keyword&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>)
-for further information. 
-<br><dt><code>mode</code> <kbd>int</kbd><dd>Specifies a mode number which is interpreted in a
-device-specific fashion. 
+<samp>/usr/share/doc/ntp</samp>)
+for further information.
+</p></dd>
+<dt><code>mode</code> <kbd>int</kbd></dt>
+<dd><p>Specifies a mode number which is interpreted in a
+device-specific fashion.
 For instance, it selects a dialing
 protocol in the ACTS driver and a device subtype in the
 parse
-drivers. 
-<br><dt><code>minpoll</code> <kbd>int</kbd><br><dt><code>maxpoll</code> <kbd>int</kbd><dd>These options specify the minimum and maximum polling interval
+drivers.
+</p></dd>
+<dt><code>minpoll</code> <kbd>int</kbd></dt>
+<dt><code>maxpoll</code> <kbd>int</kbd></dt>
+<dd><p>These options specify the minimum and maximum polling interval
 for reference clock messages, as a power of 2 in seconds
 For
 most directly connected reference clocks, both
 <code>minpoll</code>
 and
 <code>maxpoll</code>
-default to 6 (64 s). 
+default to 6 (64 s).
 For modem reference clocks,
 <code>minpoll</code>
 defaults to 10 (17.1 m) and
 <code>maxpoll</code>
-defaults to 14 (4.5 h). 
-The allowable range is 4 (16 s) to 17 (36.4 h) inclusive. 
+defaults to 14 (4.5 h).
+The allowable range is 4 (16 s) to 17 (36.4 h) inclusive.
+</p></dd>
 </dl>
-     <br><dt><code>fudge</code> <code>127.127.</code><kbd>t</kbd>.<kbd>u</kbd> <code>[time1 </code><kbd>sec</kbd><code>]</code> <code>[time2 </code><kbd>sec</kbd><code>]</code> <code>[stratum </code><kbd>int</kbd><code>]</code> <code>[refid </code><kbd>string</kbd><code>]</code> <code>[mode </code><kbd>int</kbd><code>]</code> <code>[flag1 0 | 1]</code> <code>[flag2 0 | 1]</code> <code>[flag3 0 | 1]</code> <code>[flag4 0 | 1]</code><dd>This command can be used to configure reference clocks in
-special ways. 
+</dd>
+<dt><code>fudge</code> <code>127.127.</code><kbd>t</kbd>.<kbd>u</kbd> <code>[<code>time1</code> <kbd>sec</kbd>]</code> <code>[<code>time2</code> <kbd>sec</kbd>]</code> <code>[<code>stratum</code> <kbd>int</kbd>]</code> <code>[<code>refid</code> <kbd>string</kbd>]</code> <code>[<code>mode</code> <kbd>int</kbd>]</code> <code>[<code>flag1</code> <code>0</code> <code>|</code> <code>1</code>]</code> <code>[<code>flag2</code> <code>0</code> <code>|</code> <code>1</code>]</code> <code>[<code>flag3</code> <code>0</code> <code>|</code> <code>1</code>]</code> <code>[<code>flag4</code> <code>0</code> <code>|</code> <code>1</code>]</code></dt>
+<dd><p>This command can be used to configure reference clocks in
+special ways.
 It must immediately follow the
 <code>server</code>
-command which configures the driver. 
+command which configures the driver.
 Note that the same capability
 is possible at run time using the
 <code>ntpdc(1ntpdcmdoc)</code>
-program. 
+program.
 The options are interpreted as
 follows:
-          <dl>
-<dt><code>time1</code> <kbd>sec</kbd><dd>Specifies a constant to be added to the time offset produced by
-the driver, a fixed-point decimal number in seconds. 
+</p><dl compact="compact">
+<dt><code>time1</code> <kbd>sec</kbd></dt>
+<dd><p>Specifies a constant to be added to the time offset produced by
+the driver, a fixed-point decimal number in seconds.
 This is used
 as a calibration constant to adjust the nominal time offset of a
 particular clock to agree with an external standard, such as a
-precision PPS signal. 
+precision PPS signal.
 It also provides a way to correct a
 systematic error or bias due to serial port or operating system
-latencies, different cable lengths or receiver internal delay. 
+latencies, different cable lengths or receiver internal delay.
 The
 specified offset is in addition to the propagation delay provided
-by other means, such as internal DIPswitches. 
+by other means, such as internal DIPswitches.
 Where a calibration
 for an individual system and driver is available, an approximate
-correction is noted in the driver documentation pages. 
+correction is noted in the driver documentation pages.
 Note: in order to facilitate calibration when more than one
 radio clock or PPS signal is supported, a special calibration
-feature is available. 
+feature is available.
 It takes the form of an argument to the
 <code>enable</code>
 command described in
 <a href="#Miscellaneous-Options">Miscellaneous Options</a>
 page and operates as described in the
-"Reference Clock Drivers"
+&quot;Reference Clock Drivers&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>). 
-<br><dt><code>time2</code> <kbd>secs</kbd><dd>Specifies a fixed-point decimal number in seconds, which is
-interpreted in a driver-dependent way. 
+<samp>/usr/share/doc/ntp</samp>).
+</p></dd>
+<dt><code>time2</code> <kbd>secs</kbd></dt>
+<dd><p>Specifies a fixed-point decimal number in seconds, which is
+interpreted in a driver-dependent way.
 See the descriptions of
 specific drivers in the
-"Reference Clock Drivers"
+&quot;Reference Clock Drivers&quot;
 page
 (available as part of the HTML documentation
 provided in
-<span class="file">/usr/share/doc/ntp</span>). 
-<br><dt><code>stratum</code> <kbd>int</kbd><dd>Specifies the stratum number assigned to the driver, an integer
-between 0 and 15. 
+<samp>/usr/share/doc/ntp</samp>).
+</p></dd>
+<dt><code>stratum</code> <kbd>int</kbd></dt>
+<dd><p>Specifies the stratum number assigned to the driver, an integer
+between 0 and 15.
 This number overrides the default stratum number
-ordinarily assigned by the driver itself, usually zero. 
-<br><dt><code>refid</code> <kbd>string</kbd><dd>Specifies an ASCII string of from one to four characters which
-defines the reference identifier used by the driver. 
+ordinarily assigned by the driver itself, usually zero.
+</p></dd>
+<dt><code>refid</code> <kbd>string</kbd></dt>
+<dd><p>Specifies an ASCII string of from one to four characters which
+defines the reference identifier used by the driver.
 This string
 overrides the default identifier ordinarily assigned by the driver
-itself. 
-<br><dt><code>mode</code> <kbd>int</kbd><dd>Specifies a mode number which is interpreted in a
-device-specific fashion. 
+itself.
+</p></dd>
+<dt><code>mode</code> <kbd>int</kbd></dt>
+<dd><p>Specifies a mode number which is interpreted in a
+device-specific fashion.
 For instance, it selects a dialing
 protocol in the ACTS driver and a device subtype in the
 parse
-drivers. 
-<br><dt><code>flag1</code> <code>0</code> <code>|</code> <code>1</code><br><dt><code>flag2</code> <code>0</code> <code>|</code> <code>1</code><br><dt><code>flag3</code> <code>0</code> <code>|</code> <code>1</code><br><dt><code>flag4</code> <code>0</code> <code>|</code> <code>1</code><dd>These four flags are used for customizing the clock driver. 
+drivers.
+</p></dd>
+<dt><code>flag1</code> <code>0</code> <code>|</code> <code>1</code></dt>
+<dt><code>flag2</code> <code>0</code> <code>|</code> <code>1</code></dt>
+<dt><code>flag3</code> <code>0</code> <code>|</code> <code>1</code></dt>
+<dt><code>flag4</code> <code>0</code> <code>|</code> <code>1</code></dt>
+<dd><p>These four flags are used for customizing the clock driver.
 The
 interpretation of these values, and whether they are used at all,
-is a function of the particular clock driver. 
+is a function of the particular clock driver.
 However, by
 convention
 <code>flag4</code>
@@ -2227,181 +2476,215 @@ data to the
 <code>clockstats</code>
 file configured with the
 <code>filegen</code>
-command. 
+command.
 Further information on the
 <code>filegen</code>
 command can be found in
-<a href="#Monitoring-Options">Monitoring Options</a>. 
+&lsquo;Monitoring Options&rsquo;.
+</p></dd>
 </dl>
-     </dl>
-<div class="node">
-<p><hr>
+</dd>
+</dl>
+<hr>
 <a name="Miscellaneous-Options"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#ntp_002econf-Files" accesskey="n" rel="next">ntp.conf Files</a>, Previous: <a href="#Reference-Clock-Support" accesskey="p" rel="prev">Reference Clock Support</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">Miscellaneous Options</h4>
-
-     <dl>
-<dt><code>broadcastdelay</code> <kbd>seconds</kbd><dd>The broadcast and multicast modes require a special calibration
+<a name="Miscellaneous-Options-1"></a>
+<h4 class="subsection">1.1.7 Miscellaneous Options</h4>
+<dl compact="compact">
+<dt><code>broadcastdelay</code> <kbd>seconds</kbd></dt>
+<dd><p>The broadcast and multicast modes require a special calibration
 to determine the network delay between the local and remote
-servers. 
+servers.
 Ordinarily, this is done automatically by the initial
-protocol exchanges between the client and server. 
+protocol exchanges between the client and server.
 In some cases,
 the calibration procedure may fail due to network or server access
-controls, for example. 
+controls, for example.
 This command specifies the default delay to
-be used under these circumstances. 
+be used under these circumstances.
 Typically (for Ethernet), a
-number between 0.003 and 0.007 seconds is appropriate. 
+number between 0.003 and 0.007 seconds is appropriate.
 The default
-when this command is not used is 0.004 seconds. 
-<br><dt><code>calldelay</code> <kbd>delay</kbd><dd>This option controls the delay in seconds between the first and second
+when this command is not used is 0.004 seconds.
+</p></dd>
+<dt><code>calldelay</code> <kbd>delay</kbd></dt>
+<dd><p>This option controls the delay in seconds between the first and second
 packets sent in burst or iburst mode to allow additional time for a modem
-or ISDN call to complete. 
-<br><dt><code>driftfile</code> <kbd>driftfile</kbd><dd>This command specifies the complete path and name of the file used to
-record the frequency of the local clock oscillator. 
+or ISDN call to complete.
+</p></dd>
+<dt><code>driftfile</code> <kbd>driftfile</kbd></dt>
+<dd><p>This command specifies the complete path and name of the file used to
+record the frequency of the local clock oscillator.
 This is the same
 operation as the
 <code>-f</code>
-command line option. 
+command line option.
 If the file exists, it is read at
 startup in order to set the initial frequency and then updated once per
-hour with the current frequency computed by the daemon. 
+hour with the current frequency computed by the daemon.
 If the file name is
 specified, but the file itself does not exist, the starts with an initial
-frequency of zero and creates the file when writing it for the first time. 
+frequency of zero and creates the file when writing it for the first time.
 If this command is not given, the daemon will always start with an initial
 frequency of zero.
-
-     <p>The file format consists of a single line containing a single
+</p>
+<p>The file format consists of a single line containing a single
 floating point number, which records the frequency offset measured
-in parts-per-million (PPM). 
+in parts-per-million (PPM).
 The file is updated by first writing
 the current drift value into a temporary file and then renaming
-this file to replace the old version. 
+this file to replace the old version.
 This implies that
 <code>ntpd(1ntpdmdoc)</code>
 must have write permission for the directory the
 drift file is located in, and that file system links, symbolic or
-otherwise, should be avoided. 
-<br><dt><code>dscp</code> <kbd>value</kbd><dd>This option specifies the Differentiated Services Control Point (DSCP) value,
-a 6-bit code.  The default value is 46, signifying Expedited Forwarding. 
-<br><dt><code>enable</code> <code>[auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]</code><br><dt><code>disable</code> <code>[auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]</code><dd>Provides a way to enable or disable various server options. 
-Flags not mentioned are unaffected. 
+otherwise, should be avoided.
+</p></dd>
+<dt><code>dscp</code> <kbd>value</kbd></dt>
+<dd><p>This option specifies the Differentiated Services Control Point (DSCP) value,
+a 6-bit code.  The default value is 46, signifying Expedited Forwarding.
+</p></dd>
+<dt><code>enable</code> <code>[<code>auth</code> | <code>bclient</code> | <code>calibrate</code> | <code>kernel</code> | <code>mode7</code> | <code>monitor</code> | <code>ntp</code> | <code>stats</code>]</code></dt>
+<dt><code>disable</code> <code>[<code>auth</code> | <code>bclient</code> | <code>calibrate</code> | <code>kernel</code> | <code>mode7</code> | <code>monitor</code> | <code>ntp</code> | <code>stats</code>]</code></dt>
+<dd><p>Provides a way to enable or disable various server options.
+Flags not mentioned are unaffected.
 Note that all of these flags
 can be controlled remotely using the
 <code>ntpdc(1ntpdcmdoc)</code>
 utility program.
-          <dl>
-<dt><code>auth</code><dd>Enables the server to synchronize with unconfigured peers only if the
+</p><dl compact="compact">
+<dt><code>auth</code></dt>
+<dd><p>Enables the server to synchronize with unconfigured peers only if the
 peer has been correctly authenticated using either public key or
-private key cryptography. 
+private key cryptography.
 The default for this flag is
-<code>enable</code>. 
-<br><dt><code>bclient</code><dd>Enables the server to listen for a message from a broadcast or
+<code>enable</code>.
+</p></dd>
+<dt><code>bclient</code></dt>
+<dd><p>Enables the server to listen for a message from a broadcast or
 multicast server, as in the
 <code>multicastclient</code>
 command with default
-address. 
+address.
 The default for this flag is
-<code>disable</code>. 
-<br><dt><code>calibrate</code><dd>Enables the calibrate feature for reference clocks. 
+<code>disable</code>.
+</p></dd>
+<dt><code>calibrate</code></dt>
+<dd><p>Enables the calibrate feature for reference clocks.
 The default for
 this flag is
-<code>disable</code>. 
-<br><dt><code>kernel</code><dd>Enables the kernel time discipline, if available. 
+<code>disable</code>.
+</p></dd>
+<dt><code>kernel</code></dt>
+<dd><p>Enables the kernel time discipline, if available.
 The default for this
 flag is
 <code>enable</code>
 if support is available, otherwise
-<code>disable</code>. 
-<br><dt><code>mode7</code><dd>Enables processing of NTP mode 7 implementation-specific requests
+<code>disable</code>.
+</p></dd>
+<dt><code>mode7</code></dt>
+<dd><p>Enables processing of NTP mode 7 implementation-specific requests
 which are used by the deprecated
 <code>ntpdc(1ntpdcmdoc)</code>
-program. 
-The default for this flag is disable. 
+program.
+The default for this flag is disable.
 This flag is excluded from runtime configuration using
-<code>ntpq(1ntpqmdoc)</code>. 
+<code>ntpq(1ntpqmdoc)</code>.
 The
 <code>ntpq(1ntpqmdoc)</code>
 program provides the same capabilities as
 <code>ntpdc(1ntpdcmdoc)</code>
-using standard mode 6 requests. 
-<br><dt><code>monitor</code><dd>Enables the monitoring facility. 
+using standard mode 6 requests.
+</p></dd>
+<dt><code>monitor</code></dt>
+<dd><p>Enables the monitoring facility.
 See the
 <code>ntpdc(1ntpdcmdoc)</code>
 program
 and the
 <code>monlist</code>
-command or further information. 
+command or further information.
 The
 default for this flag is
-<code>enable</code>. 
-<br><dt><code>ntp</code><dd>Enables time and frequency discipline. 
+<code>enable</code>.
+</p></dd>
+<dt><code>ntp</code></dt>
+<dd><p>Enables time and frequency discipline.
 In effect, this switch opens and
-closes the feedback loop, which is useful for testing. 
+closes the feedback loop, which is useful for testing.
 The default for
 this flag is
-<code>enable</code>. 
-<br><dt><code>stats</code><dd>Enables the statistics facility. 
+<code>enable</code>.
+</p></dd>
+<dt><code>stats</code></dt>
+<dd><p>Enables the statistics facility.
 See the
-<a href="#Monitoring-Options">Monitoring Options</a>
-section for further information. 
+&lsquo;Monitoring Options&rsquo;
+section for further information.
 The default for this flag is
-<code>disable</code>. 
+<code>disable</code>.
+</p></dd>
 </dl>
-     <br><dt><code>includefile</code> <kbd>includefile</kbd><dd>This command allows additional configuration commands
-to be included from a separate file. 
+</dd>
+<dt><code>includefile</code> <kbd>includefile</kbd></dt>
+<dd><p>This command allows additional configuration commands
+to be included from a separate file.
 Include files may
 be nested to a depth of five; upon reaching the end of any
 include file, command processing resumes in the previous
-configuration file. 
+configuration file.
 This option is useful for sites that run
 <code>ntpd(1ntpdmdoc)</code>
 on multiple hosts, with (mostly) common options (e.g., a
-restriction list). 
-<br><dt><code>leapsmearinterval</code> <kbd>seconds</kbd><dd>This EXPERIMENTAL option is only available if
+restriction list).
+</p></dd>
+<dt><code>leapsmearinterval</code> <kbd>seconds</kbd></dt>
+<dd><p>This EXPERIMENTAL option is only available if
 <code>ntpd(1ntpdmdoc)</code>
 was built with the
 <code>--enable-leap-smear</code>
 option to the
 <code>configure</code>
-script. 
-It specifies the interval over which a leap second correction will be applied. 
+script.
+It specifies the interval over which a leap second correction will be applied.
 Recommended values for this option are between
-7200 (2 hours) and 86400 (24 hours). 
-.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! 
-See http://bugs.ntp.org/2855 for more information. 
-<br><dt><code>logconfig</code> <kbd>configkeyword</kbd><dd>This command controls the amount and type of output written to
+7200 (2 hours) and 86400 (24 hours).
+.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS!
+See http://bugs.ntp.org/2855 for more information.
+</p></dd>
+<dt><code>logconfig</code> <kbd>configkeyword</kbd></dt>
+<dd><p>This command controls the amount and type of output written to
 the system
 <code>syslog(3)</code>
 facility or the alternate
 <code>logfile</code>
-log file. 
-By default, all output is turned on. 
+log file.
+By default, all output is turned on.
 All
 <kbd>configkeyword</kbd>
 keywords can be prefixed with
-=,
-+
+&lsquo;=&rsquo;,
+&lsquo;+&rsquo;
 and
--,
+&lsquo;-&rsquo;,
 where
-=
+&lsquo;=&rsquo;
 sets the
 <code>syslog(3)</code>
 priority mask,
-+
+&lsquo;+&rsquo;
 adds and
--
+&lsquo;-&rsquo;
 removes
-messages. 
+messages.
 <code>syslog(3)</code>
 messages can be controlled in four
 classes
-(<code>clock</code>, <code>peer</code>, <code>sys</code> and <code>sync</code>). 
+(<code>clock</code>, <code>peer</code>, <code>sys</code> and <code>sync</code>).
 Within these classes four types of messages can be
 controlled: informational messages
 (<code>info</code>),
@@ -2412,252 +2695,300 @@ statistics messages
 and
 status messages
 (<code>status</code>).
-
-     <p>Configuration keywords are formed by concatenating the message class with
-the event class. 
+</p>
+<p>Configuration keywords are formed by concatenating the message class with
+the event class.
 The
 <code>all</code>
-prefix can be used instead of a message class. 
+prefix can be used instead of a message class.
 A
 message class may also be followed by the
 <code>all</code>
 keyword to enable/disable all
 messages of the respective message class.Thus, a minimal log configuration
 could look like this:
-<pre class="verbatim">     
-     logconfig =syncstatus +sysevents
+</p><pre class="verbatim">logconfig =syncstatus +sysevents
 </pre>
-
-     <p>This would just list the synchronizations state of
+<p>This would just list the synchronizations state of
 <code>ntpd(1ntpdmdoc)</code>
-and the major system events. 
+and the major system events.
 For a simple reference server, the
 following minimum message configuration could be useful:
-<pre class="verbatim">     
-     logconfig =syncall +clockall
+</p><pre class="verbatim">logconfig =syncall +clockall
 </pre>
-
-     <p>This configuration will list all clock information and
-synchronization information. 
+<p>This configuration will list all clock information and
+synchronization information.
 All other events and messages about
-peers, system events and so on is suppressed. 
-<br><dt><code>logfile</code> <kbd>logfile</kbd><dd>This command specifies the location of an alternate log file to
+peers, system events and so on is suppressed.
+</p></dd>
+<dt><code>logfile</code> <kbd>logfile</kbd></dt>
+<dd><p>This command specifies the location of an alternate log file to
 be used instead of the default system
 <code>syslog(3)</code>
-facility. 
-This is the same operation as the -l command line option. 
-<br><dt><code>setvar</code> <kbd>variable</kbd> <code>[default]</code><dd>This command adds an additional system variable. 
+facility.
+This is the same operation as the -l command line option.
+</p></dd>
+<dt><code>setvar</code> <kbd>variable</kbd> <code>[<code>default</code>]</code></dt>
+<dd><p>This command adds an additional system variable.
 These
 variables can be used to distribute additional information such as
-the access policy. 
+the access policy.
 If the variable of the form
 <code>name</code><code>=</code><kbd>value</kbd>
 is followed by the
 <code>default</code>
 keyword, the
 variable will be listed as part of the default system variables
-(<code>rv</code> command)). 
+(<code>rv</code> command)).
 These additional variables serve
-informational purposes only. 
+informational purposes only.
 They are not related to the protocol
-other that they can be listed. 
+other that they can be listed.
 The known protocol variables will
 always override any variables defined via the
 <code>setvar</code>
-mechanism. 
+mechanism.
 There are three special variables that contain the names
-of all variable of the same group. 
+of all variable of the same group.
 The
 <code>sys_var_list</code>
 holds
-the names of all system variables. 
+the names of all system variables.
 The
 <code>peer_var_list</code>
 holds
 the names of all peer variables and the
 <code>clock_var_list</code>
-holds the names of the reference clock variables. 
-<br><dt><code>tinker</code> <code>[allan </code><kbd>allan</kbd><code> | dispersion </code><kbd>dispersion</kbd><code> | freq </code><kbd>freq</kbd><code> | huffpuff </code><kbd>huffpuff</kbd><code> | panic </code><kbd>panic</kbd><code> | step </code><kbd>step</kbd><code> | stepback </code><kbd>stepback</kbd><code> | stepfwd </code><kbd>stepfwd</kbd><code> | stepout </code><kbd>stepout</kbd><code>]</code><dd>This command can be used to alter several system variables in
-very exceptional circumstances. 
+holds the names of the reference clock variables.
+</p></dd>
+<dt><code>tinker</code> <code>[<code>allan</code> <kbd>allan</kbd> | <code>dispersion</code> <kbd>dispersion</kbd> | <code>freq</code> <kbd>freq</kbd> | <code>huffpuff</code> <kbd>huffpuff</kbd> | <code>panic</code> <kbd>panic</kbd> | <code>step</code> <kbd>step</kbd> | <code>stepback</code> <kbd>stepback</kbd> | <code>stepfwd</code> <kbd>stepfwd</kbd> | <code>stepout</code> <kbd>stepout</kbd>]</code></dt>
+<dd><p>This command can be used to alter several system variables in
+very exceptional circumstances.
 It should occur in the
-configuration file before any other configuration options. 
+configuration file before any other configuration options.
 The
 default values of these variables have been carefully optimized for
-a wide range of network speeds and reliability expectations. 
+a wide range of network speeds and reliability expectations.
 In
 general, they interact in intricate ways that are hard to predict
-and some combinations can result in some very nasty behavior. 
+and some combinations can result in some very nasty behavior.
 Very
 rarely is it necessary to change the default values; but, some
 folks cannot resist twisting the knobs anyway and this command is
-for them. 
+for them.
 Emphasis added: twisters are on their own and can expect
 no help from the support group.
-
-     <p>The variables operate as follows:
-          <dl>
-<dt><code>allan</code> <kbd>allan</kbd><dd>The argument becomes the new value for the minimum Allan
+</p>
+<p>The variables operate as follows:
+</p><dl compact="compact">
+<dt><code>allan</code> <kbd>allan</kbd></dt>
+<dd><p>The argument becomes the new value for the minimum Allan
 intercept, which is a parameter of the PLL/FLL clock discipline
-algorithm. 
+algorithm.
 The value in log2 seconds defaults to 7 (1024 s), which is also the lower
-limit. 
-<br><dt><code>dispersion</code> <kbd>dispersion</kbd><dd>The argument becomes the new value for the dispersion increase rate,
-normally .000015 s/s. 
-<br><dt><code>freq</code> <kbd>freq</kbd><dd>The argument becomes the initial value of the frequency offset in
-parts-per-million. 
+limit.
+</p></dd>
+<dt><code>dispersion</code> <kbd>dispersion</kbd></dt>
+<dd><p>The argument becomes the new value for the dispersion increase rate,
+normally .000015 s/s.
+</p></dd>
+<dt><code>freq</code> <kbd>freq</kbd></dt>
+<dd><p>The argument becomes the initial value of the frequency offset in
+parts-per-million.
 This overrides the value in the frequency file, if
-present, and avoids the initial training state if it is not. 
-<br><dt><code>huffpuff</code> <kbd>huffpuff</kbd><dd>The argument becomes the new value for the experimental
-huff-n'-puff filter span, which determines the most recent interval
-the algorithm will search for a minimum delay. 
+present, and avoids the initial training state if it is not.
+</p></dd>
+<dt><code>huffpuff</code> <kbd>huffpuff</kbd></dt>
+<dd><p>The argument becomes the new value for the experimental
+huff-n&rsquo;-puff filter span, which determines the most recent interval
+the algorithm will search for a minimum delay.
 The lower limit is
-900 s (15 m), but a more reasonable value is 7200 (2 hours). 
+900 s (15 m), but a more reasonable value is 7200 (2 hours).
 There
 is no default, since the filter is not enabled unless this command
-is given. 
-<br><dt><code>panic</code> <kbd>panic</kbd><dd>The argument is the panic threshold, normally 1000 s. 
+is given.
+</p></dd>
+<dt><code>panic</code> <kbd>panic</kbd></dt>
+<dd><p>The argument is the panic threshold, normally 1000 s.
 If set to zero,
 the panic sanity check is disabled and a clock offset of any value will
-be accepted. 
-<br><dt><code>step</code> <kbd>step</kbd><dd>The argument is the step threshold, which by default is 0.128 s. 
+be accepted.
+</p></dd>
+<dt><code>step</code> <kbd>step</kbd></dt>
+<dd><p>The argument is the step threshold, which by default is 0.128 s.
 It can
-be set to any positive number in seconds. 
+be set to any positive number in seconds.
 If set to zero, step
-adjustments will never occur. 
+adjustments will never occur.
 Note: The kernel time discipline is
 disabled if the step threshold is set to zero or greater than the
-default. 
-<br><dt><code>stepback</code> <kbd>stepback</kbd><dd>The argument is the step threshold for the backward direction,
-which by default is 0.128 s. 
+default.
+</p></dd>
+<dt><code>stepback</code> <kbd>stepback</kbd></dt>
+<dd><p>The argument is the step threshold for the backward direction,
+which by default is 0.128 s.
 It can
-be set to any positive number in seconds. 
+be set to any positive number in seconds.
 If both the forward and backward step thresholds are set to zero, step
-adjustments will never occur. 
+adjustments will never occur.
 Note: The kernel time discipline is
 disabled if
 each direction of step threshold are either
-set to zero or greater than .5 second. 
-<br><dt><code>stepfwd</code> <kbd>stepfwd</kbd><dd>As for stepback, but for the forward direction. 
-<br><dt><code>stepout</code> <kbd>stepout</kbd><dd>The argument is the stepout timeout, which by default is 900 s. 
+set to zero or greater than .5 second.
+</p></dd>
+<dt><code>stepfwd</code> <kbd>stepfwd</kbd></dt>
+<dd><p>As for stepback, but for the forward direction.
+</p></dd>
+<dt><code>stepout</code> <kbd>stepout</kbd></dt>
+<dd><p>The argument is the stepout timeout, which by default is 900 s.
 It can
-be set to any positive number in seconds. 
+be set to any positive number in seconds.
 If set to zero, the stepout
-pulses will not be suppressed. 
+pulses will not be suppressed.
+</p></dd>
 </dl>
-     <br><dt><code>rlimit</code> <code>[memlock </code><kbd>Nmegabytes</kbd><code> | stacksize </code><kbd>N4kPages</kbd><code> filenum </code><kbd>Nfiledescriptors</kbd><code>]</code><dd>
-          <dl>
-<dt><code>memlock</code> <kbd>Nmegabytes</kbd><dd>Specify the number of megabytes of memory that can be allocated. 
+</dd>
+<dt><code>rlimit</code> <code>[<code>memlock</code> <kbd>Nmegabytes</kbd> | <code>stacksize</code> <kbd>N4kPages</kbd> <code>filenum</code> <kbd>Nfiledescriptors</kbd>]</code></dt>
+<dd><dl compact="compact">
+<dt><code>memlock</code> <kbd>Nmegabytes</kbd></dt>
+<dd><p>Specify the number of megabytes of memory that can be allocated.
 Probably only available under Linux, this option is useful
 when dropping root (the
 <code>-i</code>
-option). 
-The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory. 
-<br><dt><code>stacksize</code> <kbd>N4kPages</kbd><dd>Specifies the maximum size of the process stack on systems with the
+option).
+The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory.
+</p></dd>
+<dt><code>stacksize</code> <kbd>N4kPages</kbd></dt>
+<dd><p>Specifies the maximum size of the process stack on systems with the
 <code>mlockall()</code>
-function. 
-Defaults to 50 4k pages (200 4k pages in OpenBSD). 
-<br><dt><code>filenum</code> <kbd>Nfiledescriptors</kbd><dd>Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. 
+function.
+Defaults to 50 4k pages (200 4k pages in OpenBSD).
+</p></dd>
+<dt><code>filenum</code> <kbd>Nfiledescriptors</kbd></dt>
+<dd><p>Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default.
+</p></dd>
 </dl>
-     <br><dt><code>trap</code> <kbd>host_address</kbd> <code>[port </code><kbd>port_number</kbd><code>]</code> <code>[interface </code><kbd>interface_address</kbd><code>]</code><dd>This command configures a trap receiver at the given host
+</dd>
+<dt><code>trap</code> <kbd>host_address</kbd> <code>[<code>port</code> <kbd>port_number</kbd>]</code> <code>[<code>interface</code> <kbd>interface_address</kbd>]</code></dt>
+<dd><p>This command configures a trap receiver at the given host
 address and port number for sending messages with the specified
-local interface address. 
+local interface address.
 If the port number is unspecified, a value
-of 18447 is used. 
+of 18447 is used.
 If the interface address is not specified, the
 message is sent with a source address of the local interface the
-message is sent through. 
+message is sent through.
 Note that on a multihomed host the
 interface used may vary from time to time with routing changes.
-
-     <p>The trap receiver will generally log event messages and other
-information from the server in a log file. 
+</p>
+<p>The trap receiver will generally log event messages and other
+information from the server in a log file.
 While such monitor
 programs may also request their own trap dynamically, configuring a
 trap receiver will ensure that no messages are lost when the server
-is started. 
-<br><dt><code>hop</code> <kbd>...</kbd><dd>This command specifies a list of TTL values in increasing order, up to 8
-values can be specified. 
+is started.
+</p></dd>
+<dt><code>hop</code> <kbd>...</kbd></dt>
+<dd><p>This command specifies a list of TTL values in increasing order, up to 8
+values can be specified.
 In manycast mode these values are used in turn in
-an expanding-ring search. 
+an expanding-ring search.
 The default is eight multiples of 32 starting at
-31. 
+31.
+</p></dd>
 </dl>
 
-  <p>This section was generated by <strong>AutoGen</strong>,
-using the <code>agtexi-cmd</code> template and the option descriptions for the <code>ntp.conf</code> program. 
+<p>This section was generated by <strong>AutoGen</strong>,
+using the <code>agtexi-cmd</code> template and the option descriptions for the <code>ntp.conf</code> program.
 This software is released under the NTP license, &lt;http://ntp.org/license&gt;.
-
-<ul class="menu">
-<li><a accesskey="1" href="#ntp_002econf-Files">ntp.conf Files</a>:                   Files
-<li><a accesskey="2" href="#ntp_002econf-See-Also">ntp.conf See Also</a>:                See Also
-<li><a accesskey="3" href="#ntp_002econf-Bugs">ntp.conf Bugs</a>:                    Bugs
-<li><a accesskey="4" href="#ntp_002econf-Notes">ntp.conf Notes</a>:                   Notes
-</ul>
-
-<div class="node">
-<p><hr>
+</p>
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-Files" accesskey="1">ntp.conf Files</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Files
+</td></tr>
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-See-Also" accesskey="2">ntp.conf See Also</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">See Also
+</td></tr>
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-Bugs" accesskey="3">ntp.conf Bugs</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Bugs
+</td></tr>
+<tr><td align="left" valign="top">&bull; <a href="#ntp_002econf-Notes" accesskey="4">ntp.conf Notes</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Notes
+</td></tr>
+</table>
+
+<hr>
 <a name="ntp_002econf-Files"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#ntp_002econf-See-Also" accesskey="n" rel="next">ntp.conf See Also</a>, Previous: <a href="#Miscellaneous-Options" accesskey="p" rel="prev">Miscellaneous Options</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">ntp.conf Files</h4>
-
-     <dl>
-<dt><span class="file">/etc/ntp.conf</span><dd>the default name of the configuration file
-<br><dt><span class="file">ntp.keys</span><dd>private MD5 keys
-<br><dt><span class="file">ntpkey</span><dd>RSA private key
-<br><dt><span class="file">ntpkey_</span><kbd>host</kbd><dd>RSA public key
-<br><dt><span class="file">ntp_dh</span><dd>Diffie-Hellman agreement parameters
+<a name="ntp_002econf-Files-1"></a>
+<h4 class="subsection">1.1.8 ntp.conf Files</h4>
+<dl compact="compact">
+<dt><samp>/etc/ntp.conf</samp></dt>
+<dd><p>the default name of the configuration file
+</p></dd>
+<dt><samp>ntp.keys</samp></dt>
+<dd><p>private MD5 keys
+</p></dd>
+<dt><samp>ntpkey</samp></dt>
+<dd><p>RSA private key
+</p></dd>
+<dt><samp>ntpkey_</samp><kbd>host</kbd></dt>
+<dd><p>RSA public key
+</p></dd>
+<dt><samp>ntp_dh</samp></dt>
+<dd><p>Diffie-Hellman agreement parameters
+</p></dd>
 </dl>
-<div class="node">
-<p><hr>
+<hr>
 <a name="ntp_002econf-See-Also"></a>
-<br>
+<div class="header">
+<p>
+Next: <a href="#ntp_002econf-Bugs" accesskey="n" rel="next">ntp.conf Bugs</a>, Previous: <a href="#ntp_002econf-Files" accesskey="p" rel="prev">ntp.conf Files</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">ntp.conf See Also</h4>
-
+<a name="ntp_002econf-See-Also-1"></a>
+<h4 class="subsection">1.1.9 ntp.conf See Also</h4>
 <p><code>ntpd(1ntpdmdoc)</code>,
 <code>ntpdc(1ntpdcmdoc)</code>,
 <code>ntpq(1ntpqmdoc)</code>
-
-  <p>In addition to the manual pages provided,
+</p>
+<p>In addition to the manual pages provided,
 comprehensive documentation is available on the world wide web
 at
-<code>http://www.ntp.org/</code>. 
+<code>http://www.ntp.org/</code>.
 A snapshot of this documentation is available in HTML format in
-<span class="file">/usr/share/doc/ntp</span>. 
+<samp>/usr/share/doc/ntp</samp>.
 <br>
-
-  <p><br>
-David L. Mills, <em>Network Time Protocol (Version 4)</em>, RFC5905
-<div class="node">
-<p><hr>
-<a name="ntp_002econf-Bugs"></a>
+</p>
 <br>
+<p>David L. Mills, <em>Network Time Protocol (Version 4)</em>, RFC5905
+</p><hr>
+<a name="ntp_002econf-Bugs"></a>
+<div class="header">
+<p>
+Next: <a href="#ntp_002econf-Notes" accesskey="n" rel="next">ntp.conf Notes</a>, Previous: <a href="#ntp_002econf-See-Also" accesskey="p" rel="prev">ntp.conf See Also</a>, Up: <a href="#ntp_002econf-Notes" accesskey="u" rel="up">ntp.conf Notes</a> &nbsp; </p>
 </div>
-
-<h4 class="subsection">ntp.conf Bugs</h4>
-
+<a name="ntp_002econf-Bugs-1"></a>
+<h4 class="subsection">1.1.10 ntp.conf Bugs</h4>
 <p>The syntax checking is not picky; some combinations of
 ridiculous and even hilarious options and modes may not be
 detected.
-
-  <p>The
-<span class="file">ntpkey_</span><kbd>host</kbd>
+</p>
+<p>The
+<samp>ntpkey_</samp><kbd>host</kbd>
 files are really digital
-certificates. 
+certificates.
 These should be obtained via secure directory
-services when they become universally available. 
-<div class="node">
-<p><hr>
-<a name="ntp_002econf-Notes"></a>
-<br>
+services when they become universally available.
+</p><hr>
+<div class="header">
+<p>
+ &nbsp; </p>
 </div>
-
-<h4 class="subsection">ntp.conf Notes</h4>
-
+<a name="ntp_002econf-Notes-1"></a>
+<h4 class="subsection">1.1.11 ntp.conf Notes</h4>
 <p>This document was derived from FreeBSD.
+</p><hr>
+
 
-</body></html>
 
+</body>
+</html>
index ef9e14dfe770c51a40a2441796efa73d6c00b874..9db0c59e0d2ea632e3541d079252eb435b0b6d78 100644 (file)
 .ds B-Font B
 .ds I-Font I
 .ds R-Font R
-.TH ntp.conf 5 "29 Jun 2015" "4.2.8p3" "File Formats"
+.TH ntp.conf 5 "26 Jul 2015" "4.2.8p3" "File Formats"
 .\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-R0aO7B/ag-30aG6B)
+.\" EDIT THIS FILE WITH CAUTION (in-mem file)
 .\"
-.\" It has been AutoGen-ed June 29, 2015 at 04:30:16 PM by AutoGen 5.18.5
+.\" It has been AutoGen-ed July 26, 2015 at 06:23:41 AM by AutoGen 5.18.5
 .\" From the definitions ntp.conf.def
 .\" and the template file agman-cmd.tpl
 .SH NAME
@@ -2170,7 +2170,7 @@ This value defaults to 1, but can be changed
 to any number from 1 to 15.
 .TP 7
 .NOP \f\*[B-Font]minclock\f[] \f\*[I-Font]minclock\f[]
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 \f\*[B-Font]minclock\f[]
 associations remain.
index 93c638d6edff581ed8aac2d9b5e1c17920c1e621..b1dbd80502cb101be2fa54c305f2f2562019fe6a 100644 (file)
@@ -1,9 +1,9 @@
-.Dd June 29 2015
+.Dd July 26 2015
 .Dt NTP_CONF 5 File Formats
 .Os
 .\"  EDIT THIS FILE WITH CAUTION  (ntp.mdoc)
 .\"
-.\"  It has been AutoGen-ed  June 29, 2015 at 04:30:36 PM by AutoGen 5.18.5
+.\"  It has been AutoGen-ed  July 26, 2015 at 06:23:35 AM by AutoGen 5.18.5
 .\"  From the definitions    ntp.conf.def
 .\"  and the template file   agmdoc-cmd.tpl
 .Sh NAME
@@ -1995,7 +1995,7 @@ peers remaining.
 This value defaults to 1, but can be changed
 to any number from 1 to 15.
 .It Cm minclock Ar minclock
-The clustering algorithm repeatedly casts out outlyer
+The clustering algorithm repeatedly casts out outlier
 associations until no more than
 .Cm minclock
 associations remain.
index cb183b934fc88ed47210b202cb73a8dcea383d32..42c30de5679f0d17a26555d6a37d42b88a18a999 100644 (file)
@@ -577,7 +577,7 @@ local_clock(
                switch (state) {
 
                /*
-                * In SYNC state we ignore the first outlyer and switch
+                * In SYNC state we ignore the first outlier and switch
                 * to SPIK state.
                 */
                case EVNT_SYNC:
@@ -588,8 +588,8 @@ local_clock(
                        return (0);
 
                /*
-                * In FREQ state we ignore outlyers and inlyers. At the
-                * first outlyer after the stepout threshold, compute
+                * In FREQ state we ignore outliers and inlyers. At the
+                * first outlier after the stepout threshold, compute
                 * the apparent frequency correction and step the phase.
                 */
                case EVNT_FREQ:
@@ -601,7 +601,7 @@ local_clock(
                        /* fall through to EVNT_SPIK */
 
                /*
-                * In SPIK state we ignore succeeding outlyers until
+                * In SPIK state we ignore succeeding outliers until
                 * either an inlyer is found or the stepout threshold is
                 * exceeded.
                 */
index d76bbbd9dcb25e96e89bf6a7e6712a928b8e8b59..b0c3532f155d78918916a366758da614c40b542d 100644 (file)
@@ -2744,7 +2744,7 @@ clock_select(void)
        }
 
        /*
-        * Now, vote outlyers off the island by select jitter weighted
+        * Now, vote outliers off the island by select jitter weighted
         * by root distance. Continue voting as long as there are more
         * than sys_minclock survivors and the select jitter of the peer
         * with the worst metric is greater than the minimum peer
index 82a874093c9b7506b088fa501d97eb6673afe8a8..84a622bba642aa32dead5bd9183b9a7af0ebbf0d 100644 (file)
@@ -36,7 +36,7 @@
 #define NTP_STATUS_INVALID      0
 #define NTP_STATUS_FALSETICKER  1
 #define NTP_STATUS_EXCESS       2
-#define NTP_STATUS_OUTLYER      3
+#define NTP_STATUS_OUTLIER      3
 #define NTP_STATUS_CANDIDATE    4
 #define NTP_STATUS_SELECTED     5
 #define NTP_STATUS_SYSPEER      6
index bfa5d2341d541428f065ff1571d31a8074f3c3e0..78143b3510ee91427ac22cd123a241e3d14b79ae 100644 (file)
@@ -1202,7 +1202,7 @@ printassoc(
                                break;
 
                        case CTL_PST_SEL_SELCAND:
-                               condition = "outlyer";
+                               condition = "outlier";
                                break;
 
                        case CTL_PST_SEL_SYNCCAND: