RFC 5905 - 网络时间协议版本4: 协议和算法规范
发布日期: 2010年6月
状态: 标准跟踪协议 (Standards Track)
废弃: RFC 1305, RFC 4330
作者: D. Mills (U. Delaware), J. Martin (ISC), J. Burbank, W. Kasch (JHU/APL)
摘要 (Abstract)
网络时间协议 (Network Time Protocol, NTP) 被广泛用于同步互联网中的计算机时钟. 本文档描述了NTP版本4 (NTPv4), 它向后兼容RFC 1305中描述的NTP版本3 (NTPv3) 以及该协议的早期版本. NTPv4包括一个修改后的协议头部以适应互联网协议版本6地址族. NTPv4在缓解和调控算法方面包含了基础性改进, 在现代工作站和快速局域网环境下将潜在精度扩展到数十微秒级别. 它包括一个动态服务器发现方案, 因此在许多情况下不需要特定的服务器配置. 它修正了NTPv3设计和实现中的某些错误, 并包含一个可选的扩展机制.
目录 (Table of Contents)
- 1. Introduction (简介)
- 1.1. Requirements Notation (需求表示法)
- 2. Modes of Operation (操作模式)
- 3. Protocol Modes (协议模式)
- 3.1. Dynamic Server Discovery (动态服务器发现)
- 4. Definitions (定义)
- 5. Implementation Model (实现模型)
- 6. Data Types (数据类型)
- 7. Data Structures (数据结构)
- 7.1. Structure Conventions (结构约定)
- 7.2. Global Parameters (全局参数)
- 7.3. Packet Header Variables (数据包头部变量)
- 7.4. The Kiss-o'-Death Packet (Kiss-o'-Death数据包)
- 7.5. NTP Extension Field Format (NTP扩展字段格式)
- 8. On-Wire Protocol (线上协议)
- 9. Peer Process (对等体处理)
- 9.1. Peer Process Variables (对等体处理变量)
- 9.2. Peer Process Operations (对等体处理操作)
- 10. Clock Filter Algorithm (时钟过滤算法)
- 11. System Process (系统处理)
- 11.1. System Process Variables (系统处理变量)
- 11.2. System Process Operations (系统处理操作)
- 11.2.1. Selection Algorithm (选择算法)
- 11.2.2. Cluster Algorithm (聚类算法)
- 11.2.3. Combine Algorithm (组合算法)
- 11.3. Clock Discipline Algorithm (时钟调控算法)
- 12. Clock-Adjust Process (时钟调整处理)
- 13. Poll Process (轮询处理)
- 13.1. Poll Process Variables (轮询处理变量)
- 13.2. Poll Process Operations (轮询处理操作)
- 14. Simple Network Time Protocol (SNTP) (简单网络时间协议)
- 15. Security Considerations (安全考虑)
- 16. IANA Considerations (IANA考虑)
- 17. Acknowledgements (致谢)
- 18. References (参考文献)
- 18.1. Normative References (规范性引用)
- 18.2. Informative References (信息性引用)
附录 (Appendices)
- Appendix A. Code Skeleton (代码骨架)
- A.1. Global Definitions (全局定义)
- A.1.1. Definitions, Constants, Parameters (定义、常量和参数)
- A.1.2. Packet Data Structures (数据包数据结构)
- A.1.3. Association Data Structures (关联数据结构)
- A.1.4. System Data Structures (系统数据结构)
- A.1.5. Local Clock Data Structures (本地时钟数据结构)
- A.1.6. Function Prototypes (函数原型)
- A.2. Main Program and Utility Routines (主程序和实用例程)
- A.3. Kernel Input/Output Interface (内核输入输出接口)
- A.4. Kernel System Clock Interface (内核系统时钟接口)
- A.5. Peer Process (对等体处理)
- A.5.1. receive() (接收函数)
- A.5.2. clock_filter() (时钟过滤函数)
- A.5.3. fast_xmit() (快速传输函数)
- A.5.4. access() (访问函数)
- A.5.5. System Process (系统处理)
- A.5.6. Clock Adjust Process (时钟调整处理)
- A.5.7. Poll Process (轮询处理)
- A.1. Global Definitions (全局定义)
相关资源 (Related Resources)
- 官方原文: RFC 5905
- 官方页面: RFC 5905 DataTracker
- 勘误表: RFC Editor Errata
- 相关RFC: RFC 5906 (Autokey)