0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/ip
Lev Stipakov 6608878d57 [OVPN3-341] implement mssfix support
Adds mssfix support including optional
transport overhead. Some code has been ported
from openvpn2.

mssfix sets MSS option in TCP SYN to
a calculated value which guarantees that
size of UDP/TCP packet (which may or may not
include headers, see below) encapsulating
TCP segments won't exceed mssfix value.

If mssfix is used with optional "mtu" parameter,
then IP and UDP/TCP headers are also taken into account.

It is set in config like this:

    mssfix 1300 mtu

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2018-12-21 10:30:31 +02:00
..
dhcp.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00
eth.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
icmp4.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00
icmp6.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00
ip4.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00
ip6.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00
ipcommon.hpp [OVPN3-341] implement mssfix support 2018-12-21 10:30:31 +02:00
tcp.hpp [OVPN3-341] implement mssfix support 2018-12-21 10:30:31 +02:00
udp.hpp IP packet headers: Added IPv6 and ICMPv6 2018-05-21 11:34:01 +03:00