From owner-freebsd-stable@FreeBSD.ORG Mon Jul 23 14:10:18 2007 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC8BF16A420 for ; Mon, 23 Jul 2007 14:10:18 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2001:1b20:1:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 12C4E13C46E for ; Mon, 23 Jul 2007 14:10:17 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (mlifor@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l6NEA6cR034749 for ; Mon, 23 Jul 2007 16:10:16 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l6NEA6Do034748; Mon, 23 Jul 2007 16:10:06 +0200 (CEST) (envelope-from olli) Date: Mon, 23 Jul 2007 16:10:06 +0200 (CEST) Message-Id: <200707231410.l6NEA6Do034748@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <46A453A4.90008@gmx.de> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 23 Jul 2007 16:10:16 +0200 (CEST) Cc: Subject: Re: ntpd just sits there and does nothing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 14:10:18 -0000 [LoN]Kamikaze wrote: > My original intention was just to say that openntpd works just out of the box, > while ntpd doesn't. That's just plain wrong. ntpd _does_ work out of the box (unless your configuration is broken), and it seems to be more accurate than openntpd. Demanding to replace ntpd with openntpd in the FreeBSD base system because you cannot get the configuration right is ridiculous. > > ntp.conf > > server 0.de.pool.ntp.org minpoll 4 maxpoll 8 > server 1.de.pool.ntp.org minpoll 4 maxpoll 8 > server 2.de.pool.ntp.org minpoll 4 maxpoll 8 > server ntp1.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 > server ntp2.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 > server ntp3.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 > server ntp4.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 > > restrict default ignore > restrict 127.0.0.1 You need to add proper restrict lines for the servers, of course. Basically you have configured ntpd to ignore all servers. Also, putting "minpoll 4 maxpoll 8" on all servers is somewhat suboptimal and puts an unnecessary burden on the servers and networks without reason. I recommend to use low polling intervals and the iburst option for one or two local servers only (e.g. for NTP servers located in your direct upstream or at your ISP), and higher polling intervals for other public servers. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Software gets slower faster than hardware gets faster." -- Niklaus Wirth