[gPXE-devel] [PATCH 3/6] [tcp] Randomize TCP bind port
Piotr Jaroszyński
p.jaroszynski at gmail.com
Tue Jul 13 11:46:31 EDT 2010
On 13 July 2010 17:15, <cooldavid at cooldavid.org> wrote:
> + try_port = ( currticks() % 64512 ) + 1023;
Probably should use random() here. Currently it's not much better, but
might be in the future :)
Otherwise I like it as I did the same thing when testing in userspace
to not get so many collisions.
--
Best Regards
Piotr Jaroszyński
More information about the gPXE-devel
mailing list