Random connectivity loss

David Woodhouse dwmw2 at infradead.org
Tue Jul 25 13:31:55 PDT 2017


> I'm on Gentoo with OpenConnect 7.08 and GnuTLS 3.5.13.
>
> When I connect to my company's VPN, it prompts me to enter my username and
> password as well as an access token, which I receive via SMS. After
> connecting, I'm able to access internal resources, but only for a limited
> time. Usually the connection drops after a random amount of time, but
> there's
> nothing in the output from openconnect that indicates so. I'm just unable
> to
> access the internal resources anymore, so I have to reconnect. Sending a
> SIGUSR2 signal to the process doesn't fix the issue, either. I have to
> kill
> the process and enter my credentials again, which uses up another access
> token.

First guess would be that your local routing is getting messed up. Show
output of 'ip route' when you first connect, then when it breaks. It is
likely to happen on DHCP refresh. If that's it, then if you were using
NetworkManager it wouldn't happen.

-- 
dwmw2




More information about the openconnect-devel mailing list