Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 22:18:49 -0800
From:      Julian Elischer <julian@elischer.org>
To:        net@freebsd.org
Subject:   proposal:  TCP rendevous
Message-ID:  <43894FC9.6040205@elischer.org>

next in thread | raw e-mail | index | archive | help
In this world of P2P apps it would be neat to have a way that two P2P apps
could attach to each other even though each is through a firewall. Most 
firewalls only allow
"outgoing" connections.

It would of course be possible via a 3rd party relaying but that is 
inneffieient and the throughput
would be limited by throughput limits on the 3rd party link.

It must be possible, with the connivance of a 3rd party both parties 
could be able
to make suitable 'OUTGOING' connections.
The 3rd party would spoof needed packets using information supplied
by the two parties.

if this were to be done, there would be two modes

In the first, the application can be modified so special socket options 
could be used
but for application binaries that can't be modified, one would need an 
external way
of 'interfering' with the sessions.

You could probably do it with netgraph.

I'm still thinking about connecting systems separated by NAT however.
that's a trickier problem. you still need to use outgoing connections but
no-one who is not in the path can not tell what the NAT'd packets looke 
like.

julian









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43894FC9.6040205>