NTP (Network Time Protocol) 是网络系统中用来协同时间的关键服务,它的作用就是用来同步时间
前不久网络中暴出NTP的漏洞可以被利用,详情可以参看 针对网络时间协议(NTP)的攻击将会引起巨大的麻烦 (原文) 还有 官方申明
这里描述如何对ntp进行升级,详细可以参考 官方文档
Tip: 当前版本 NTP 4.2.8p4
[root@h101 tmp]# wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz
--2015-11-09 17:40:04-- http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz
Resolving www.eecis.udel.edu... 128.4.31.8
Connecting to www.eecis.udel.edu|128.4.31.8|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz [following]
--2015-11-09 17:40:05-- https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz
Connecting to www.eecis.udel.edu|128.4.31.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7104852 (6.8M) [application/x-gzip]
Saving to: “ntp-4.2.8p4.tar.gz”
100%[============================================================================================>] 7,104,852 244K/s in 31s
2015-11-09 17:40:38 (227 KB/s) - “ntp-4.2.8p4.tar.gz” saved [7104852/7104852]
[root@h101 tmp]#
对下载包进行校验
[root@h101 tmp]# wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz.md5
--2015-11-09 17:41:56-- http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz.md5
Resolving www.eecis.udel.edu... 128.4.31.8
Connecting to www.eecis.udel.edu|128.4.31.8|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz.md5 [following]
--2015-11-09 17:41:57-- https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p4.tar.gz.md5
Connecting to www.eecis.udel.edu|128.4.31.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53 [application/x-gzip]
Saving to: “ntp-4.2.8p4.tar.gz.md5”
100%[============================================================================================>] 53 --.-K/s in 0s
2015-11-09 17:41:59 (4.39 MB/s) - “ntp-4.2.8p4.tar.gz.md5” saved [53/53]
[root@h101 tmp]# file ntp-4.2.8p4.tar.gz.md5
ntp-4.2.8p4.tar.gz.md5: ASCII text
[root@h101 tmp]# cat ntp-4.2.8p4.tar.gz.md5
6af96862b09324a8ef965ca76b759c8b ntp-4.2.8p4.tar.gz
[root@h101 tmp]# md5sum ntp-4.2.8p4.tar.gz
6af96862b09324a8ef965ca76b759c8b ntp-4.2.8p4.tar.gz
[root@h101 tmp]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有