]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
when connecting to a GlobalProtect portal (not gateway), generate an xmlconfig so...
authorDaniel Lenski <dlenski@gmail.com>
Tue, 15 Aug 2017 04:32:05 +0000 (21:32 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 15 Aug 2017 07:43:08 +0000 (08:43 +0100)
commit9e3952f105c24d4432e5fbcf9e0487d672d18239
tree9cef4bb9fea7f420011274698fdb116c69b12d28
parent615c0aa96ba508f3e77b1a65d9d6863822d3d1b0
when connecting to a GlobalProtect portal (not gateway), generate an xmlconfig so that NetworkManager can list all the gateway servers

GlobalProtect distinguishes "portal" and "gateway" servers.  Often the same
server supports both (/global-protect URLs are for the portal, /ssl-vpn URLs
are for the gateway).  The official clients always connect through the
portal.  Mostly, the portal configuration is not useful for OpenConnect; it
restricts the behavior of the official clients.

However, the portal configuration does contain a list of allowed gateways
(just as AnyConnect VPNs can list other servers).

This commit generates an xmlconfig in the same format as AnyConnect VPNs, so
that the NetworkManager plugins can list all the supported gateways.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
auth-globalprotect.c