From owner-freebsd-questions@FreeBSD.ORG Wed Oct 18 08:25:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6F2A16A4DA for ; Wed, 18 Oct 2006 08:25:40 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id D11F843D5D for ; Wed, 18 Oct 2006 08:25:36 +0000 (GMT) (envelope-from zbyszek@szalbot.homedns.org) Received: from [127.0.0.1] (helo=localhost) by lists.lc-words.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ga6jx-00023V-2U; Wed, 18 Oct 2006 10:25:29 +0200 Date: Wed, 18 Oct 2006 10:25:29 +0200 (CEST) From: Zbigniew Szalbot X-X-Sender: zbyszek@192.168.11.51 To: Matthew Seaman In-Reply-To: <4535C0EB.8000700@infracaninophile.co.uk> Message-ID: <20061018102336.K7827@192.168.11.51> References: <20061018000853.O49453@192.168.11.51> <4535C0EB.8000700@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: ntpd not adjusting the clock? 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: Wed, 18 Oct 2006 08:25:41 -0000 Hello, On Wed, 18 Oct 2006, Matthew Seaman wrote: >>> restrict default ignore >>> driftfile /var/db/ntp.drift > That means that anyone can connect to your NTP daemon and poll it for time > service or use ntpdc to muck around with your configuration. It's better > to use at minimum: > > restrict default nopeer nomodify > restrict localhost I did that - thank you. That was my purpose in using restrict but I must have misunderstood the handbook in that respect. Anyway, I restarted ntpd and as of now the 40 second differance is down to about 10 seconds so it is working. Thank you very much! -- Zbigniew Szalbot