]> 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, 27 Feb 2018 15:27:03 +0000 (16:27 +0100)
commitef5fb4b04feb293a04e3e129393715abece7e3f4
tree4d78f2fc36e165ff7cdae771fa13a94c359635c2
parent7267c28495cde0f769ba4fb194cf66dbc296a4b6
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