From owner-freebsd-questions@FreeBSD.ORG Wed Mar 10 07:38:12 2004 Return-Path: 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 24CB616A4CE for ; Wed, 10 Mar 2004 07:38:12 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B2843D31 for ; Wed, 10 Mar 2004 07:38:11 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: I9Z+elSDjMPVdVdRNs9mHQ 1078932613 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id B2D2C6F5DCD; Wed, 10 Mar 2004 10:30:12 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1B15ea-0000HM-00; Wed, 10 Mar 2004 09:29:52 -0600 Date: Wed, 10 Mar 2004 09:29:52 -0600 From: Nathan Kinkade To: "Shaun T. Erickson" Message-ID: <20040310152952.GE760@nkinkade.bmp.ub> Mail-Followup-To: "Shaun T. Erickson" , freebsd-questions@freebsd.org References: <404E9061.3050805@ste-land.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u65IjBhB3TIa72Vp" Content-Disposition: inline In-Reply-To: <404E9061.3050805@ste-land.com> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: freebsd-questions@freebsd.org Subject: Re: ntpd question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 15:38:12 -0000 --u65IjBhB3TIa72Vp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2004 at 10:49:53PM -0500, Shaun T. Erickson wrote: > I run ntpd to keep my server's time in sync with a remote server. In my= =20 > "netstat -a" output, I see: >=20 > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address (state) > udp4 0 0 localhost.ntp *.* > udp4 0 0 peter.ntp *.* > udp4 0 0 *.ntp *.* >=20 > I'm not running an ntp server, and would like these entries to go away.= =20 > I've looked at the ntpd man page and haven't been able to find any=20 > option to tell it not to attach to ports. How can I do this? TIA. >=20 > -ste You could run ntpd with the -q option, which should cause ntpd to run, update the clock and then exit. The ports will still be open during the time in which ntpd is running, which will likely only be a minute or two. This doesn't necessarily solve your issue, but it will allow for you to update your clock regularly and not have the ports open full time. I run ntpd through a cron job that is set to run once a day, at a time when Internet traffic is likely to be low. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --u65IjBhB3TIa72Vp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFATzRwO0ZIEthSfkkRAnvkAJ0eUbTo5HRDcczF29v0ZdNYIgnlOwCgpn9b gXILT2Li7+vpY6FbJG5CaZo= =zFnK -----END PGP SIGNATURE----- --u65IjBhB3TIa72Vp--