Initial commit.
This commit is contained in:
commit
3d665e5e11
72 changed files with 3200 additions and 0 deletions
34
base-files/ntp.conf
Normal file
34
base-files/ntp.conf
Normal file
|
@ -0,0 +1,34 @@
|
|||
# NTP servers to sync to.
|
||||
server 0.pool.ntp.org iburst
|
||||
server 1.pool.ntp.org iburst
|
||||
server 2.pool.ntp.org iburst
|
||||
server 3.pool.ntp.org iburst
|
||||
|
||||
# Sync to local clock if no servers are available.
|
||||
server 127.127.1.0
|
||||
fudge 127.127.1.0 stratum 10
|
||||
|
||||
# By default, restrict access to the service.
|
||||
restrict -4 default limited nomodify noquery nopeer notrap kod
|
||||
restrict -6 default limited nomodify noquery nopeer notrap kod
|
||||
|
||||
# Allow localhost to query the service, but nothing else.
|
||||
restrict -4 127.0.0.1 limited nomodify nopeer notrap kod
|
||||
restrict -6 ::1 limited nomodify nopeer notrap kod
|
||||
|
||||
# Allow local networks to sync with us.
|
||||
# Edit the network address and mask below, and uncomment.
|
||||
# restrict 192.168.1.0 mask 255.255.255.0 limited nomodify nopeer notrap kod
|
||||
|
||||
# Where to store the drift calculation.
|
||||
driftfile /var/lib/ntp/drift
|
||||
|
||||
# Stats should be written here.
|
||||
statsdir /var/lib/ntp/stats
|
||||
|
||||
# PID file location.
|
||||
pidfile /var/run/ntpd.pid
|
||||
|
||||
# Disable the ntpdc -c monlist command, which is insecure and can be used
|
||||
# to cause a denial of service attack (CVE-2013-5211).
|
||||
disable monitor
|
Loading…
Add table
Add a link
Reference in a new issue