Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2008 22:45:39 -0700
From:      "David Allen" <the.real.david.allen@gmail.com>
To:        "Fraser Tweedale" <frase@frase.id.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpd(8) - bind only to specified interfaces?
Message-ID:  <2daa8b4e0807092245t59b2ee12oe435bf5963086b08@mail.gmail.com>
In-Reply-To: <20080710044414.GA30072@bacardi>
References:  <20080710044414.GA30072@bacardi>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 9, 2008 at 9:44 PM, Fraser Tweedale <frase@frase.id.au> wrote:
> Having read the man page (also, ntp.conf(5)), it is not apparent that
> there is a way to tell it to bind only to a particular interface (or
> particular interfaces).  It would be nice if there is actually such a
> feature, so I figured I'd ask.

At the moment, no.  Your question could qualify as a FAQ, so it might
help in the future to check recent posts or the archives first.

> Definitely not a major problem is this isn't possible right now, but
> I figure if it's only going to be receiving NTP requests on one
> interface, it may as well not listen on the others.

The alternative is openntpd (available in ports).

Fairly straightforward to set up and use.  The caveats are
the provided rc script could use some work (see my recent
post with the subject of "rc scripts"), there's no logging (ibid),
using it may result in  occasional "calcru errors" (see my
recent post on that subject), and reading the overbrief
manpage requires remembering to run "man -M /usr/local ntpd".

I did say straightforward, right?   ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2daa8b4e0807092245t59b2ee12oe435bf5963086b08>