Realisations/2010-2011/Projet/Core2/Documentation/NTP: ntp.conf.public

File ntp.conf.public, 1.8 KB (added by teste, 14 years ago)
Line 
1# Permit time synchronization with our time source, but do not
2# permit the source to query or modify the service on this system.
3restrict default kod nomodify notrap nopeer
4#restrict -6 default kod nomodify notrap nopeer
5
6# Permit all access over the loopback interface.  This could
7# be tightened as well, but to do so would effect some of
8# the administrative functions.
9restrict 127.0.0.1
10restrict -6 ::1
11
12# Hosts on local network are less restricted.
13#restrict 10.30.2.0 mask 255.255.255.0 nomodify notrap
14
15# Use public servers from the pool.ntp.org project.
16# Please consider joining the pool (http://www.pool.ntp.org/join.html).
17#server 0.centos.pool.ntp.org
18#server 1.centos.pool.ntp.org
19#server 2.centos.pool.ntp.org
20server ntp.corporate.core2.co.uk
21
22#broadcast 192.168.1.255 key 42         # broadcast server
23#broadcastclient                        # broadcast client
24#broadcast 224.0.1.1 key 42             # multicast server
25#multicastclient 224.0.1.1              # multicast client
26#manycastserver 239.255.254.254         # manycast server
27#manycastclient 239.255.254.254 key 42  # manycast client
28
29# Undisciplined Local Clock. This is a fake driver intended for backup
30# and when no outside source of synchronized time is available.
31#server 127.127.1.0     # local clock
32#fudge  127.127.1.0 stratum 10 
33
34# Drift file.  Put this in a directory which the daemon can write to.
35# No symbolic links allowed, either, since the daemon updates the file
36# by creating a temporary in the same directory and then rename()'ing
37# it to the file.
38driftfile /var/lib/ntp/drift
39
40# Key file containing the keys and key identifiers used when operating
41# with symmetric key cryptography.
42keys /etc/ntp/keys
43
44# Specify the key identifiers which are trusted.
45#trustedkey 4 8 42
46
47# Specify the key identifier to use with the ntpdc utility.
48#requestkey 8
49
50# Specify the key identifier to use with the ntpq utility.
51#controlkey 8