[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <op.u8hvv0imp498uc@nexus>
Date: Sun, 21 Feb 2010 21:44:14 +0100
From: Damian Lukowski <damian@....rwth-aachen.de>
To: David Balažic <xerces9@...il.com>,
netdev@...r.kernel.org
Subject: Re: Max nr of tcp connections?
Am 21.02.2010, 19:18 Uhr, schrieb David Balažic <xerces9@...il.com>:
> Hi!
>
> In theory, a tcp connection is identified by the tuple (src-addres,
> src-port, dest-address, dest-port) so a lot of connections could exist
> on on host.
> But in practice I observed, that each outgoing connection is assigned
> a new, unique local (src) port is assigned. If I try to create a new
> connection
> to a new host using a "used" local port, I get an error. (tested with
> socat on kernel 2.4.30).
I don't know for 2.4.30, but there are no problems with a 2.6.26 kernel.
> tcp 0 0 137.226.116.3:1234 216.239.59.104:80
> ESTABLISHED
> tcp 0 0 137.226.116.3:1234 74.125.39.103:80
> ESTABLISHED
Damian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists