[2359] | 1 | # For more information about this file, see the man pages |
---|
| 2 | # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5). |
---|
| 3 | |
---|
| 4 | driftfile /var/lib/ntp/drift |
---|
| 5 | |
---|
| 6 | # Permit time synchronization with our time source, but do not |
---|
| 7 | # permit the source to query or modify the service on this system. |
---|
[39] | 8 | restrict default kod nomodify notrap nopeer noquery |
---|
[2359] | 9 | restrict -6 default kod nomodify notrap nopeer noquery |
---|
| 10 | |
---|
| 11 | # Permit all access over the loopback interface. This could |
---|
| 12 | # be tightened as well, but to do so would effect some of |
---|
| 13 | # the administrative functions. |
---|
| 14 | restrict 127.0.0.1 |
---|
| 15 | restrict -6 ::1 |
---|
| 16 | |
---|
| 17 | # Hosts on local network are less restricted. |
---|
| 18 | #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap |
---|
| 19 | |
---|
| 20 | # Use public servers from the pool.ntp.org project. |
---|
| 21 | # Please consider joining the pool (http://www.pool.ntp.org/join.html). |
---|
| 22 | #server 0.fedora.pool.ntp.org iburst |
---|
| 23 | #server 1.fedora.pool.ntp.org iburst |
---|
| 24 | #server 2.fedora.pool.ntp.org iburst |
---|
| 25 | #server 3.fedora.pool.ntp.org iburst |
---|
| 26 | |
---|
[39] | 27 | server time.mit.edu |
---|
[607] | 28 | server tick.mit.edu |
---|
[2359] | 29 | |
---|
| 30 | #broadcast 192.168.1.255 autokey # broadcast server |
---|
| 31 | #broadcastclient # broadcast client |
---|
| 32 | #broadcast 224.0.1.1 autokey # multicast server |
---|
| 33 | #multicastclient 224.0.1.1 # multicast client |
---|
| 34 | #manycastserver 239.255.254.254 # manycast server |
---|
| 35 | #manycastclient 239.255.254.254 autokey # manycast client |
---|
| 36 | |
---|
| 37 | # Enable public key cryptography. |
---|
| 38 | #crypto |
---|
| 39 | |
---|
| 40 | includefile /etc/ntp/crypto/pw |
---|
| 41 | |
---|
| 42 | # Key file containing the keys and key identifiers used when operating |
---|
| 43 | # with symmetric key cryptography. |
---|
[39] | 44 | keys /etc/ntp/keys |
---|
[2359] | 45 | |
---|
| 46 | # Specify the key identifiers which are trusted. |
---|
| 47 | #trustedkey 4 8 42 |
---|
| 48 | |
---|
| 49 | # Specify the key identifier to use with the ntpdc utility. |
---|
| 50 | #requestkey 8 |
---|
| 51 | |
---|
| 52 | # Specify the key identifier to use with the ntpq utility. |
---|
| 53 | #controlkey 8 |
---|
| 54 | |
---|
| 55 | # Enable writing of statistics records. |
---|
| 56 | #statistics clockstats cryptostats loopstats peerstats |
---|