[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: you won't believe this.

From: Bruce A. Mah <bmah_at_packetdesign.com>
Date: 2003-04-14 22:16:11 CEST

If memory serves me right, Ben Collins-Sussman wrote:
> Eric Hanchrow <offby1@blarg.net> writes:
>
> > >>>>> "Ben" == Ben Collins-Sussman <sussman@collab.net> writes:
> >
> > Ben> I have a new theory: svn_repos_create() needs to generate a
> > Ben> UUID, which calls apr_generate_random_bytes(), which depends
> > Ben> on /dev/random, which *blocks* when it determines there isn't
> > Ben> enough system entropy.
> >
> > Really dumb question time: does FreeBSD have some equivalent of
> > Linux's non-blocking rng?
>
> Sure. /dev/urandom.

<delurk>
  Note that this is primarily an issue on FreeBSD 4.X. On FreeBSD 5.X,
  /dev/random never blocks.

  You can use rndcontrol(8) to do entropy harvesting from IRQs.
  I don't know if it's practical to force everyone to do this, however.
</delurk>

Bruce.

  • application/pgp-signature attachment: stored
Received on Mon Apr 14 22:17:42 2003

This is an archived mail posted to the Subversion Dev mailing list.