0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-19 19:52:15 +02:00
openvpn3/openvpn
Lev Stipakov adacc16cd4 push update: base implementation
This adds support for parsing PUSH_UPDATE
control command, which enables to update
options "on the fly", without reconnect.

The options presented in the PUSH_UPDATE list
overwrite current options with the name. To unset
an option, it has to be prefixed with the "-".

For example:

  PUSH_UPDATE,route 10.10.10.0 255.255.255.0,-dns

Replaces all existing routes with this new one
and removes all "dns" options.

If the client doesn't support updating certain option,
it reconnects. Except when option is prefixed with "?" -
in this case option is considered "optional".

For example, this message

  PUSH_UPDATE,?unsupported_option_a

does nothing, but this one:

  PUSH_UPDATE,dns 0,block-ipv6,unsupported_option_b

makes client reconnect, since it contains mandatory unsupported option.

OVPN3-1234

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2024-08-08 14:43:11 +00:00
..
acceptor Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
addr IP Refactor 2024-07-29 13:40:29 +00:00
apple Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
applecrypto Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
asio Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
auth Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
aws Merge current state of releaseprep/3.10 to master 2024-07-16 17:19:49 +02:00
buffer Change ::value --> _v and ::type --> _t 2024-07-22 17:36:18 +00:00
client push update: base implementation 2024-08-08 14:43:11 +00:00
common Make runtime range check only happen if needed 2024-07-25 16:39:46 +00:00
compress Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
crypto Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
dco Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
error Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
frame Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
http Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
init Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
io copyright: Update to 2022 2022-09-29 12:00:26 +02:00
ip Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
legal Update the copyright years used by core consumers 2024-07-09 15:28:13 +00:00
linux Eliminate some conversion warnings 2023-03-08 15:21:50 +00:00
log Collapse LOGGER_LOG_{INFO, VERBOSE, DEBUG, TRACE, ERROR} implementation 2024-08-05 16:51:55 +03:00
mbedtls Merge current state of releaseprep/3.10 to master 2024-07-16 17:19:49 +02:00
netconf OpenVPN 3 Core library version 3.8.5 2024-05-03 14:50:21 +02:00
omi apply --dns options the new way 2024-05-13 14:07:53 +02:00
openssl Report run-time OpenSSL version instead of compile time version 2024-07-29 13:40:32 +00:00
options push update: base implementation 2024-08-08 14:43:11 +00:00
ovpnagent mac agent: reinstall host route during restart 2024-06-11 18:04:23 +02:00
pki Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
proxy Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
random add Doxygen comments to randapi.hpp 2023-11-29 22:17:49 +01:00
reliable Port the psid cookie defense from ovpn2 2023-10-03 12:42:29 -07:00
server Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
ssl Merge current state of releaseprep/3.10 to master 2024-07-16 17:19:49 +02:00
time Make profile errors clearer for users by reporting specific error codes. 2024-03-22 15:15:09 +00:00
transport Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
tun push update: base implementation 2024-08-08 14:43:11 +00:00
win Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00
ws Refactor nested namespace to C++17 style 2024-07-03 10:20:11 +00:00