Entropy Key on Centos 6.2 & EGD

Paul Martin pm at simtec.co.uk
Mon Apr 30 17:16:27 BST 2012


On Mon, 30 Apr 2012 17:00:32 +0200, Jan-Piet Mens wrote:
> I'm moving my Entropy Key from Ubuntu to a Centos 6.2 box
> (2.6.32-220.13.1.el6.x86_64 #1 SMP)

Is this a new configuration, or have you had it working with EGD on
Ubuntu?

> I note that configuring SetOutputToKernel(7) works fine, at least I can
> `watch -n 0.25 cat /proc/sys/kernel/random/entropy_avail' and the level
> of entropy stays up at around 3900.
> 
> If I replace the config by `EGDTCPSocket(8888, "0.0.0.0" )', the ekeyd
> daemon starts up, but a subsequent start of `egd-linux -H 127.0.0.1 -p
> 8888' has no effect at all on the amount of entropy available, neither
> on the same host nor on a different host. It's as though ekeyd isn't
> providing entropy to the EGD socket.

Have you commented out the "SetOutputToKernel" line in your
ekeyd.conf, using two dashes "--"?

I'd suggest trying the IP address of the interface you want to listen
on, rather than "0.0.0.0". There *might* be a quirk in the lua sockets
library which prevents the INADDR_ANY address from working.

-- 
Paul Martin <pm at simtec.co.uk>
Simtec Electronics         Tel: +44 1772 978010
http://www.simtec.co.uk/   Fax: +44 1772 816426



More information about the EntropyKey-users mailing list