NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Callesoroe
Oct 30, 2013Aspirant
Haveged on ReadyNas Ultra ?
I am running LMS (squeezebox) on my readynas ultra. There is a problem with the Random mix. The problem is that it isn't very random.
The problem could be this that I have read about:
http://www.issihosts.com/haveged/
Is it possible to get Haveged to run on a ReadyNas. And if. How ?
If this really is a problem in the kernel software. Will this not be fixed ????
The problem could be this that I have read about:
http://www.issihosts.com/haveged/
Is it possible to get Haveged to run on a ReadyNas. And if. How ?
If this really is a problem in the kernel software. Will this not be fixed ????
23 Replies
Replies have been turned off for this discussion
- F_L_Tutor
StephenB wrote:
My RN102 reports values between 100-200 - similar to what fastfwd saw before he did the add-on.F.L. wrote: Is this needed on OS6 6.1.5?
Strange, now I have low values again.
Andwatch -n 1 cat /proc/sys/kernel/random/entropy_avail
gives me low values too.
Wonder why I had high values before...
Anyway. I installed haveged using apt and now it seems OK again. - fastfwdVirtuoso
F.L. wrote: Strange, now I have low values again.
Andwatch -n 1 cat /proc/sys/kernel/random/entropy_avail
gives me low values too.
Wonder why I had high values before...
If nothing is using dev/random or dev/urandom, the entropy pool gradually fills. Presumably, your system wasn't doing much that needed random numbers, so the pool filled to 2000+ bits.
Every time a new process is launched, the operating system reads from dev/urandom in order to randomize the process's address space layout (to protect from buffer overflow attacks), so when you repeatedly invoked cat once per second with that watch command, the available entropy decreased faster than it could be replenished. - F_L_Tutor
fastfwd wrote: F.L. wrote: Strange, now I have low values again.
Andwatch -n 1 cat /proc/sys/kernel/random/entropy_avail
gives me low values too.
Wonder why I had high values before...
If nothing is using dev/random or dev/urandom, the entropy pool gradually fills. Presumably, your system wasn't doing much that needed random numbers, so the pool filled to 2000+ bits.
Every time a new process is launched, the operating system reads from dev/urandom in order to randomize the process's address space layout (to protect from buffer overflow attacks), so when you repeatedly invoked cat once per second with that watch command, the available entropy decreased faster than it could be replenished.
Thank you fastfwd for the explanation!
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!