Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2007 11:56:11 +0100
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: using the date command
Message-ID:  <20071001105611.GA57718@catflap.slightlystrange.org>
In-Reply-To: <3819c7943773d7a921273159c79b0a2c@prodigy.net>
References:  <5e433b6210a52ae0220ae0a20d0353e1@prodigy.net> <1191124332.5997.21.camel@new-host> <46FF54E5.4020502@cran.org.uk> <6852662bd22e8de7aa12336ea1404a67@prodigy.net> <20071001021341.5719168b@gumby.homeunix.com.> <3819c7943773d7a921273159c79b0a2c@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 30, 2007 at 07:54:48PM -0700, jekillen wrote:
> >
> >The removal of ntpdate is something I'll believe in when it happens.
> >ntpd -q is a superior drop-in replace for ntpdate when it's being run
> >from cron. OTOH if you run ntpd -q in place of ntpdate at boot (before
> >starting ntpd), it adds about 15 seconds to the boot-time for no
> >significant benefit.

Heheh! The threats do seem somewhat hollow these days...

>=20
> Thanks for the info.
> So ntp, as I understand it, has to have time servers to reference, and=20
> of course
> the system has to be connected to the  public network to contact the=20
> time servers.
> Are there any security issues with ntp? Or, where can I find info on=20
> security issues
> related to ntp?
> Update on original question related to the use of date in FreeBSD; I=20
> finally brightened
> up and set the time in the bios.
> Jeff K

Provided you use sensible settings in your ntp.conf, you should come to no
harm using ntpd. Something like this works well for me:

driftfile /var/db/ntp.drift

restrict default ignore

restrict 127.0.0.1

server ip.ad.dre.ss
restrict ip.ad.dre.ss nomodify notrap nopeer noquery

restrict 10.37.125.0 mask 255.255.255.0 nomodify notrap


This config tells ntpd to use ip.ad.dre.ss as its synchronisation host,
and to restrict that host so that it cannot make any alterations to the
local machine's clock or to the state of the running ntpd. It also says
to allow hosts on my private network to synchronise against it, but=20
again, to prevent them from making any changes to the state of the nptd
on the server.

There are many more options that may or may not be interesting - check out
www.ntp.org for plenty of useful information about configuring ntpd and
selecting a suitable set of synchronisation servers.

Dan

--=20
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHANJKixf5fBYiFmoRAvRYAJ9nJQrtD7PBNjOh1UBWv3AoVqULjwCgnU2S
GHaeQYFCR6J1+LG6POIn2bE=
=zLpo
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071001105611.GA57718>