Check entropy pools size in LRNG

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Check entropy pools size in LRNG

Postby pseudo_bidon » Wed Mar 18, 2009 12:08 pm

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
pseudo_bidon
 
Posts: 1
Joined: Wed Mar 18, 2009 11:14 am

Re: Check entropy pools size in LRNG

Postby spender » Thu Mar 19, 2009 2:54 pm

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
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support