[PATCH 1/1] lib/socket: randomize the generated local port

Thomas Haller thaller at redhat.com
Wed Apr 9 03:12:30 PDT 2014


On Mon, 2014-04-07 at 20:26 +0200, Thomas Haller wrote:
> Instead of always trying the same order of ports when
> looking for an unused port, randomize the order (naively).
> 
> As libnl-1 uses the same function, it is likely that two applications
> that are using both libraries generate the same ports. By chossing a
> different order how to select the local port, the chances are smaller
> for this to happen.

This patch got obsoleted by:

[PATCH 4/4] lib/socket: randomize the generated local port

from Wed,  9 Apr 2014 12:08:53 +0200


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140409/4a8a4120/attachment.sig>


More information about the libnl mailing list