Re: [Openvpn-devel] [PATCH] Fix handling of 'route remote_host' for IPv6 transport case.

2020-09-11 Thread Arne Schwabe
Am 11.09.20 um 10:59 schrieb Gert Doering: > If we connect to a VPN server over IPv6, and the config has a > route like this: > > route remote_host default net_gateway > > OpenVPN would try to install a route to "255.255.255.255", which > is obviously bogus. > > The bug is twofold: init_route_

[Openvpn-devel] [PATCH] Fix handling of 'route remote_host' for IPv6 transport case.

2020-09-11 Thread Gert Doering
If we connect to a VPN server over IPv6, and the config has a route like this: route remote_host default net_gateway OpenVPN would try to install a route to "255.255.255.255", which is obviously bogus. The bug is twofold: init_route_list() should not set RTSA_REMOTE_HOST for an "IPV4_INVALID_A