mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
41e96f96a6
The current implementation of "get best gateway" is completely unaware of IPv6. Because of that agent-enabled client is not able to connect to IPv6 server. This happens because the first call to agent (add-bypass-route) fails, since we pass IPv6 address, which agent tries to intrepret as IPv4 and fails. Moreover, "add bypass route" logic looks for the best gateway for the given remote, and the API we use (GetIpForwardTable and GetBestGateway) doesn't work with IPv6. This adds IPv6 support to BestGateway class and "add bypass route" logic. For that we use IPv6-aware API such as GetIpForwardTable2 and own IP::Addr/4/6 absactions. Fixes OVPN3-959. Signed-off-by: Lev Stipakov <lev@openvpn.net> |
||
---|---|---|
.. | ||
ios | ||
linux | ||
enumiface.hpp | ||
hwaddr.hpp |