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 15:10:58 +0000 (16:10 +0100)
commit42b222ecb66b1957d7b439e5d8be8b287aef0054
tree7eaf88dc9ac1d62d2f248d9e96d150f8d299c9ec
parent87416bcd8bd3e8816750150e2dbe90a970400a00
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.

Conflicts:
src/net_packet.c
src/net_packet.c