基于消息摘要加密的网络时间协议安全时间同步方法研究 |
| |
引用本文: | 陈曦,臧文驰,马明,龚航,孙广富. 基于消息摘要加密的网络时间协议安全时间同步方法研究[J]. 全球定位系统, 2021, 46(5): 84-91. DOI: 10.12265/j.gnss.2021072701 |
| |
作者姓名: | 陈曦 臧文驰 马明 龚航 孙广富 |
| |
作者单位: | 国防科技大学电子科学学院,长沙410073 |
| |
基金项目: | 国家部委资助项目(2019-JCJQ-JJ-190) |
| |
摘 要: | 目前,以网络时间协议(NTP)为主要的时间协议应用于有线网络中的时间同步,其在广域网中可以实现十几毫秒、局域网中实现几毫秒的同步精度. 然而,由于协议的开放性,其在无安全防护的情况下极易受到网络攻击,这给需要高安全的客户带来潜在的风险. NTP可以增加安全策略来应对可能的安全风险,将消息摘要(MD)中的MD5和安全散列算法(SHA)中的SHA-1引入NTP算法,有效地验证了数据完整性,防止数据包被篡改,以保证时间同步的安全性. 进一步,针对这两类算法提出对NTP包关键数据帧Hash加密,在保持良好同步精度的同时可进一步提高时间同步的安全性. 通过实验对比了MD5和SHA-1算法加入所带来同步效果的影响. 结果表明:在MD5和SHA-1算法加入后,NTP依然能保持毫秒级的同步性能,这对于实现NTP安全时间同步方法具有重要意义.
|
关 键 词: | 消息摘要(MD) 时间戳 网络时间协议(NTP) 时差 时延 防篡改 |
收稿时间: | 2021-07-27 |
Research on secure NTP method based on message digest encryption |
| |
Affiliation: | College of Electronic Science and Technology, National University of Defense Technology, Changsha 410073, China |
| |
Abstract: | At present, the network time protocol (NTP) is the main time protocol used for time synchronization in wired networks. It can achieve a synchronization accuracy of more than ten milliseconds in wide area networks and a few milliseconds in local area networks. However, due to the openness of the protocol, there is no security protection. Under the circumstances, it is extremely vulnerable to network attacks, which brings potential risks to customers who need high security. The NTP protocol can increase security strategies to deal with possible security risks. The message digest algorithm 5 (MD5) and the secure hash algorithm (SHA-1) message digest algorithm is introduced into the NTP protocol algorithm, which is effective to verify data integrity and prevent data packets from being tampered with to ensure the security of time synchronization. Further, for these two types of algorithms, Hash encryption of key data frames of NTP packets is proposed, which can further improve the security of time synchronization while maintaining good synchronization accuracy. Experiments have compared the influence of the synchronization effect brought by the addition of the algorithm. The results show that after the message digest algorithm is added, NTP can still maintain millisecond-level synchronization performance, which is of great significance to the realization of the NTP secure time synchronization method. |
| |
Keywords: | |
本文献已被 万方数据 等数据库收录! |
| 点击此处可从《全球定位系统》浏览原始摘要信息 |
|
点击此处可从《全球定位系统》下载免费的PDF全文 |
|