chiark / gitweb /
site: Negotiate (configurable) MTU wip.frag.v1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Apr 2014 21:11:34 +0000 (22:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Apr 2014 01:32:46 +0000 (02:32 +0100)
commit3ed1846a624d9428c48528d6464126b7459ad462
treee4fd5e7d198668ee20a19f50520119ec8df79358
parente001e8c056deecfdd295638262a9d61ca9995e23
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 <ijackson@chiark.greenend.org.uk>
NOTES
README
debian/changelog
site.c
test-example/inside.conf