0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00
openvpn3/openvpn
Arne Schwabe 3710fa106a Implement pushable tun-mtu and tls-mtu-max
OpenVPN 3.x has the same approach/problem for buffer allocation for the
tunnel packets that OpenVPN 2.x uses. Buffers are allocated very early
in the setup, so resizing/reacting to different frame sizes is not
really possible without major refactoring.

Therefore we use the same approach as with OpenVPN 2.x and allow a
MTU of up to 1600 by default and require setting tun-mtu-max in the
configuration file to allow larger values and allocate larger buffers.

Signed-off-by: Arne Schwabe <arne@openvpn.net>
2022-07-13 16:44:31 +02:00
..
acceptor Update copyrights 2020-03-18 19:37:32 +01:00
addr IP: added static regexes for detection of IPv4 and IPv6 addresses 2022-05-13 19:09:09 -06:00
apple Update copyrights 2020-03-18 19:37:32 +01:00
applecrypto Update copyrights 2020-03-18 19:37:32 +01:00
asio AsioBoundSocket: use defined() instead of local_.specified() for readability 2022-06-29 08:39:22 -06:00
auth AuthCert: add common-name + serial-number constructor and use C++11 member initializers 2021-11-24 13:18:35 -07:00
aws WS::ClientSet: added new TransactionSet flag retry_on_http_4xx 2022-06-29 08:39:22 -06:00
buffer bufstr: added buf_c_str() and buf_eq_str() functions 2022-02-07 13:56:13 -07:00
client Implement pushable tun-mtu and tls-mtu-max 2022-07-13 16:44:31 +02:00
common write_binary_atomic(): factored out temporary filename creation into new function tmp_filename() 2022-06-29 08:39:22 -06:00
compress remove unnecessary addition 2021-05-18 06:13:31 +02:00
crypto dco-win: support for ChaCha20-Poly1305 2022-05-04 18:15:07 +03:00
dco Implement pushable tun-mtu and tls-mtu-max 2022-07-13 16:44:31 +02:00
error Implement TLS Keying Material Export data key derivation 2020-08-27 13:00:11 +02:00
frame Implement pushable tun-mtu and tls-mtu-max 2022-07-13 16:44:31 +02:00
http openvpn/http: document source and add license text 2022-02-25 15:08:52 +01:00
init Refactor InitProcess to use refcounting 2020-09-02 20:37:01 +02:00
io Update copyrights 2020-03-18 19:37:32 +01:00
ip Update copyrights 2020-03-18 19:37:32 +01:00
legal Update copyrights 2020-03-18 19:37:32 +01:00
linux SetUserGroupRetainCap: added a new constructor for user/group parameters provided as const char * 2022-05-13 19:09:09 -06:00
log Update copyrights 2020-03-18 19:37:32 +01:00
mbedtls Use xkey provider for external keys with OpenSSL 3.0 2022-06-08 22:41:36 +02:00
netconf win: improve "add bypass route" logic 2020-09-16 18:08:15 +03:00
omi omi: add missing line ending 2022-06-15 17:14:28 +03:00
openssl Add workaround for mingw not understanding %z in printf 2022-06-08 22:41:38 +02:00
options add support for --dns option 2022-02-10 18:35:02 +01:00
ovpnagent ovpnagent: fix quoting of omiclient parameters 2022-06-09 01:53:22 +02:00
pki Use xkey provider for external keys with OpenSSL 3.0 2022-06-08 22:41:36 +02:00
proxy Update copyrights 2020-03-18 19:37:32 +01:00
random RandomAPI: comment edit 2022-06-29 08:39:22 -06:00
reliable Update copyrights 2020-03-18 19:37:32 +01:00
server Renamed VPN_CONNECTION_PROFILES -> VPN_BINDING_PROFILES for clarity 2022-06-29 08:39:22 -06:00
ssl Implement pushable tun-mtu and tls-mtu-max 2022-07-13 16:44:31 +02:00
time AsioTimer/AsioTimerSafe: added convenience typedef UPtr 2022-04-11 09:08:47 -06:00
transport support for default mssfix 2022-05-04 18:15:07 +03:00
tun Implement pushable tun-mtu and tls-mtu-max 2022-07-13 16:44:31 +02:00
win win/call.hpp: fix include and linkage error 2020-09-09 12:35:36 +03:00
ws WS::ClientSet: added new TransactionSet flag retry_on_http_4xx 2022-06-29 08:39:22 -06:00