0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/tun
James Yonan 7cbac69e3d Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags
This change replaces the boolean add_bypass_routes with a new
flags parameter -- set the TunConfigFlags::ADD_BYPASS_ROUTES
flag to achieve the same functionality.

We also add some new flags for finer-grained control over
actions taken by tun_config:

* TunConfigFlags::DISABLE_IFACE_UP -- disable bringing the interface up

* TunConfigFlags::DISABLE_REROUTE_GW -- disable redirect-gateway

Signed-off-by: James Yonan <james@openvpn.net>
2021-11-24 13:18:35 -07:00
..
builder tunbuilder: Fix inverted family block/allow logic 2021-10-28 10:40:06 +02:00
client Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
extern Update copyrights 2020-03-18 19:37:32 +01:00
linux/client Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
mac set struct sockaddr_ctl::sc_reserved to zero 2021-05-18 05:30:08 +02:00
persist Update copyrights 2020-03-18 19:37:32 +01:00
server Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
win Merge mingw build fix from coming OpenVPN 3 Core library release 2021-09-22 15:11:02 +02:00
layer.hpp Update copyrights 2020-03-18 19:37:32 +01:00
proxy.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tristate_setting.hpp Rework block-ipv6 to also allow blocking ipv4 and remove IV_IPV6 2021-10-27 20:15:26 +02:00
tunio.hpp TunIO: added an alternative TunIO constructor 2021-11-24 13:18:35 -07:00
tunlog.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunmtu.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunspec.hpp Update copyrights 2020-03-18 19:37:32 +01:00