Re: [PATCH] Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Alan Cox <alan@...>, Jeff Garzik <jeff@...>, <netdev@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Brandeburg, Jesse <jesse.brandeburg@...>, Chris Peterson <cpeterso@...>, <tpmdd-devel@...>, <tpm@...>, Herbert Xu <herbert@...>
Date: Friday, May 16, 2008 - 12:20 pm

Adrian Bunk wrote:

No in this case /dev/urandom is the wrong choice. You should seed
then some standard RND with the time,pid as is the classical way
and not use any precious entropy. Yes some programs don't do that,
but they're wrong and actually slightly dangerous.


Even the cryptographic programs normally use /dev/urandom to get
session keys etc. That is because they are definitely concerned about
local DoS. Just strace your ssh daemon or your SSL web server to see
what I mean.


Yes, but if you read the context of that patch it commented out
the code that accessed /dev/urandom!

Please reread my analysis of the issue. If you have already entropy in
the pool  the additional feed doesn't change anything. And if you don't
it still stays the same.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH] drivers/net: remove network drivers' last few us..., Brandeburg, Jesse, (Thu May 15, 12:07 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Alejandro Riveira , (Mon May 26, 9:43 am)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Lennart Sorensen, (Fri May 16, 10:15 am)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 6:29 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:58 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:02 pm)
Re: [PATCH] drivers/net: remove network drivers' last few us..., Henrique de Moraes Holschuh..., (Thu May 15, 7:46 pm)
Re: [PATCH] Re: [PATCH] drivers/net: remove network drivers'..., Andi Kleen, (Fri May 16, 12:20 pm)