Use MTU probes to regularly ping other nodes over UDP.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Oct 2009 16:57:58 +0000 (18:57 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Oct 2009 16:57:58 +0000 (18:57 +0200)
This keeps NAT mappings for UDP alive, and will also detect when a node is not
reachable via UDP anymore or if the path MTU is decreasing. Tinc will fall back
to TCP if the node has become unreachable.

If UDP communication is impossible, we stop sending probes, but we retry if it
changes its keys.

We also decouple the UDP and TCP ping mechanisms completely, to ensure tinc
properly detects failure of either method.


No differences found