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_list() should not set RTSA_REMOTE_HOST > for an "IPV4_INVALID_ADDR" remote_host (wrong condition, this is not > a pointer but an integer, and "invalid" is "-1" numerically here), > and init_route() must not ignore "status = false" returns from > get_special_addr(). > > I have just added the "if (!status)" check, not done refactoring for > init_route() to see whether I could make it "more pretty". > > Looks good.
Acked-By: Arne Schwabe <a...@rfc2549.org>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel