Option Protocol gp (Palo Alto GlobalProtect) missing on nmcli

Bug #1857624 reported by Hugo
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
network-manager-openconnect
Fix Released
Unknown
network-manager-openconnect (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When you try to configure VPN from NetworkManager applet, after installing de openconnect dependencies, there is no way to select Protocol gp. It is necesary to config as Cisco, and then, in the configuration file ".connection" change protocol line to "protocol=gp"

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

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

Changed in network-manager-openconnect (Ubuntu):
status: New → Confirmed
Revision history for this message
Denilson Sá (denilsonsa) wrote :

Apparently, version 1.2.6 has GP support, but Ubuntu still has version 1.2.4. It would be nice to bump the package version.

https://gitlab.gnome.org/GNOME/NetworkManager-openconnect/blob/master/NEWS

Revision history for this message
Hugo (hugofernandez) wrote :

In development branch, in Ubuntu 20.04, now it has version 1.2.4. I think same as denilsonsa, it would be nice to update to 1.2.6 version. Is There another way to request this?

Revision history for this message
Luca Boccassi (bluca) wrote :

The following 2 patches we have in Debian can be added on 1.2.4 to support GP:

https://salsa.debian.org/debian/network-manager-openconnect/-/raw/master/debian/patches/0001-PAN-GlobalProtect-pass-gp-protocol-to-openconnect.patch
https://salsa.debian.org/debian/network-manager-openconnect/-/raw/master/debian/patches/0002-PAN-GlobalProtect-Add-gp-to-supported-protocols-list.patch

It would be really great if they could be picked up in time for 20.04, so that it can ship with support for GP. We use it at work in Microsoft and Ubuntu users rely on this.

Thanks!

tags: added: patch
Revision history for this message
Luca Boccassi (bluca) wrote :

The Debian version in experimental, 1.2.4-3, has the two patches mentioned in the previous comment that fix the issue for me.

tags: added: champagne
removed: patch
tags: added: patch
Revision history for this message
dwmw2 (dwmw2) wrote : Re: [Bug 1857624] Re: Option Protocol gp (Palo Alto GlobalProtect) missing on GUI

Rather than the hard-coded GP support, it would be better to merge the
later fix which just gets the list of protocols directly from
libopenconnect.

Revision history for this message
Luca Boccassi (bluca) wrote : Re: Option Protocol gp (Palo Alto GlobalProtect) missing on GUI

That would be even better, but as far as I understand also requires a new version of openconnect itself. Personally I'd be happy with just the hard-coded solution, as it solves the immediate problem of the VPN not being usable at all, but if the full work could be done for 20.04 that would be of course much better.

Revision history for this message
Luca Boccassi (bluca) wrote :

Debian Unstable now has the patch to enable gp via nmcli. It also has all the patches that were added downstream on Ubuntu in 19.10 and 20.04.

summary: - Option Protocol gp (Palo Alto GlobalProtect) missing on GUI
+ Option Protocol gp (Palo Alto GlobalProtect) missing on nmcli
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I verified the old fixes (and update maintainers)
+git_certkey_export.patch
+git_reported_os.patch
+git_sigint_disconnect.patch
+git_can_persist.patch
+git_tpm2_key.patch
+git_password_config.patch

Cross comparing:
network-manager-openconnect_1.2.4-2ubuntu1.dsc
network-manager-openconnect_1.2.4-2.dsc
network-manager-openconnect_1.2.4-4.dsc

Verified that all changes are in.
They are plus new fixes but no features that bother the Feature Freeze.

One confusing bit was git_sigint_disconnect.patch, but there the patch didn't just get polished but now appears as debian/patches/0003-service-use-SIGINT-to-stop-openconnect-on-disconnect.patch

Ack, this suffice as a fix-only update that should be synced

Changed in network-manager-openconnect (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This bug was fixed in the package network-manager-openconnect - 1.2.4-4

---------------
network-manager-openconnect (1.2.4-4) unstable; urgency=medium

  * Add myself to Uploaders.
  * Bump Standards-Version to 4.5.0, no changes.
  * Use https in d/control, d/copyright and d/watch.
  * Set Rules-Requires-Root: no.
  * Import patches shipped by Ubuntu 19.10 and 20.04.
  * Reformat patches imported from Ubuntu to follow DEP-3.

 -- Luca Boccassi <email address hidden> Thu, 12 Mar 2020 20:16:34 +0000

network-manager-openconnect (1.2.4-3) experimental; urgency=medium

  [ Luca Boccassi ]
  * Cherry-pick patches to support GlobalProtect (Closes: #925081)
  * Cherry-pick patch to use SIGINT rather than SIGTERM (Closes: #820892)

 -- Mike Miller <email address hidden> Mon, 06 May 2019 16:39:10 -0700

Changed in network-manager-openconnect (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The sync happened and is in, but didn't pass proposed migration yet.
=> https://launchpad.net/ubuntu/+source/network-manager-openconnect/1.2.4-4

Revision history for this message
Luca Boccassi (bluca) wrote :

git_sigint_disconnect.patch and debian/patches/0003-service-use-SIGINT-to-stop-openconnect-on-disconnect.patch are the same, both distros backported the same fix independently at the same time. In the Debian repo the latter was there first, so I dropped the one from the Ubuntu package. Patch is the exactly the same.

Thanks!

Changed in network-manager-openconnect:
status: Unknown → Fix Released
Revision history for this message
Luís Infante da Câmara (luis220413) wrote :

Fixed in Ubuntu 20.04 in version 1.2.6-1.

Changed in network-manager-openconnect (Ubuntu):
status: Fix Committed → Fix Released
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.