]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- allow ntpq -p to work by default from localhost
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 25 Jan 2010 08:32:01 +0000 (08:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntp.conf -> 1.10
    ntp.spec -> 1.121

ntp.conf
ntp.spec

index 5514df572543086f284fcbaadcb83f0f441a30f7..c41b3f7213fa00dc62c07ac5d9d5986f684ba774 100644 (file)
--- a/ntp.conf
+++ b/ntp.conf
@@ -6,6 +6,9 @@
 #
 restrict default kod nomodify notrap nopeer noquery
 
+# localhost access
+restrict 127.0.0.1
+
 # restrict     default         ignore
 # restrict     ntp.nasa.gov    noquery noserve
 # restrict     clock.isc.org   noquery noserve
index 09b47914b103da893278f8c7fca5cda2e551d267..1791517a9a0f4733eecee9c8c3da0f1fb5b5ee5d 100644 (file)
--- a/ntp.spec
+++ b/ntp.spec
@@ -1,12 +1,10 @@
-# TODO
-# - ntpd default config is too restrictive (ntpq -p should work locally)
 %include       /usr/lib/rpm/macros.perl
 Summary:       Network Time Protocol utilities
 Summary(pl.UTF-8):     Narzędzia do synchronizacji czasu (Network Time Protocol)
 Summary(pt_BR.UTF-8):  Network Time Protocol versão 4
 Name:          ntp
 Version:       4.2.4p8
-Release:       3.5
+Release:       3.6
 License:       distributable
 Group:         Daemons
 Source0:       http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
This page took 0.058167 seconds and 4 git commands to generate.