[chrony/f19] listen for commands only on localhost by default

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Jun 21 16:08:46 UTC 2013


commit 04c745b7d119320608b7aedd590b529a11b38fbc
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Jun 21 14:32:58 2013 +0200

    listen for commands only on localhost by default

 chrony.conf |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/chrony.conf b/chrony.conf
index f383e45..5f2d482 100644
--- a/chrony.conf
+++ b/chrony.conf
@@ -18,9 +18,13 @@ rtcsync
 # if the adjustment is larger than 100 seconds.
 makestep 100 3
 
-# Allow client access from local network.
+# Allow NTP client access from local network.
 #allow 192.168/16
 
+# Listen for commands only on localhost.
+bindcmdaddress 127.0.0.1
+bindcmdaddress ::1
+
 # Serve time even if not synchronized to any NTP server.
 #local stratum 10
 


More information about the scm-commits mailing list