nm-openvpn IPV6 problem with AAAA only record

Bug #1508064 reported by Nicolas FOURNIL
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I cannot connect to an OpenVPN server with AAAA only record : it cannot resolve host address

journalctl -f :

oct. 20 16:03:29 nfl-pad nm-openvpn[29304]: RESOLVE: Cannot resolve host address: xxx.xxx.xxx: Name or service not known

Versions :

ii network-manager 0.9.10.0-4ubuntu15.3 amd64 network management framework (daemon and userspace tools)
ii network-manager-gnome 0.9.10.1-0ubuntu4.1 amd64 network management framework (GNOME frontend)
ii network-manager-openvpn 0.9.10.0-1ubuntu1 amd64 network management framework (OpenVPN plugin core)
ii network-manager-openvpn-gnome 0.9.10.0-1ubuntu1 amd64 network management framework (OpenVPN plugin GNOME GUI)

Of course it works perfectly from command line ... without NM...

Revision history for this message
Martin List-Petersen (martin-list-petersen) wrote :

It goes further.

If the desktop/laptop only has IPv6 (no IPv4 connectivity) nm-openvpn tries to connect to the IPv4 host and fails, disregardless, that an AAAA record is available and reachable.

Essentially, nm-openvpn does not allow for tcp6-client or udp6-client to be configured or to be autoselected. If IPv6 connectivity is available and an AAAA record for the OpenVPN Server is in place, tcp6-client or udp6-client should be tried/initiated first with fallback to tcp-client/udp-client.

If no IPv6 connectivity is available, then trying tcp6-client/udp6-client is not needed.
If no IPv4 connectivity is available, then trying tcp-client/udp-client is not needed.

It has either to be autoguessed (like the Android OpenVPN app does) or be configurable. As it is now, nm-openvpn does neither.

ii network-manager 1.2.2-0ubuntu0.16.04.3 i386 network management framework (daemon and userspace tools)
ii network-manager-gnome 1.2.0-0ubuntu0.16.04.4 i386 network management framework (GNOME frontend)
ii network-manager-openvpn 1.1.93-1ubuntu1 i386 network management framework (OpenVPN plugin core)
ii network-manager-openvpn-gnome 1.1.93-1ubuntu1 i386 network management framework (OpenVPN plugin GNOME GUI)

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-openvpn (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.