Re: more than 65535 outbound connections

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

 



On 3/9/07, Niklaus <niklaus@xxxxxxxxx> wrote:
Hi

I could be wrong in the below description or might have misunderstood
many of the concepts , please correct appropriately.

 65535 ports can allowed . So on a  machine namely C you can have max
65535 outbound connections


Per fundamental TCP/IP it is 65,535 per IP, not per machine.  You can
have a lot of IPs per machine / NIC.  A lot of Apache setups use
hundreds or more IPs for a single NIC interface.

What i was thinking was to send to another machines A and B from the
same port [X] and then when we get data from it to [X] we can the send
it to the correct application using stateful mapping or storing some
information . The machines A and B are unaware of this mapping from
the C  machine.

Can we increase it by anymeans in the kernel. Does we have patches for the above

 i read on the web that terry lambert has got 1.6 million simultaneous
connection ? how is the way it is done.

http://kerneltrap.org/node/277


I don't know he did it, but with 160 alias IPs you would just need
10,000 sockets / IP.

You may have to tweak the kernel some to get enough socket descriptors
etc., but that seems like it should just work to me.

Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux