NTP DOS及多处漏洞
#https://help.aliyun.com/knowledge_detail/47894.html?spm=5176.2020520154.sas.13.d1FbH9
#centos6
yum install gcc gcc-c++
wget http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p9.tar.gz
./configure --enable-all-clocks --enable-clockctl --enable-parse-clocks --enable-solarisprivs
make && make install
#不注释restart报错
sed -i "s/OPTIONS/\#OPTIONS/" /etc/sysconfig/ntpd
service ntpd stop
\cp -a /usr/local/bin/ntpd /usr/sbin/ntpd
service ntpd start
\cp -a /usr/local/bin/ntpdate /usr/sbin/ntpdate
\cp -a /usr/local/bin/ntpdc /usr/sbin/ntpdc
\cp -a /usr/local/bin/ntpq /usr/sbin/ntpq
ntpd --version
ntpd 4.2.8p9@1.3265-o Fri Dec 2 07:05:42 UTC 2016 (1)
ntpq -c version
ntpq 4.2.8p9@1.3265-o Fri Dec 2 07:16:50 UTC 2016 (2)
Link:
http://www.ccert.edu.cn/archives/148