X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=doc%2Ftinc.conf.5.in;h=48c3df508d3d5120d2351d342c4a7e3a101d2a03;hb=7939ee12836bf2ef772f2a6a1e805ee0d64a8e70;hp=9d9bf76f7d04440118cb8fcb1b9396bcca91201e;hpb=5d6478b9fbb7379fe6017b2b74c0f1ccb3d2501f;p=tinc diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 9d9bf76f..48c3df50 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -485,6 +485,18 @@ and will only allow connections with nodes for which host config files are prese .Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /hosts/ directory. Setting this options also implicitly sets StrictSubnets. +.It Va UDPDiscovery Li = yes | no Po yes Pc +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 +.Va TCPOnly +enabled. +.It Va UDPDiscoveryInterval Li = Ar seconds Pq 9 +The minimum amount of time between sending UDP ping datagrams to test UDP connectivity. +.It Va UDPDiscoveryTimeout Li = Ar seconds Pq 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. .It Va UDPRcvBuf Li = Ar bytes Pq OS default Sets the socket receive buffer size for the UDP socket, in bytes. If unset, the default buffer size will be used by the operating system.