Downloading XML config in xmlpost mode

David Woodhouse dwmw2 at infradead.org
Tue Jun 17 01:09:38 PDT 2014


On Tue, 2014-06-17 at 08:55 +0100, David Woodhouse wrote:
> When I connect to my VPN server with '--no-xmlpost -x foo.xml', I end up
> downloading the config file into foo.xml and it gives me the list of
> available servers in the rotation.
> 
> The NetworkManager GUI tool will use this, and populate a drop-down list
> with them.
> 
> When I let it use XML post mode, it doesn't download the config. Is that
> intentional?

Ah, instead of finding its location in the webvpnc cookie, I suppose
we're supposed to extract it out of this...

< <?xml version="1.0" encoding="UTF-8"?>
< <config-auth client="vpn" type="complete">
 ...
< <vpn-profile-manifest>
< <vpn rev="1.0">
< <file type="profile" service-type="user">
< <uri>/CACHE/stc/profiles/OrionAnyConnect_Linux.xml</uri>
< <hash type="sha1">BE9E2E504509B3EB6C0A1B4E323F5E1EFCA84659</hash>
< </file>
< </vpn>
< </vpn-profile-manifest>
< </config>
< </config-auth>



-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140617/76cb6ef1/attachment.bin>


More information about the openconnect-devel mailing list