Gentoo Archives: gentoo-hardened

From: Robert Connolly <robert@××××××××××××××××.org>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] ssp random bytes solution
Date: Thu, 22 Apr 2004 03:43:30
Message-Id: 200404212347.52006.robert@linuxfromscratch.org
In Reply to: Re: [gentoo-hardened] ssp random bytes solution by Robert Connolly
1 There is also another way. This:
2 ftp://riemann.iam.uni-bonn.de/pub/users/roessler/arc4random.tgz
3 could be modified to use random_erandom and fallback to urandom and include
4 gettimeofday. Even without {e,u}random it produces fairly random numbers that
5 won't repeat. The source can be prepended to ssp.c, and arc4random() would be
6 available in libc after. Then __guard = arc4random(). Its a bit more bloat,
7 but its usefull bloat. Ssp or mkstemp can use arc4random() without caring if
8 its comming from sysctl, urandom or gettimeofday.
9
10
11 --
12 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] ssp random bytes solution Alexander Gabert <pappy@g.o>