<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.29 (Ruby 3.4.4) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-venhoek-nts-pool-03" category="exp" consensus="true" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.30.0 -->
  <front>
    <title abbrev="NTS pools">NTS extensions for enabling pools</title>
    <seriesInfo name="Internet-Draft" value="draft-venhoek-nts-pool-03"/>
    <author fullname="David Venhoek">
      <organization>Trifecta Tech Foundation</organization>
      <address>
        <email>david@tweedegolf.com</email>
      </address>
    </author>
    <author fullname="Folkert de Vries">
      <organization>Tweede golf B.V.</organization>
      <address>
        <email>folkert@tweedegolf.com</email>
      </address>
    </author>
    <author fullname="Marc Schoolderman">
      <organization>Tweede golf B.V.</organization>
      <address>
        <email>marc@tweedegolf.com</email>
      </address>
    </author>
    <date year="2025" month="July" day="21"/>
    <area>INT</area>
    <workgroup>ntp</workgroup>
    <keyword>NTP</keyword>
    <keyword>NTS</keyword>
    <abstract>
      <?line 49?>

<t>The aim of this document is to describe a proof of concept system for NTS pools that are able to be used by clients without any knowledge beyond plain NTS. The work here focuses purely on creating an intermediate NTS Key Exchange server that can be configured with the addresses of multiple servers and distribute load between them. The parts of pool operation dealing with managing the list of servers are left out of scope for this work.</t>
    </abstract>
    <note removeInRFC="true">
      <name>About This Document</name>
      <t>
        The latest revision of this draft can be found at <eref target="https://pendulum-project.github.io/nts-pool-draft/draft-venhoek-nts-pool.html"/>.
        Status information for this document may be found at <eref target="https://datatracker.ietf.org/doc/draft-venhoek-nts-pool/"/>.
      </t>
      <t>Source for this draft and an issue tracker can be found at
        <eref target="https://github.com/pendulum-project/nts-pool-draft"/>.</t>
    </note>
  </front>
  <middle>
    <?line 53?>

<section anchor="introduction">
      <name>Introduction</name>
      <t>NTS <xref target="RFC8915"/> provides authenticity and limited confidentiality for NTP <xref target="RFC5905"/>. However, the key exchange preceding the actual time exchange makes it hard to implement a pool for NTS supporting servers in a manner similar to the DNS resolution approach taken to provide the NTP Pool <xref target="Pool"/>.</t>
      <t>This document aims to provide extensions to the NTS Key Exchange sessions that allow for an implementation of a pool for NTS that:</t>
      <ul spacing="normal">
        <li>
          <t>is usable without changes to the client,</t>
        </li>
        <li>
          <t>avoids constraining the time source's cookie format,</t>
        </li>
        <li>
          <t>avoids time sources having potential access to all traffic.</t>
        </li>
      </ul>
    </section>
    <section anchor="conventions-and-definitions">
      <name>Conventions and Definitions</name>
      <t>Throughout the text, the terms client and server will refer to those roles in an NTS Key Exchange session as specified in <xref target="RFC8915"/>. Please note that this means that the pool itself operates in both roles: As a server towards users of the pool, and as a client towards the time sources.</t>
      <t>Where further specificity of the role of a participant is needed, we will use the term user to indicate a user of a pool, the term pool to indicate the pool itself, and time source for the time servers that the pool delegates the actual providing of time to.</t>
      <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>
      <?line -18?>

</section>
    <section anchor="general-pool-architecture">
      <name>General pool architecture</name>
      <t>We propose a pool model where the pool provides an NTS Key Exchange service to the outside world. A major advantage of this model is that it avoids having to distribute certificates to all time sources. Contrary to <xref target="RFC8915"/>, there is no direct TLS connection between the client and the selected time source.</t>
      <t>In <xref target="RFC8915"/>, cookies are generated based on key material that is extracted from this TLS connection. Our proposed model instead establishes two TLS connections: between the client and the pool, and between the pool and the time source. Because cookies need to be generated using key material from the client, the pool extracts this key material and sends it to the time source. The time source uses this key material (rather than key material extracted from its connection with the pool) to generate cookies. This way, the pool can remain oblivious to the cookie format of the time source.</t>
    </section>
    <section anchor="communication-between-the-pool-and-time-sources">
      <name>Communication between the pool and time sources</name>
      <t>To facilitate communication between the pool and the time sources, 4 new NTS records are defined in <xref target="records"/>. Together these records provide a way for the pool to provide key exchange services to clients on behalf of the time sources.</t>
      <t>The Supported Next Protocol List (<xref target="supportedprotocol"/>), Supported Algorithm List (<xref target="supportedalgorithm"/>) and List Server Names (<xref target="listservernames"/>)) records allow the pool to ask a time source which protocols and algorithms it supports, and which server names are used in the NTP server records it generates. This information can be requested by the pool at any time, and can be cached for short periods of time to improve efficiency.</t>
      <t>Using knowledge of a time source's supported protocols and algorithms, the pool can then handle client connections for that time source, using the clients indicated desires to choose a concrete next protocol and AEAD algorithm. The pool can then extract the keys from the TLS connection and use the Fixed Key record (<xref target="fixedkey"/>) to request cookies for these keys from the time source.</t>
      <t>The list of server names provided by the time source can be used by the pool to honor requests by the client to not repeat a certain server. This allows more efficient retrieval of multiple sources from a pool.</t>
      <t>As it is wasteful to setup a new TLS session between the pool and the time source for each of these interactions. To facilitate reuse of the TLS sessions, we further introduce the Keep Alive record (<xref target="keepalive"/>). This record allows the pool to indicate to the time source a desire to keep the session alive for more than a single request-response interaction.</t>
      <section anchor="poolauth">
        <name>Authenticating the pool to time sources</name>
        <t>Allowing arbitrary clients to keep connections alive for more that a single request-response interaction could open up the server to denial of service due to resource exhaustion. To prevent this, a pool wishing to use the keep alive functionality <bcp14>MUST</bcp14> authenticate itself to the time source using a TLS Client Authentication as defined in <xref target="RFC8446"/>. Time sources <bcp14>MUST</bcp14> check that this authentication was successful, and that the requestor is on the list of requestors allowed to use the keep alive mechanism. By default, the list of requestors allowed to use the keep alive mechanism <bcp14>MUST</bcp14> be empty</t>
        <t>Furthermore, time sources <bcp14>MAY</bcp14> choose to also restrict the Fixed Key, Supported Next Protocol List and Supported Algorithm List to authenticated clients. If this choice is made, it is suggested that the server treat these records as unrecognized critical records on unauthenticated client's connections.</t>
      </section>
    </section>
    <section anchor="communication-between-clients-and-the-pool">
      <name>Communication between clients and the pool</name>
      <t>A client requesting time from the pool can make a normal NTS Key Exchange request to the pool. In the response to the client the pool needs to tell which NTP server is to be used to get the time. This can be done through the already existing NTP Server Record. However, the pool needs to ensure it is present, and therefore <bcp14>MUST</bcp14> add such a record to the response unless one is already provided by the time source.</t>
      <t>Clients that are aware they are talking to a pool may want to get multiple independent time sources from that pool. For this, they need to be able to tell the pool which time sources they already have, otherwise they might get a time source that they are already talking to. To achieve this, a client can use the NTP Server Deny record (<xref target="serverdeny"/>) to indicate it would rather not receive a particular server. Clients <bcp14>MUST</bcp14> use the precise name given by the pool in a previous NTP Server record, otherwise the pool may not recognize which time source the client is referring to.</t>
    </section>
    <section anchor="records">
      <name>New NTS record types</name>
      <section anchor="keepalive">
        <name>Keep Alive</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4000)
Critical bit: 0</t>
        <t>Indicates a desire to keep the TLS connection active for more than one message exchange. This can be used by a pool to reuse connections to a time source's NTS Key Exchange servers multiple times, reducing load on both the pool and time sources.</t>
        <t>When a client sends this record the body <bcp14>MUST</bcp14> have size 0. A client <bcp14>MUST NOT</bcp14> use Keep Alive unless the request contains a record type allowing the use of Keep Alive. Within this specification, that is limited to the Supported Protocol List and Fixed Key Request records. A server <bcp14>SHOULD</bcp14> ignore any body for the Keep Alive record.</t>
        <t>When supported by a server and allowed for the request in question, the server <bcp14>MAY</bcp14> include a Keep Alive record with a body of size 0 in the response and keep the TLS connection active after the response to handle further requests from the client. A client <bcp14>SHOULD</bcp14> ignore any body for the Keep Alive record. As keeping a connection active requires additional resources on the server, a server <bcp14>SHOULD NOT</bcp14> respond with a Keep Alive record to unauthenticated clients.</t>
        <t>When included in the request or response, the client respectively server <bcp14>MAY</bcp14>, contrary to the requirements in <xref target="RFC8915"/>, send another request or response. Any TLS "close_notify" <bcp14>SHALL</bcp14> be sent only after the last request or response respectively to use the connection.</t>
        <t>Once a Keep Alive record has been sent by a client, or honored by a server, the TLS connection over which it was sent <bcp14>MUST NOT</bcp14> be used for key extraction. Doing so anyway can result in the reuse of keys and may result in loss of confidentiality or authenticity of the resulting NTP exchanges.</t>
      </section>
      <section anchor="supportedprotocol">
        <name>Supported Next Protocol List</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4004)
Critical bit: 1</t>
        <t>This record can be used by a pool to query time sources about which next protocols they support.</t>
        <t>When a client sends this record the body <bcp14>MUST</bcp14> have size 0. Clients <bcp14>MAY</bcp14> use Keep Alive in combination with this record. Contrary to <xref target="RFC8915"/>, a request with this record <bcp14>SHOULD NOT</bcp14> include a "Next Protocol Negotiation", "AEAD Algorithm Negotiation" or "Fixed Key Request" record.</t>
        <t>When receiving this record, servers <bcp14>MUST</bcp14> ignore any client body sent and <bcp14>MUST</bcp14> send in the response a Supported Next Protocol List record with as data a list of 16-bit integers, giving the protocol IDs the server supports. A server <bcp14>MAY</bcp14> treat this record as unknown for clients that are not authenticated as described in <xref target="poolauth"/>.</t>
        <t>When included, the server <bcp14>MUST NOT</bcp14> negotiate a next protocol, AEAD algorithm, or keys for this request.</t>
      </section>
      <section anchor="supportedalgorithm">
        <name>Supported Algorithm List</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4001)
Critical bit: 1</t>
        <t>This record can be used by a pool to query time sources about which AEAD algorithms they support.</t>
        <t>When a client sends this record the body <bcp14>MUST</bcp14> have size 0. Clients <bcp14>MAY</bcp14> use Keep Alive in combination with this record. Contrary to <xref target="RFC8915"/>, a request with this record <bcp14>SHOULD NOT</bcp14> include a "Next Protocol Negotiation", "AEAD Algorithm Negotiation" or "Fixed Key Request" record.</t>
        <t>When receiving this record, servers <bcp14>MUST</bcp14> ignore any client body sent and <bcp14>MUST</bcp14> send in the response a Supported Algorithm List record with as data a list of tuples of two 16-bit integers, the first giving an algorithm ID for the AEAD and the second giving the length of the key for that algorithm ID. A server <bcp14>MAY</bcp14> treat this record as unknown for clients that are not authenticated as described in <xref target="poolauth"/>.</t>
        <t>When included, the server <bcp14>MUST NOT</bcp14> negotiate a next protocol, AEAD algorithm, or keys for this request.</t>
        <t>We include the algorithm key size in the response so that a pool does not itself need knowledge of which AEAD algorithms exist, and what their key sizes are. Instead, it can use the provided key length when extracting keys from the TLS connection between end user and pool. This allows adoption of new AEAD algorithms without any changes to the pool software.</t>
      </section>
      <section anchor="listservernames">
        <name>List Server Names</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4005)
Critical bit: 1</t>
        <t>This record can be used by a pool to query time sources about which server names they use in NTP server records in their responses.</t>
        <t>When a client sends this record the body <bcp14>MUST</bcp14> have size 0. Clients <bcp14>MAY</bcp14> use Keep Alive in combination with this record. Contrary to <xref target="RFC8915"/>, a request with this record <bcp14>SHOULD NOT</bcp14> include a "Next Protocol Negotiation", "AEAD Algorithm Negotiation" or "Fixed Key Request" record.</t>
        <t>Servers <bcp14>MUST NOT</bcp14> include this record in a response. When receiving this record, servers <bcp14>MUST</bcp14> ignore any body of this record sent by the client, and <bcp14>MUST</bcp14> send in the response one NTP server record for each server name the server may use responses to fixed key requests. If a server never sents a NTP server record in response to a fixed key request, it <bcp14>MAY</bcp14> opt to not provide one in response to this record.</t>
        <t>When receiving this record, a server <bcp14>MUST NOT</bcp14> negotiate a next protocol, AEAD algorithm, or keys for this request. A server <bcp14>MAY</bcp14> treat this record as unknown for clients that are not authenticated as described in <xref target="poolauth"/>.</t>
      </section>
      <section anchor="fixedkey">
        <name>Fixed Key Request</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4002)
Critical Bit: 1</t>
        <t>When a client is properly authenticated, the server <bcp14>SHOULD NOT</bcp14> perform Key Extraction but rather use the keys provided by the client in the extension field. This allows a pool to do key negotiation on behalf of its users with the time source's NTS Key Exchange servers, even though it terminates the TLS connection.</t>
        <t>When used, the client <bcp14>MUST</bcp14> provide an AEAD Algorithm Negotiation record with precisely one algorithm, and a Next Protocol Negotiation record with precisely one next protocol. The data in the Fixed Key Request record must have length twice the key length N of the AEAD algorithm in the AEAD Algorithm Negotiation record. The first N bytes <bcp14>MUST</bcp14> be the C2S Key and the second set of N bytes <bcp14>MUST</bcp14> be the S2C key. Clients <bcp14>MAY</bcp14> use Keep Alive in combination with this record.</t>
        <t>This record <bcp14>MUST NOT</bcp14> be sent by a server. A server <bcp14>MAY</bcp14> treat this record as unknown for clients that are not authenticated as described in <xref target="poolauth"/>.</t>
      </section>
      <section anchor="serverdeny">
        <name>NTP Server Deny</name>
        <t>Record Type Number: To be assigned by IANA (draft implementations: 0x4003)
Critical Bit: 0</t>
        <t>When provided by a client, indicates a desire to connect to a server other than the server specified in the record. This can be used to ensure a client receives independent NTP servers from one NTS Key Exchange server without having to potentially try multiple times to get a new server.</t>
        <t>A client <bcp14>MAY</bcp14> send multiple of these records if desired. The data in the record <bcp14>SHOULD</bcp14> match that given through an NTPv4 Server Negotiation received in an earlier response from the same NTS Key Exchange server.</t>
        <t><bcp14>MUST NOT</bcp14> be sent by a server. Server <bcp14>MAY</bcp14> at its discretion ignore the request from the client and still provide the given server in an NTPv4 Server Negotiation record.</t>
      </section>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <section anchor="pools-position">
        <name>Pool's position</name>
        <t>In the pool design presented above, the pool effectively acts as a man in the middle between the user and the ultimate time source during the NTS Key Exchange portion of the session. This means that the pool has access to the key material of these sessions. Although this is a small additional risk, we consider this acceptable because the pool could already always assign sessions for a user to time servers it controls anyway.</t>
        <t>The fact that the pool also gets access to key material makes it less advisable to have a pool as a time source for another pool, as this increases the number of actors with access to the key material even further.</t>
        <t>The design above does avoid sharing key material between all time sources. As a consequence, a time source in the pool will not be able to break confidentiality or authenticity of traffic with other time sources of the pool. Furthermore, any traffic directly with the time source has no key material involved that is known to the pool.</t>
        <t>It must be noted that clients need to trust the pool to check the TLS certificates of the time sources. It is imperative that the pool does this correctly, and that it has a trusted source of time to be able to do revocation checks.</t>
      </section>
      <section anchor="keep-alive-and-denial-of-service-attack-risk">
        <name>Keep alive and denial of service attack risk</name>
        <t>The Keep Alive NTS record allows a client to keep an NTS key exchange connection open for significantly longer than usual. If arbitrary clients were allowed to do this, they could use it trivially run a server out of resources such as file descriptors. It is therefore important that public servers restrict keeping connections alive to a limited set of trusted clients. The suggested mechanism for doing this is to use TLS client authentication for these clients.</t>
      </section>
      <section anchor="error-handling">
        <name>Error handling</name>
        <t>To avoid giving multiple time sources access to the key material of the end user, it is important that the keys extracted from the TLS session between the user and the pool are sent to at most one time source. If an error occurs after sending the Fixed Key Request record, either with the TLS connection between the pool and the time source, or by being explicitly reported by the time source to the pool, the pool <bcp14>SHOULD</bcp14> return an error to the user. Retrying with a different time source during the same TLS session may unintentionally leave the user vulnerable to the operator of the originally selected time source.</t>
      </section>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <t>IANA is requested to allocate the following entries in the Network Time Security Key Establishment Record Types registry <xref target="RFC8915"/>:</t>
      <table>
        <thead>
          <tr>
            <th align="left">Record Type Number</th>
            <th align="left">Description</th>
            <th align="left">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">Keep Alive</td>
            <td align="left">[[this memo]] <xref target="keepalive"/></td>
          </tr>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">Supported Next Protocol List</td>
            <td align="left">[[this memo]] <xref target="supportedprotocol"/></td>
          </tr>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">Supported Algorithm List</td>
            <td align="left">[[this memo]] <xref target="supportedalgorithm"/></td>
          </tr>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">List Server Names</td>
            <td align="left">[[this memo]] <xref target="listservernames"/></td>
          </tr>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">Fixed Key Request</td>
            <td align="left">[[this memo]] <xref target="fixedkey"/></td>
          </tr>
          <tr>
            <td align="left">[[TBD]]</td>
            <td align="left">NTP Server Deny</td>
            <td align="left">[[this memo]] <xref target="serverdeny"/></td>
          </tr>
        </tbody>
      </table>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references">
      <name>References</name>
      <references anchor="sec-normative-references">
        <name>Normative References</name>
        <reference anchor="RFC8446">
          <front>
            <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
            <author fullname="E. Rescorla" initials="E." surname="Rescorla"/>
            <date month="August" year="2018"/>
            <abstract>
              <t>This document specifies version 1.3 of the Transport Layer Security (TLS) protocol. TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t>
              <t>This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961. This document also specifies new requirements for TLS 1.2 implementations.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8446"/>
          <seriesInfo name="DOI" value="10.17487/RFC8446"/>
        </reference>
        <reference anchor="RFC8915">
          <front>
            <title>Network Time Security for the Network Time Protocol</title>
            <author fullname="D. Franke" initials="D." surname="Franke"/>
            <author fullname="D. Sibold" initials="D." surname="Sibold"/>
            <author fullname="K. Teichel" initials="K." surname="Teichel"/>
            <author fullname="M. Dansarie" initials="M." surname="Dansarie"/>
            <author fullname="R. Sundblad" initials="R." surname="Sundblad"/>
            <date month="September" year="2020"/>
            <abstract>
              <t>This memo specifies Network Time Security (NTS), a mechanism for using Transport Layer Security (TLS) and Authenticated Encryption with Associated Data (AEAD) to provide cryptographic security for the client-server mode of the Network Time Protocol (NTP).</t>
              <t>NTS is structured as a suite of two loosely coupled sub-protocols. The first (NTS Key Establishment (NTS-KE)) handles initial authentication and key establishment over TLS. The second (NTS Extension Fields for NTPv4) handles encryption and authentication during NTP time synchronization via extension fields in the NTP packets, and holds all required state only on the client via opaque cookies.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8915"/>
          <seriesInfo name="DOI" value="10.17487/RFC8915"/>
        </reference>
        <reference anchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t>RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
      </references>
      <references anchor="sec-informative-references">
        <name>Informative References</name>
        <reference anchor="RFC5905">
          <front>
            <title>Network Time Protocol Version 4: Protocol and Algorithms Specification</title>
            <author fullname="D. Mills" initials="D." surname="Mills"/>
            <author fullname="J. Martin" initials="J." role="editor" surname="Martin"/>
            <author fullname="J. Burbank" initials="J." surname="Burbank"/>
            <author fullname="W. Kasch" initials="W." surname="Kasch"/>
            <date month="June" year="2010"/>
            <abstract>
              <t>The Network Time Protocol (NTP) is widely used to synchronize computer clocks in the Internet. This document describes NTP version 4 (NTPv4), which is backwards compatible with NTP version 3 (NTPv3), described in RFC 1305, as well as previous versions of the protocol. NTPv4 includes a modified protocol header to accommodate the Internet Protocol version 6 address family. NTPv4 includes fundamental improvements in the mitigation and discipline algorithms that extend the potential accuracy to the tens of microseconds with modern workstations and fast LANs. It includes a dynamic server discovery scheme, so that in many cases, specific server configuration is not required. It corrects certain errors in the NTPv3 design and implementation and includes an optional extension mechanism.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5905"/>
          <seriesInfo name="DOI" value="10.17487/RFC5905"/>
        </reference>
        <reference anchor="Pool" target="https://www.ntppool.org">
          <front>
            <title>NTP Pool website</title>
            <author>
              <organization/>
            </author>
            <date>n.d.</date>
          </front>
        </reference>
      </references>
    </references>
    <?line 229?>

<section numbered="false" anchor="acknowledgments">
      <name>Acknowledgments</name>
      <t>The authors thank Marlon Peeters for their input and discussions during the writing of this document.</t>
    </section>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA+1cbW/cRn5/v59iunpxl2Kl2IlzTYTr3cmWnQhxZNdSYhyC
oJglZ3d54pJ7HHLXOsXfpZ+ln6y//8MMh9yVnGuStjgUCGKJHM78n59Hx8fH
k7ZoS3dqppfXV8a9a13li7ryZlE3xlV2XhbV0mzquvTTiZ3PG7fVtfoss61b
1s3tKT7eTCZ5nVV2jf3yxi7a462rVrW7Oa5af0wfHD/6dOK7+brwdEp7u8HK
i+fXL4w5Mrb0NfYuqtxtHP5XtdOZmbq8aOumsCX9cnH2FP8AsunFm+sX00nV
reeuOZ3kAOJ0kgFugN/5U9M2nZsA0k8ntnEWZ1xeT3Z1c7Ns6m5zaqp2M7lx
t3iSn07Msbm8fi3/XE0AcYe9jozRtW+/pF8E1LfYgujxJb2ix2tblLTkT+6d
XW9Kd5LVa3pum2x1alZtu/GnH3+cvPwY22Hrol11cyBLiHZltz7eNPVfXNZ+
HAnF9JtibQncfIu1YbfxNyey20lRj77++DAPTlbtupxOJrZrV3VD+OMUYxZd
WQrrpud2W+TmO/luym/rZmmr4m+2BdtOzXVTLHCyNdcuW5kXdVfl/IaXOiHK
NKdd/tTunMshIeWC0J8eOO1FXd64pjW5M981hf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