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)
commit1d7b86cd9d1421f67d3717a52a52635155a29829
treeab4c28a5e76bedb11c6c825c5d982e3d18af1778
parentb403f77dd84b7cae86bdaaf4961af515cf7a3fb9
Detect increases in PMTU.

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.
src/net_packet.c