Detect increases in PMTU.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 31 Jan 2013 14:58:33 +0000 (15:58 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 31 Jan 2013 14:58:33 +0000 (15:58 +0100)
Tinc never restarts PMTU discovery unless a node becomes unreachable. However,
it can be that the PMTU was very low during the initial discovery, but has
increased later. To detect this, tinc now tries to send an extra packet every
PingInterval, with a size slightly higher than the currently known PMTU. If
this packet is succesfully received back, we partially restart PMTU discovery
to find out the new maximum.


No differences found