[ffe] including network-manager-openvpn-gnome, network-manager-l2tp-gnome, and network-manager-strongswan in the default installation

Bug #1752417 reported by Apicultor
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Triaged
Medium
Unassigned
network-manager-openvpn (Ubuntu)
New
Undecided
Unassigned
ubuntu-meta (Ubuntu)
New
Undecided
Ubuntu Desktop

Bug Description

network-manager lists only PPTP as an available VPN client connection type (and also offers to import a file). I'd expect L2TP-over-IPSec and IKEv1/IKEv2 options as well.

In fact, most major desktop OSes have removed PPTP altogether because it's insecure, and Ubuntu should probably do so in 18.04 as well, at least from the GUI!

$ apt list network-manager
Llistant… Fet
network-manager/bionic,now 1.10.4-1ubuntu2 amd64 [instal·lat]

$ uname -a
Linux machinename 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:23:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic

Apicultor (apicultor)
description: updated
description: updated
Apicultor (apicultor)
description: updated
information type: Private Security → Public Security
Changed in network-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello Apicultor,

You can install network-manager-strongswan and the associated StrongSwan suite of utilities if you want to use IKEv2 VPNs with Network Manager. LT2P requires 17.10 or the upcoming 18.04 LTS for the network-manager-l2tp package: https://launchpad.net/ubuntu/+source/network-manager-l2tp

Thanks

Revision history for this message
Apicultor (apicultor) wrote :

As it stands, Ubuntu supports deprecated-and-insecure PPTP connections out of the box even though most other major OS vendors have actually removed support for such connections entirely.

Why is this still supported -- and, in fact, offered as the only option by default? This will surely tempt some users into using it.

If network-manager-strongswan and strongswan are needed for secure connections, then they should be included in the default install (and PPTP support should NOT be!)

Changed in network-manager (Ubuntu):
status: Invalid → Confirmed
summary: - network-manager doesn't offer IKE VPN connections
+ Ubuntu offers only insecure VPN out of the box
summary: - Ubuntu offers only insecure VPN out of the box
+ Ubuntu Bionic offers only insecure VPN out of the box
Apicultor (apicultor)
summary: - Ubuntu Bionic offers only insecure VPN out of the box
+ Out of the box, Ubuntu Bionic offers only insecure VPN option
Revision history for this message
Apicultor (apicultor) wrote : Re: Out of the box, Ubuntu Bionic offers only insecure VPN option

@seth-arnold: This bug was filed against 18.04 prerelease. The only option provided to me by Bionic is PPTP, which is insecure and its use is dangerous.

- At the minimum, L2TP-over-IPsec, IKEv1, and IKEv2 should be supported by default without installation of any other packages. These are modern and robust technologies.

- PPTP should not be offered by default; if the user must use it, they should have to install an additional package (or, at the very least, be presented with a warning). The insecurity of PPTP has been known since 1998.

Further information justifying the complete removal of PPTP support from Ubuntu Bionic:

- https://www.schneier.com/academic/pptp/

- https://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protocol#Security

- https://derflounder.wordpress.com/2016/06/25/pptp-vpns-no-longer-supported-by-apples-built-in-vpn-client-on-macos-sierra-and-ios-10/

- https://support.apple.com/en-us/HT206844

Revision history for this message
Apicultor (apicultor) wrote :

It looks like this seed is affected by virtue of including only network-manager-pptp-gnome:

http://people.canonical.com/~ubuntu-archive/seeds/ubuntu.bionic/desktop

Revision history for this message
TJ (tj) wrote :

I'd concur and suggest that as so many people use openvpn for 'Private Internet Access' that would be a far more appropriate out-of-the-box VPN add-on to ship.

That obviously has implications because it would require adding openvpn to the seed.

PPTP is, I think, a hold over from the dial-up ISP days. I think it is also used by some cellular modem type connections but have not seen such in a long time. Mine are all CDC-Ethernet devices.

Changed in network-manager (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Apicultor (apicultor) wrote :

Private Internet Access is a bit of a Trojan horse, but I'm glad you agree the suite of VPN types supported out of the box desperately needs to be brought up to date.

ovpn is great, but if we're going to do that, let's also get L2TP, IKEv1, and IKEv2 added -- and PPTP either removed or saddled with a big warning about it being insecure and deprecated. (For example, network-manager-strongswan has a very short list of dependencies that aren't already in the image, so adding it won't inflate the image much.)

Thanks for taking this seriously!

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Desktop team, what do you think, can we add network-manager-openvpn-gnome to the seeds to give users a tolerable VPN choice?

Thanks

Revision history for this message
Robie Basak (racb) wrote :

Thank you for filing this bug. I agree that it's worth asking the desktop team to consider the default set of VPN plugins available by default from time to time.

> In fact, most major desktop OSes have removed PPTP altogether because it's insecure...

I'm commenting because I'd like to point out that I don't think this is a reasonable justification. Ubuntu is *user focused*. Users don't usually have the option of choosing their VPN technology since the server end is normally configured by someone else. Ideally I think Ubuntu should make sure that the majority of users can connect most easily to the VPN they already have. We should keep Ubuntu useful to the majority of Ubuntu users by default. This should be our primary motivator for any decision.

A secondary effect is that those in control of choosing VPN technologies might be influenced by the availability of clients in Ubuntu as default. It might be reasonable for us to change what we ship by default based on this effect, but it should only be secondary to the primary cause of shipping something useful to users.

Inconveniencing users by removing the availability of a component by default because we think they should be using something different is not something I think is appropriate for the Ubuntu project. I don't think it's appropriate for us to be hostile to our users in this manner. Ubuntu has traditionally done the exact opposite - for example by taking the pragmatic stance in making available non-free codecs and drivers instead of deliberately making it difficult for users who have already made non-free hardware and codec choices such as some other distributions.

If PPTP support is removed by default for policy (rather than technical or maintenance) reasons, I think it be done on the basis that Ubuntu VPN users don't need and won't miss PPTP support and not just because we think that the users are doing it wrong.

I have no objection to bringing in other plugins for default (eg. openvpn sounds like a great idea) but of course that is subject to a team being prepared to commit the time to maintain that.

(I'm just an unconnected Ubuntu developer and have no say in any final decision)

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [ffe] Out of the box, Ubuntu Bionic offers only insecure VPN option

Ubuntu Desktop and Ubuntu Security teams are in agreement that it would be worth adding to the default installation, that's a new feature though so needs ubuntu-release to ack the addition, turning the bug to a ffe and subscribing them for review

summary: - Out of the box, Ubuntu Bionic offers only insecure VPN option
+ [ffe] Out of the box, Ubuntu Bionic offers only insecure VPN option
summary: - [ffe] Out of the box, Ubuntu Bionic offers only insecure VPN option
+ [ffe] including network-manager-openvpn-gnome in the default
+ installation
Apicultor (apicultor)
summary: - [ffe] including network-manager-openvpn-gnome in the default
- installation
+ [ffe] including network-manager-openvpn-gnome and network-manager-
+ strongswan in the default installation
summary: - [ffe] including network-manager-openvpn-gnome and network-manager-
- strongswan in the default installation
+ [ffe] including network-manager-openvpn* and network-manager-strongswan
+ in the default installation
summary: - [ffe] including network-manager-openvpn* and network-manager-strongswan
- in the default installation
+ [ffe] including network-manager-openvpn-gnome and network-manager-
+ strongswan in the default installation
summary: - [ffe] including network-manager-openvpn-gnome and network-manager-
- strongswan in the default installation
+ [ffe] including network-manager-openvpn-gnome, network-manager-l2tp-
+ gnome, and network-manager-strongswan in the default installation
Revision history for this message
Jeremy Bícha (jbicha) wrote :

By the way, there is a GUI way to install VPN plugins. It's surprisingly hidden though.

Open the Ubuntu/GNOME Software app.
Switch to the Installed tab.
Scroll down to the bottom then scroll up a bit to see the GNOME Control Center app in the System Applications heading. Click it to open the details page for GNOME Control Center.
This page shows the VPN plugins as Add-ons. Check the boxes for the plugins you want installed.

Revision history for this message
Apicultor (apicultor) wrote :

In reply to #10, if you think that should be what's required on a new install to get something other than PPTP, then I have lost all hope for Ubuntu on the desktop.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Apicultor, comment #10 was not intended as a solution. It is just pointing out an existing GUI way to install and uninstall VPN plugins.

Revision history for this message
Steve Langasek (vorlon) wrote :

network-manager-openvpn-gnome is now included by default. Assigning to Desktop Team for evaluation of the other packages.

Changed in ubuntu-meta (Ubuntu):
assignee: nobody → Ubuntu Desktop (ubuntu-desktop)
information type: Public Security → Public
Revision history for this message
Steve Langasek (vorlon) wrote :

This was filed as an FFe back in 2018, and I don't see that the Desktop Team has acked the other additions to the defaut seed. Unsubscribing ubuntu-release.

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.