IPv6 in network-manager-openvpn



Hello,

A few weeks ago I ran into a bug in NetworkManager: even though OpenVPN now supports IPv6 in tunnels, the OpenVPN plugin of NetworkManager doesn't support it. I found bug 682620 (https://bugzilla.gnome.org/show_bug.cgi?id=682620) and I've implemented some of the missing features with the help of network-manager-openconnect commits. My patches are attached to this email, can someone kindly review them and tell me what may be wrong with them? As I'm new with NetworkManager, I think there must be some mistakes in my code.

The patches are working well in my testing environment with NetworkManager 0.9.8 but with the development revision, NetworkManager complains about "invalid IP6 config received!" in src/vpn-manager/nm-vpn-connection.c on line 1034. As I understand things, a "!" is missing on line 1031 (http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/vpn-manager/nm-vpn-connection.c?id=320a9d16a3067df32f5ad8a2bb3770104ec359b1#n1031), but this is strange as this means no IPv6 VPN should work with current development revision... Does anyone know how OpenConnect plugin can work with such code?

Thanks,

Nicolas
(IooNag on irc.freenode.net)

Attachment: 0001-service-pass-IPv6-related-information-to-NM.patch
Description: Binary data

Attachment: 0002-properties-expose-IPv6-capability-to-the-UI.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]