TCPOnly obsolete? Maybe not

Guus Sliepen guus at tinc-vpn.org
Wed Jun 18 15:46:37 CEST 2014


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20140618/2df5c149/attachment.sig>


More information about the tinc mailing list