TCPOnly obsolete? Maybe not

hshh hunreal at gmail.com
Wed Jun 18 22:12:05 CEST 2014


In some case, tcp tunnel is faster and more stable than udp tunnel.
Internet route hop is unreliable.
So please don't remove TCPOnly, it may help someone force to use tcp tunnel.


On Wed, Jun 18, 2014 at 9:46 PM, Guus Sliepen <guus at tinc-vpn.org> wrote:

> On Wed, Jun 18, 2014 at 03:18:30PM +0200, Nick Hibma wrote:
>
> > Consider the case where you have the following setup
> >
> >       client  -       fw      -       server
> >
> > The client and server successfully setup a tunnel and UDP communication
> starts to happen. Then the client shuts up and the server only needs to
> send data to the client if the remote tool accesses the client’s UI.
> >
> > If the firewall times out the NAT UDP hole, the server has a problem:
> The UDP tunnel has been marked as possible, but the UDP tunnel does no
> longer work because the fw has timed out the UDP hole it punched.
> >
> > PING/PONG packets are sent on the meta channel, so that is not a
> solution.
>
> Tinc also sends PMTU probes via UDP at the same interval as the
> PING/PONG packets via the meta channel. They help to keep the UDP NAT
> mapping alive, and also allow tinc to detect when UDP is not possible
> anymore, and will cause it to fall back to TCP in that case.
>
> > My suggestion is to remove the word ‘obsolete’ from the man page. And
> perhaps reconsider what could be done about the above.
>
> Tinc nowadays automatically detects changes in UDP reachability,
> therefore I believe that manually setting TCPOnly is no longer
> necessary. The option will still be available in 1.0.x, but I might
> remove it from 1.1.
>
> --
> Met vriendelijke groet / with kind regards,
>      Guus Sliepen <guus at tinc-vpn.org>
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>


-- 
@hshh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20140619/f9c7803f/attachment.html>


More information about the tinc mailing list