From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 05:45:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088CC1065675 for ; Thu, 10 Jul 2008 05:45:46 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id AF1B48FC16 for ; Thu, 10 Jul 2008 05:45:45 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1354867ywe.13 for ; Wed, 09 Jul 2008 22:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WzL6zkVEImgOZdRK99DS1W7wzXJKZVi6rDfqFh73JBo=; b=ZyizLvG6PJkdgEno13Shqg1fo5jc4Vka79E5gPALePjSt90KVrfLPwdrCB+dfTrErp 9nVcMKkDHj1iiUCT48h2eVFeyFLmv94y6N1eSYFdRreZD4uVBNxKGQamDzXsPK0O6edN ncK+eAUK2RMrlMH31xVpjrxdmpyc0uvo5+TC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PCovYiFYY9uVRGv8+IoZJifzkg5NHlX53XNR0XOi4Y7h14MUece25UibBVL5KccB4i zOk2NICoAi0OaSoVHvmZMXhZF13RH/VQts4lWvoTNTfL/RNzCh9yEE4LkoYI5rvU/2zI KPvM9QKU+zJFFw5PdI1amJebZMiXBRIlJ1OKs= Received: by 10.150.49.1 with SMTP id w1mr13894864ybw.4.1215668739128; Wed, 09 Jul 2008 22:45:39 -0700 (PDT) Received: by 10.151.111.10 with HTTP; Wed, 9 Jul 2008 22:45:39 -0700 (PDT) Message-ID: <2daa8b4e0807092245t59b2ee12oe435bf5963086b08@mail.gmail.com> Date: Wed, 9 Jul 2008 22:45:39 -0700 From: "David Allen" To: "Fraser Tweedale" In-Reply-To: <20080710044414.GA30072@bacardi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080710044414.GA30072@bacardi> Cc: freebsd-questions@freebsd.org Subject: Re: ntpd(8) - bind only to specified interfaces? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 05:45:46 -0000 On Wed, Jul 9, 2008 at 9:44 PM, Fraser Tweedale 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? ;-)