From: Ian Jackson Date: Mon, 21 Apr 2014 21:11:34 +0000 (+0100) Subject: site: Negotiate (configurable) MTU X-Git-Tag: debian/0.3.1_beta1~1 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/3ed1846a624d9428c48528d6464126b7459ad462?hp=3ed1846a624d9428c48528d6464126b7459ad462 site: Negotiate (configurable) MTU Calculate the inter-site mtu for each virtual link to a peer site, and honour it. This is the maximum of our desired mtu, and the peer's. Here our desired MTU is normally our local kernel netlink mtu, but it can be configured separately. Extend MSG3/MSG4 optional data to contain an MTU advertisement. The result is that overall it is possible to set an mtu-target which is lower than the vpn's conventional mtu and expect shorter on-the-wire packets to a particular site - provided that site's peers are all upgraded. In this patch we also update NOTES for the new protocol and README for the new configuration option. Signed-off-by: Ian Jackson ---