Date: Wed, 10 Mar 2004 09:29:52 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: "Shaun T. Erickson" <ste@ste-land.com> Cc: freebsd-questions@freebsd.org Subject: Re: ntpd question Message-ID: <20040310152952.GE760@nkinkade.bmp.ub> In-Reply-To: <404E9061.3050805@ste-land.com> References: <404E9061.3050805@ste-land.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040310152952.GE760>