On Mon, 11 Oct 2004 17:14:22 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:
> Here is a test patch which changes how TCP ephemeral ports are
> selected from a simple roving pointer to:
> * net_random() as starting point when doing pure local
> * use md hash (like isn) when doing connection based
> assignments with a rover
> This is *not* for 2.6.9 but wanted to get it out for comment for
> future versions.
I'm not totally against this kind of idea at all.
I hope we don't run into situations with the new
code where we don't actually check the whole port
range due to some logic error or similar.
Another thing we need to eventually do is allow
allocation into the local port space more completely.
Even if every local port has one user, we could still
allocate some ports if the daddr/dport is known and
is different from the existing user.