[Info-vax] SSH/SCP sessions hanging for 7 minutes while reading from "/dev/random"

Arne Vajhøj arne at vajhoej.dk
Thu Sep 30 21:07:03 EDT 2021


On 9/30/2021 8:53 PM, Lawrence D’Oliveiro wrote:
> On Friday, October 1, 2021 at 5:26:04 AM UTC+13, Stephen Hoffman wrote:
>> Within recent Linux kernel versions, /dev/random and /dev/urandom are
>> the same underneath, neither will block post-initialization, and both
>> will produce the same CPRNG values.
> 
> Not a chance.
> 
> https://man7.org/linux/man-pages/man4/random.4.html
> https://www.redhat.com/en/blog/understanding-random-number-generators-and-their-limitations-linux
> https://unix.stackexchange.com/questions/324209/when-to-use-dev-random-vs-dev-urandom

I believe Hoff is referring to the changes in Linux kernel 5.6
made in January that made the two more similar (even though I
believe there still is some difference).

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.6-Random-Rework

Arne




More information about the Info-vax mailing list