lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9948385e1002211018g5e50a006v96bea9ed4623fda8@mail.gmail.com>
Date:	Sun, 21 Feb 2010 19:18:41 +0100
From:	David Balažic <xerces9@...il.com>
To:	netdev@...r.kernel.org
Subject: Max nr of tcp connections?

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).

Does this mean only 64k (outgoing?) connections can exist at the same time?

What if the host is a (P)NAT router? Is it limited to max 64k outgoing
connections?

Regards,
David
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ