Re: Multiple source IP addresses & port assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Aug 2004 00:47:23 +0200 (CEST)
Henrik Nordstrom <hno@marasystems.com> wrote:

> Do you know if anyone is looking into making the local endpoint assignment 
> more friendly?

Nope.

> I tried to look into doing something about this, but it seems to be 
> limited by design and not only implementation with the port and address 
> assigned independently by different methods in the protocol(s).

Start by solving one problem at a time.  Source address selection
is a routing problem, if you want to add support for round-robin
source address selection then do that.

The next part of the problem is tcp_{v4,v6}_get_port().  Change it
check saddrs of all port owners in the main free port search loop.

Have fun :-)
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux