Re: "Listenless" TCP over NAT?
From: Ben Hutchings
Date: Fri Sep 05 2008 - 08:18:21 EST
xerces8 wrote:
> Hi!
>
> Recently someone mentioned on this (or maybe other...) list a seldom used
> technique of establishing a TCP connection without one host listening on a port,
> but but acting as "clients" and connecting to the peers port.
>
> My question: Can this be used to establish a TCP connection between two hosts that
> are both behind a (P)NAT router ?
>
> (the idea being: NAT router lets outgoing connections thru, and in this case both
> NAT router would see an "outgoing" connection)
>
> If yes, this would simplify the life of many users :-)
It's a bit more complicated than that. See
<http://en.wikipedia.org/wiki/TCP_hole_punching>.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html