Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 20:19:12 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        src-committers@FreeBSD.org, "Andrey A. Chernov" <ache@FreeBSD.org>, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, freebsd-security@FreeBSD.org, Colin Percival <cperciva@freebsd.org>
Subject:   Re: cvs commit: src/games/fortune/fortune fortune.c
Message-ID:  <20050724181912.GO46538@darkness.comp.waw.pl>
In-Reply-To: <64009.1122213962@phk.freebsd.dk>
References:  <20050724135738.GM46538@darkness.comp.waw.pl> <64009.1122213962@phk.freebsd.dk>

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

--KooJrfvDkviRNGvv
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 24, 2005 at 04:06:02PM +0200, Poul-Henning Kamp wrote:
+> In message <20050724135738.GM46538@darkness.comp.waw.pl>, Pawel Jakub Da=
widek writes:
+>=20
+> >We should probably test entropy quality on boot.
+> >I've somewhere userland version of /sys/dev/rndtest/ which implements
+> >FIPS140-2 tests for (P)RNGs. We can use put it into rc.d/ and warn user=
s.
+>=20
+> We also need to put code into exec(2) to verify that the binary we're ab=
out
+> to execute does not suffer from Turings halting problem (ie: contains no
+> endless loops)=20
+>=20
+> We might as well inspect for buffer overflows at the same time.
+>=20
+> Anyway, back in this universe:  We should not stick a lot of stuff into
+> our boot-time scripts, they are slow enough already.

I think such a tool will be still useful (even if not turned on by default),
so one can turn it on when thinks it's needed:
- on production machines,
- on first start of rc.d/sshd (when you host keys are generated),
- when you need to check if PRNG is the thing which makes your fortune
  not to work properly (or instrument the user how to do it easly).
etc.

We (FreeBSD) did a lot of work to have really good PRNG, so its sucks
when it just doesn't work.

PS. CCing freebsd-security@.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--KooJrfvDkviRNGvv
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFC49ugForvXbEpPzQRAuA3AKDSdLbn/1r1OTLqK2SBImZAgUX/yQCdHHuE
y683EjdBYjoc4QhQhvID/8g=
=5f5C
-----END PGP SIGNATURE-----

--KooJrfvDkviRNGvv--



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