lkml.org 
[lkml]   [1999]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: predictable IP ID
Date
From
Savochkin Andrey Vladimirovich <saw@msu.ru> said:

[...]

> Now we have a strong RND based generator for the first ID for a peer. But
> its fairly slow (MD4 hash) and can't be used for every packet. Strength of
> the generator and requirements for a guaranteed long period contradicts each
> other.

Wasn't the /dev/random stuff invented exactly for this kind of uses? I'd
assume you can bypass the MD hash here, and just steal a byte or two
directly from the entropy pool.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.223 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site