]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Allow tun-mtu to be pushed
authorArne Schwabe <arne@rfc2549.org>
Wed, 9 Nov 2022 15:48:09 +0000 (16:48 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 14 Nov 2022 10:53:34 +0000 (11:53 +0100)
commit01aed6a5df193a09d8d3c28c5a1580241e0a5e05
treed85c616e2153654bfa7c1caf4eae339f320e5567
parent115559aa34c0ae20ba5628e8becf09af990fc97f
Allow tun-mtu to be pushed

This allows tun-mtu to pushed but only up to the size of the preallocated
buffers. This is not a perfect solution but should allow most of the use
cases where the mtu is close enough to 1500 (or smaller).

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Patch v4: rebase for check_session_cipher name change
Patch v5: remove mention of change of default mtu, remove leftover code
          from an earlier approach.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20221109154810.1268403-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25498.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/man-sections/client-options.rst
doc/man-sections/vpn-network-options.rst
src/openvpn/init.c
src/openvpn/mtu.c
src/openvpn/mtu.h
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/ssl.c