From: Etienne Dechamps Date: Wed, 31 Dec 2014 09:26:14 +0000 (+0000) Subject: Don't send MTU probes smaller than 512 bytes. X-Git-Tag: release-1.1pre12~233 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=c1532035e2850dc4ec0eb22a6d51208e3128eb94;hp=c1532035e2850dc4ec0eb22a6d51208e3128eb94;p=tinc Don't send MTU probes smaller than 512 bytes. If MTU discovery comes up with an MTU smaller than 512 bytes (e.g. due to massive packet loss), it's pretty much guaranteed to be wrong. Even if it's not, most Internet applications assume the MTU will be at least 512, so fixing the MTU to a small value is likely to cause trouble anyway. This also makes the discovery algorithm converge even faster, since the interval it has to consider is smaller. ---