oss-sec mailing list archives

Re: DNS vulnerability: other relevant software


From: Eugene Teo <eteo () redhat com>
Date: Thu, 10 Jul 2008 13:33:34 +0800

Florian Weimer wrote:
* Mark J. Cox:

Additionally, Debian has noted (DSA 1605-1) that the GNU libc stub
resolver could benefit from random query source ports as well, but
no patches are currently available to implement this:
Note that GNU libc stub resolver when used with a recent kernel
(2.6.24+) will give you random UDP source ports on each request
because of this Linux commit:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=32c1da70810017a98aa6c431a5494a302b6b9a30

Is net_random() cryptographically secure?  The paper referenced in the
source doesn't talk about this.

It isn't. It's actually a 32-bit pseudo-random number generator AFAIK.
Hmm.

Eugene


Current thread: