X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=doc%2Ftinc.texi;h=c940eddb48816ef126bb1f72e55a7b8f638e41b0;hb=7939ee12836bf2ef772f2a6a1e805ee0d64a8e70;hp=2cb55a79f1a106c4a81cec6c826257fde2a6f34d;hpb=5d6478b9fbb7379fe6017b2b74c0f1ccb3d2501f;p=tinc diff --git a/doc/tinc.texi b/doc/tinc.texi index 2cb55a79..c940eddb 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1232,6 +1232,22 @@ and will only allow connections with nodes for which host config files are prese @file{@value{sysconfdir}/tinc/@var{netname}/hosts/} directory. Setting this options also implicitly sets StrictSubnets. +@cindex UDPDiscovey +@item UDPDiscovery = (yes) +When this option is enabled tinc will try to establish UDP connectivity to nodes, +using TCP while it determines if a node is reachable over UDP. If it is disabled, +tinc always assumes a node is reachable over UDP. +Note that tinc will never use UDP with nodes that have TCPOnly enabled. + +@cindex UDPDiscoveryInterval +@item UDPDiscoveryInterval = (9) +The minimum amount of time between sending UDP ping datagrams to test UDP connectivity. + +@cindex UDPDiscoveryTimeout +@item UDPDiscoveryTimeout = (30) +If tinc doesn't receive any UDP ping replies over the specified interval, +it will assume UDP communication is broken and will fall back to TCP. + @cindex UDPRcvBuf @item UDPRcvBuf = (OS default) Sets the socket receive buffer size for the UDP socket, in bytes.