]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2715] mdnstries option for ntp.conf from NetBSD
authorHarlan Stenn <stenn@ntp.org>
Tue, 30 Dec 2014 01:28:39 +0000 (01:28 +0000)
committerHarlan Stenn <stenn@ntp.org>
Tue, 30 Dec 2014 01:28:39 +0000 (01:28 +0000)
bk: 54a1ffc7rOoDpchyo2YvTvUiaukOkw

html/confopt.html
ntpd/ntp.conf.def

index 8c8ae372c7ed2a994a2d77b657f3be7af3218826..b964d245b3d804bc62a7e98ddb615e470f6d9bda 100644 (file)
@@ -91,11 +91,13 @@ outgoing NTP packets. Versions 1-4 are the choices, with version 4 the default.<
 <h4 id="aux">Auxiliary Commands</h4>
 <dl>
        <dt id="broadcastclient"><tt>broadcastclient</tt></dt>
-       <dd>Enable reception of broadcast server messages to any local interface (type  b address). Ordinarily, upon receiving a broadcast message for the first time, the broadcast client measures the nominal server propagation delay using a brief client/server exchange, after which it continues in listen-only mode. If a nonzero value is specified in the <tt>broadcastdelay</tt> command, the value becomes the delay and the volley is not executed. Note: the <tt>novolley</tt> option has been deprecated for future enhancements. 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 the <a href="authopt.html">Authentication Options</a> page. Note that the volley is required with public key authentication in order to run the Autokey protocol..</dd>
+       <dd>Enable reception of broadcast server messages to any local interface (type  b address). Ordinarily, upon receiving a broadcast message for the first time, the broadcast client measures the nominal server propagation delay using a brief client/server exchange, after which it continues in listen-only mode. If a nonzero value is specified in the <tt>broadcastdelay</tt> command, the value becomes the delay and the volley is not executed. Note: the <tt>novolley</tt> option has been deprecated for future enhancements. 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 the <a href="authopt.html">Authentication Options</a> page. Note that the volley is required with public key authentication in order to run the Autokey protocol.</dd>
   <dt id="manycastserver"><tt>manycastserver <i>address</i> [...]</tt></dt>
        <dd>Enable reception of manycast client messages (type m) to the multicasts group address(es) (type m) specified. At least one address is required. Note that, in order to avoid accidental or malicious disruption, both the server and client should operate using symmetric key or public key authentication as described in the <a href="authopt.html">Authentication Options</a> page.</dd>
        <dt id="multicastclient"><tt>multicastclient <i>address</i> [...]</tt></dt>
        <dd>Enable 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. 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 the <a href="authopt.html">Authentication Options</a> page.</dd>
+       <dt id="mdnstries"><tt>mdnstries</tt> <i>number</i></dt>
+       <dd>If we are participating in mDNS, after we have synched for the first time we attempt to register with the mDNS system.  If that registration attempt fails, we try again at one minute intervals for up to <tt>mdnstries</tt> times.  After all, <tt>ntpd</tt> may be starting before mDNS.  The default value for <tt>mdnstries</tt> is 5.</dd>
 </dl>
 <hr>
 <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
index 5a5af21f21d0aa606d9b2d1122368b09a77704d4..6f0bae12b3f56e3de16d8d317b1934d40d270cb2 100644 (file)
@@ -404,6 +404,20 @@ 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
 .Sx Authentication Options .
+.It Ic mdnstries Ar number
+If we are participating in mDNS,
+after we have synched for the first time
+we attempt to register with the mDNS system.
+If that registration attempt fails,
+we try again at one minute intervals for up to
+.Ic mdnstries
+times.
+After all,
+.Ic ntpd
+may be starting before mDNS.
+The default value for
+.Ic mdnstries
+is 5.
 .El
 .Sh Authentication Support
 Authentication support allows the NTP client to verify that the