|Re: [chrony-users] Run chrony without acting as a NTP server|
[ Thread Index |
| More chrony.tuxfamily.org/chrony-users Archives
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Run chrony without acting as a NTP server
- From: wilhelm schuster <wilhelm.schuster.95@xxxxxxxxx>
- Date: Thu, 9 Jan 2014 18:25:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uptyD7uDYwpx9pYEJa3mC7Po4k40GD2sqxCE4sQ0gWY=; b=AhquA1zMam7lTDQDuAbpHwM86OzDXgFHh0FDtFgUoDLWuKc/UfrFy+RaX0zn+8bISn cFK3GUCt0mW3NzZrRioP3ktPbaXzgWdyNz4PDzjrPI5eNdYwZBrY6vFk1uFVLnSWRCrz i5CbygHs+YNf6vkyrjkpbuOpuwn54gof61IdfIVl9flZDNq6yFqykdveYXJs6r0PLlLn 7JwRwAzLXkLcdNpbC9kVOERqZfV5F8iZZRgcWznmUWgbCnYxLAm9sUU7aoOPQ54SdzWC fqhxYhfKNrxbej1m2oC3TeGomNaTtY8eC45DKpz3sWkDKsQqpBCeG7jtAjOjNV+w7DS9 vMBQ==
On Thu, Jan 9, 2014 at 10:43 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> Yes, you can get a "client only" mode by letting the kernel assign the
> local NTP port randomly. I think that's what openntpd does. Also, the
> cmdmon port (323) doesn't need to be open to outside. In the config
> file that would be:
> port 0
> bindcmdaddress 127.0.0.1
> bindcmdaddress ::1
> On Thu, Jan 9, 2014 at 11:07 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> On Thu, Jan 09, 2014 at 10:43:16AM +0100, Miroslav Lichvar wrote:
> > Yes, you can get a "client only" mode by letting the kernel assign the
> > local NTP port randomly. I think that's what openntpd does.
> It seems openntpd actually uses a separate connected socket for each
> server. That's different from chronyd, which uses only one socket per
> address family and receives packets from any address.
openntpd is different from chrony in that, if you don't specify a
"listen"-clause in the config file, it will not *listen* on any port,
but it will connect to other ntp servers to get the time. So it just
works as a ntp client, much like "ntpdate" or "ntp -q". The reason,
why I'd rather want to have a ntp daemon running instead of a
periodical update (per cronjob), is that I read a post on the
developer blog some time ago, that discouraged the use of cronjobs,
because that creates unwanted (periodic) peaks in time syncs on
Sincerely, Wilhelm Schuster.
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.