Roughtime
draft-ietf-ntp-roughtime-04
Internet Engineering Task Force A. Malhotra
Internet-Draft Boston University
Intended status: Informational A. Langley
Expires: August 25, 2021 Google
W. Ladd
Cloudflare
M. Dansarie
February 21, 2021
Roughtime
draft-ietf-ntp-roughtime-04
Abstract
This document specifies Roughtime - a protocol that aims to achieve
rough time synchronization while detecting servers that provide
inaccurate time and providing cryptographic proof of their
malfeasance.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 25, 2021.
Copyright Notice
Copyright (c) 2021 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
Malhotra, et al. Expires August 25, 2021 [Page 1]
Internet-Draft Roughtime February 2021
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Requirements Language . . . . . . . . . . . . . . . . . . . . 4
3. Protocol Overview . . . . . . . . . . . . . . . . . . . . . . 4
4. The Guarantee . . . . . . . . . . . . . . . . . . . . . . . . 5
5. Message Format . . . . . . . . . . . . . . . . . . . . . . . 5
5.1. Data Types . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.1. int32 . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.2. uint32 . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.3. uint64 . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.4. Tag . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.5. Timestamp . . . . . . . . . . . . . . . . . . . . . . 6
5.2. Header . . . . . . . . . . . . . . . . . . . . . . . . . 7
6. Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.1. Requests . . . . . . . . . . . . . . . . . . . . . . . . 8
6.2. Responses . . . . . . . . . . . . . . . . . . . . . . . . 9
6.3. The Merkle Tree . . . . . . . . . . . . . . . . . . . . . 11
6.3.1. Root Value Validity Check Algorithm . . . . . . . . . 11
6.4. Validity of Response . . . . . . . . . . . . . . . . . . 12
7. Integration into NTP . . . . . . . . . . . . . . . . . . . . 12
8. Grease . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
9. Roughtime Servers . . . . . . . . . . . . . . . . . . . . . . 13
10. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 13
11. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13
11.1. Service Name and Transport Protocol Port Number Registry 13
11.2. Roughtime Version Registry . . . . . . . . . . . . . . . 14
11.3. Roughtime Tag Registry . . . . . . . . . . . . . . . . . 14
12. Security Considerations . . . . . . . . . . . . . . . . . . . 15
13. Privacy Considerations . . . . . . . . . . . . . . . . . . . 16
14. References . . . . . . . . . . . . . . . . . . . . . . . . . 16
14.1. Normative References . . . . . . . . . . . . . . . . . . 16
14.2. Informative References . . . . . . . . . . . . . . . . . 17
Appendix A. Terms and Abbreviations . . . . . . . . . . . . . . 18
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 19
1. Introduction
Time synchronization is essential to Internet security as many
security protocols and other applications require synchronization
Show full document text