VMware Cloud Community
ago1973
Contributor
Contributor

/dev/random and entropy

Hi all, I  have a problem with redhat 5.5 and debian virtual machines on ESX. Using apache and tomcat the available entrpy is alwaay low and some time reading from /dev/random takes many seconds.

Googling for the problem I can find some post about similar problems due to the lack of physhical hardware used to feed the pseudo random number generator. I found some workaound like creating /dev/random as a /dev/urandom alias (/dev/urandom is not blocking) or using rndg (from rng-tools) to feed /dev/random from /dev/urandom (rngd should be used to feed /dev/random from an hardware RNG). But /dev/urandom is considered unsecure so this can be my last solution.

Does someone have a simpler solution than installing somewhere an hardware random numer generator (an usb key) with an entropy broker to distribute entropy using the network?

Does someone have a best solution?

Best regards,

Agostino

0 Kudos
1 Reply
teknogroup
Contributor
Contributor

Same problem.

rngd with /dev/urandom seems to alleviate symptoms.

Any further help?

0 Kudos