Page 1 of 1

Check entropy pools size in LRNG

PostPosted: Wed Mar 18, 2009 12:08 pm
by pseudo_bidon
Hello,

I use grsec with GRKERNSEC_RANDNET activated. I have read that it increase entropy pools size in the Linux Random Number Generator (LRNG), is there a way to verify it ? Can i see the size of the primary pool, secondary pool and urandom pool actually used on my system ?

thanks

Re: Check entropy pools size in LRNG

PostPosted: Thu Mar 19, 2009 2:54 pm
by spender
To check the pool size:
/proc/sys/kernel/random/poolsize
(on a vanilla box, this should be 4096 -- with RANDNET enabled it will be 16384)
To check the remaining entropy:
/proc/sys/kernel/random/entropy_avail

-Brad