Failed to obtain WebVPN cookie introduced by f08767d9644029bd3ac0e83bf160a7bf03a5c8de

2018-12-26 Thread Adam Mercer
Hi Work have recently switched to a GlobalProtect VPN so in order to connect from Linux I've need to build the client from git. I cloned the repository, built and was unable to connect to the VPN, it would fail with: ram:~/ $ sudo openconnect --protocol=gp --user= Failed to obtain WebVPN cookie

Re: Failed to obtain WebVPN cookie introduced by f08767d9644029bd3ac0e83bf160a7bf03a5c8de

2018-12-28 Thread Adam Mercer
On Thu, Dec 27, 2018 at 11:16 PM Daniel Lenski wrote: > Good sleuthing. In the commit you bisected to, > f08767d9644029bd3ac0e83bf160a7bf03a5c8de, the return value of > asprintf() isn't being checked correctly. > I've submitted a MR to fix this: >

MFA with GlobalProtect

2022-03-04 Thread Adam Mercer
Hi We use a GlobalProtect VPN at work and they recently required the usage of Microsoft MFA when connecting, I've been trying to get this working with openconnect but have been having problems. I've built the latest client from git and am using: # openconnect --protocol=gp vpn.address.com and

Re: MFA with GlobalProtect

2022-03-07 Thread Adam Mercer
On Mon, Mar 7, 2022 at 5:50 PM Daniel Lenski wrote: > For now, I recommend that you try out > https://github.com/dlenski/gp-saml-gui, which is a front-end script > that I wrote to do the authentication via a graphical pop-up, and then > to pass the correct arguments along to OpenConnect. Thanks

Re: MFA with GlobalProtect

2022-03-07 Thread Adam Mercer
On Mon, Mar 7, 2022 at 6:51 PM Adam Mercer wrote: > Thanks a lot, I've installed this script and then run: > > $ ./gp-saml-gui --portal vpn.address.com > > it tells me to use --portal if I specify --gateway, I authenticate and > then when I try to run the command it returns I