diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-06 08:08:54 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-06 08:08:54 (GMT) |
commit | bf21b389e5f4e90aa8d16f953fafc04d53b729fe (patch) | |
tree | 6bb8154fffb0a9494e5327f0374bcb7f0fb9e7f2 /abs/core/ntp/ntp.conf | |
parent | 965b69db0623e1b510715bfa8ba081d857437e21 (diff) | |
download | linhes_pkgbuild-bf21b389e5f4e90aa8d16f953fafc04d53b729fe.zip linhes_pkgbuild-bf21b389e5f4e90aa8d16f953fafc04d53b729fe.tar.gz linhes_pkgbuild-bf21b389e5f4e90aa8d16f953fafc04d53b729fe.tar.bz2 |
ntp:bumped to latest.
Diffstat (limited to 'abs/core/ntp/ntp.conf')
-rwxr-xr-x | abs/core/ntp/ntp.conf | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/abs/core/ntp/ntp.conf b/abs/core/ntp/ntp.conf index 93fc919..7f888e4 100755 --- a/abs/core/ntp/ntp.conf +++ b/abs/core/ntp/ntp.conf @@ -19,24 +19,24 @@ server pool.ntp.org # netselect -s 3 pool.ntp.org ## -# you should not need to modify the following paths -driftfile /var/lib/ntp/ntp.drift - #server ntplocal.example.com prefer #server timeserver.example.org # Warning: Using default NTP settings will leave your NTP # server accessible to all hosts on the Internet. -# If you want to deny all machines (including your own) -# from accessing the NTP server, uncomment: +# A default deny all (including localhost) policy +# To use this define restrictions for all servers and clients #restrict default ignore +#restrict -6 default ignore - -# To deny other machines from changing the -# configuration but allow localhost: +# A more open policy, allow access but deny changing the configuration restrict default nomodify nopeer +#restrict -6 default nomodify nopeer + +# Allow localhost restrict 127.0.0.1 +#restrict -6 ::1 # To allow machines within your network to synchronize @@ -45,3 +45,8 @@ restrict 127.0.0.1 # to synchronize against, uncomment this line. # #restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap + + +# you should not need to modify the following paths +driftfile /var/lib/ntp/ntp.drift + |