博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ntpd配置
阅读量:7238 次
发布时间:2019-06-29

本文共 2112 字,大约阅读时间需要 7 分钟。

# For more information about this file, see the man pages# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).driftfile /var/lib/ntp/drift# Permit time synchronization with our time source, but do not# permit the source to query or modify the service on this system.restrict default nomodify notrap nopeer noquery# Permit all access over the loopback interface.  This could# be tightened as well, but to do so would effect some of# the administrative functions.restrict 127.0.0.1 restrict ::1# Hosts on local network are less restricted.#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap# Use public servers from the pool.ntp.org project.# Please consider joining the pool (http://www.pool.ntp.org/join.html).# server 0.centos.pool.ntp.org iburst# server 1.centos.pool.ntp.org iburst# server 2.centos.pool.ntp.org iburst# server 3.centos.pool.ntp.org iburstserver ntpupdate.tencentyun.com server 127.127.1.0 fudge 127.127.1.0 stratum 10#broadcast 192.168.1.255 autokey    # broadcast server#broadcastclient            # broadcast client#broadcast 224.0.1.1 autokey        # multicast server#multicastclient 224.0.1.1        # multicast client#manycastserver 239.255.254.254        # manycast server#manycastclient 239.255.254.254 autokey # manycast client# Enable public key cryptography.#cryptoincludefile /etc/ntp/crypto/pw# Key file containing the keys and key identifiers used when operating# with symmetric key cryptography. keys /etc/ntp/keys# Specify the key identifiers which are trusted.#trustedkey 4 8 42# Specify the key identifier to use with the ntpdc utility.#requestkey 8# Specify the key identifier to use with the ntpq utility.#controlkey 8# Enable writing of statistics records.#statistics clockstats cryptostats loopstats peerstats# Disable the monitoring facility to prevent amplification attacks using ntpdc# monlist command when default restrict does not include the noquery flag. See# CVE-2013-5211 for more details.# Note: Monitoring will not be disabled with the limited restriction flag.disable monitor

 

转载于:https://www.cnblogs.com/itpoorman/p/8777431.html

你可能感兴趣的文章
最新图解 如何提升phpstudy中的mysql版本
查看>>
华山论剑之iOS&tableView的双剑合璧
查看>>
4K超清,2500万人在线,猫晚直播技术全解读
查看>>
服务器运维基础指南
查看>>
NginX+keepalived实现高可用
查看>>
linux文件管理类命令汇总(用法与选项)
查看>>
LR 打不开IE的解决方法
查看>>
VMware ESXi 5 whitebox NIC support
查看>>
如何使用单机单网卡实现公司内、外网访问
查看>>
java 设计模式 学习笔记(四)工厂模式
查看>>
初探oVirt-清理ovirt环境
查看>>
rabbitMQ日常管理(转)
查看>>
SEO的作用是什么?为什么要学习SEO?
查看>>
记录历史命令,history,命令补全和别名、通配符、输入输出重定向
查看>>
java.sql.SQLException: No more data to read from socket
查看>>
我的友情链接
查看>>
对于IE6、IE7、Firefox兼容性的一些观点
查看>>
思科网络技术
查看>>
VS2010 生成Xml格式的注释文档
查看>>
【Linux】Linux操作系统期末复习笔记
查看>>