~ubuntu-branches/ubuntu/lucid/ntp/lucid

« back to all changes in this revision

Viewing changes to debian/ntp.conf

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-02-25 19:36:36 UTC
  • Revision ID: james.westby@ubuntu.com-20080225193636-nrgs3sx4twsui2ut
Tags: 1:4.2.4p4+dfsg-3ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/ntp.conf, debian/ntpdate.default:
    - Change default server to ntp.ubuntu.com.
  - debian/rules:
    - Call update-rcd-params with multiuser instead defaults.
  - debian/control:
    - Set Ubuntu maintainer address.
    - Update version in conflicts/replaces to that which was shipped in
      edgy, which was later than that in Debian (due to the ubuntuX).
    - Add sysv-rc dependency.
  - debian/ntp-server.postinst:
    - Remove stop script symlinks from rc0 and rc6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# /etc/ntp.conf, configuration for ntpd
 
1
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
2
2
 
3
3
driftfile /var/lib/ntp/ntp.drift
4
4
 
 
5
 
5
6
# Enable this if you want statistics to be logged.
6
7
#statsdir /var/log/ntpstats/
7
8
 
14
15
# You do need to talk to an NTP server or two (or three).
15
16
server ntp.ubuntu.com
16
17
 
 
18
 
 
19
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
 
20
# details.  The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
 
21
# might also be helpful.
 
22
#
 
23
# Note that "restrict" applies to both servers and clients, so a configuration
 
24
# that might be intended to block requests from certain clients could also end
 
25
# up blocking replies from your own upstream servers.
 
26
 
17
27
# By default, exchange time with everybody, but don't allow configuration.
18
 
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
19
28
restrict -4 default kod notrap nomodify nopeer noquery
20
29
restrict -6 default kod notrap nomodify nopeer noquery
21
30
 
23
32
restrict 127.0.0.1
24
33
restrict ::1
25
34
 
26
 
# Clients from this (example!) subnet have unlimited access,
27
 
# but only if cryptographically authenticated
28
 
#restrict 192.168.123.0  mask  255.255.255.0 notrust
 
35
# Clients from this (example!) subnet have unlimited access, but only if
 
36
# cryptographically authenticated.
 
37
#restrict 192.168.123.0 mask 255.255.255.0 notrust
 
38
 
29
39
 
30
40
# If you want to provide time to your local subnet, change the next line.
31
41
# (Again, the address is an example only.)
32
42
#broadcast 192.168.123.255
33
43
 
34
 
# If you want to listen to time broadcasts on your local subnet,
35
 
# de-comment the next lines. Please do this only if you trust everybody
36
 
# on the network!
 
44
# If you want to listen to time broadcasts on your local subnet, de-comment the
 
45
# next lines.  Please do this only if you trust everybody on the network!
37
46
#disable auth
38
47
#broadcastclient