Ignore:
Timestamp:
Jan 14, 2013, 12:18:09 AM (11 years ago)
Author:
andersk
Message:
/etc/ntp.conf: Refresh from Fedora 17

This enables queries on ::1, fixing ntpq.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/ntp.conf

    r607 r2359  
     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
     4driftfile /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.
    18restrict default kod nomodify notrap nopeer noquery
    2 restrict 127.0.0.1
     9restrict -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.
     14restrict 127.0.0.1
     15restrict -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
    327server time.mit.edu
    428server tick.mit.edu
    5 server  127.127.1.0
    6 fudge   127.127.1.0 stratum 10
    7 driftfile /var/lib/ntp/drift
     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
     40includefile /etc/ntp/crypto/pw
     41
     42# Key file containing the keys and key identifiers used when operating
     43# with symmetric key cryptography.
    844keys /etc/ntp/keys
     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
Note: See TracChangeset for help on using the changeset viewer.