apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: /dev/urandom vs /dev/random [was Re: 2.0.36 hangs on linux on startup]
Date Mon, 27 May 2002 17:18:53 GMT
Cliff Woolley wrote:
> On Mon, 27 May 2002, Ben Laurie wrote:
> 
> 
>>Hmmm. Well, IMO it should be configurable at runtime, especially since
>>some other OSes have yet more sources of entropy (/dev/arandom for
>>example).
> 
> 
> Oh good, that matches the patch I've been working on.  I'll post it in a
> little while.  PS: is /dev/arandom common enough for us to add it to the
> list of devices we search for automatically without having to specify
> --with-devrandom=<device> [that's a new configure flag my patch will add,
> btw]?  If so, how should the search be ordered?
> 
> /dev/random
> /dev/arandom
> /dev/urandom

I believe this is correct (however, I believe if you have /dev/arandom 
you are sure to have /dev/random, so...)

Cheers,

Ben.

-- 
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff


Mime
View raw message