Can't connect to Juniper VPN when a 'Post Sign-In Message' is set

Katelyn Schiesser katelyn.schiesser at gmail.com
Tue Jun 14 13:55:04 PDT 2016


Here's the output of that, stripped of user/pass/etc:
http://www.slowbro.org/openconnect_juniper_dump.txt

Note the..

> Ignoring unknown form submit item 'sn-postauth-proceed'
> Ignoring unknown form submit item 'sn-postauth-decline'

I'm going to take a look at auth-juniper.c and see if I can get it workin'


Katelyn

On Tue, Jun 14, 2016 at 12:09 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> On Mon, 2016-06-13 at 21:39 -0700, Katelyn Schiesser wrote:
>>
>> I have been using openconnect to get on work's Juniper Pulse VPN for a
>> while, Recently, they changed things so that when we log in we are
>> greeted with a proceed/decline check and a message.
>>
>> This causes openconnect to tell me 'Failed to obtain WebVPN cookie' -
>> full log below.
>>
>> Is there anything I can do to get around this?
>
> Repeat the debug log with --dump-http-traffic.
>
> Implement yet another special case in our horribly hackish HTML form
> parsing code in auth-juniper, to 'extract' the interesting fields from
> the new page that you're seeing.
>
> Lament the fact that we really want a generic HTML renderer — the
> NetworkManager GUIs can use WebKit, and I'm not sure how to do text
> mode... maybe elinks can help?
>
> --
> dwmw2



More information about the openconnect-devel mailing list