Bug#847135: openconnect: vpn connection mtu too big

2016-12-19 Thread Steinar H. Gunderson
On Mon, Dec 19, 2016 at 09:53:06AM -0800, Mike Miller wrote:
> That it affects only some people does not make it grave, but I'll
> compromise with serious. Regardless of severity, 7.08 is coming soon,
> which is expected to fix this. I hope you will update to it before it
> hits testing and let us know if there are still problems.

Hi,

serious and grave are actually equal severities -- serious is for Policy
violations, and grave is for functional issues. But the main point is that
it's RC, so that it gets properly tracked for stretch.

/* Steinar */
-- 
Homepage: https://www.sesse.net/



Bug#847135: openconnect: vpn connection mtu too big

2016-12-19 Thread Mike Miller
Control: severity -1 serious
Control: tags -1 + pending

On Mon, Dec 19, 2016 at 10:08:24 +0100, Steinar H. Gunderson wrote:
> I'm seeing this, too, and it makes VPN completely unusable for me (upgraded
> from 7.06). I'm a bit surprised this was allowed to go into testing, but
> stretch should definitely not be released with such a bug; upgrading to RC.

That it affects only some people does not make it grave, but I'll
compromise with serious. Regardless of severity, 7.08 is coming soon,
which is expected to fix this. I hope you will update to it before it
hits testing and let us know if there are still problems.

-- 
mike



Bug#847135: openconnect: vpn connection mtu too big

2016-12-19 Thread Steinar H. Gunderson
severity 847135 grave
thanks

On Mon, Dec 05, 2016 at 09:04:57PM +, martin wrote:
> * What led up to the situation?
> Connecting to the VPN
> Any connection sending large amounds of data fails
> http downloads of any non trivial file, opening a remote desktop connection

Hi,

I'm seeing this, too, and it makes VPN completely unusable for me (upgraded
from 7.06). I'm a bit surprised this was allowed to go into testing, but
stretch should definitely not be released with such a bug; upgrading to RC.

> Adding the script as proposed at the top of the thread works well as does just
> setting the MTU to a lower value after connecting
> 
> ip link set vpn0 mtu 1186

This workaround works for me; thanks for figuring it out. :-)

/* Steinar */
-- 
Homepage: https://www.sesse.net/



Bug#847135: openconnect: vpn connection mtu too big

2016-12-10 Thread Martin

> So you believe git master fixes this issue for you and if/when 7.08
> becomes available you would consider this resolved?

I should probably add that I've been using it exclusively since and it's
been working well

Thanks,
M



Bug#847135: openconnect: vpn connection mtu too big

2016-12-10 Thread Martin
> So you believe git master fixes this issue for you and if/when 7.08
> becomes available you would consider this resolved?

Yes, happy to close with the new version.

Thanks,
M



Bug#847135: openconnect: vpn connection mtu too big

2016-12-09 Thread Mike Miller
Control: tags -1 + fixed-upstream

On Tue, Dec 06, 2016 at 21:38:50 -, Martin wrote:
> Please would you consider packaging the newer version as I doubt I'll be
> the only person to hit this and the new version does make it all simply
> work.
> 
> The current packaged version seems to drop packets with it's MTU, I see
> missed sequences in the packet trace and retransmissions but I never get
> the missed packets back. The connections either drop or sit there
> waiting...
> 
> 
> Though the new version seems to ignore the interface mtu setting when
> choosing the MTU, it does seems to work which makes me very happy.

So you believe git master fixes this issue for you and if/when 7.08
becomes available you would consider this resolved?

Thanks,

-- 
mike



Bug#847135: openconnect: vpn connection mtu too big

2016-12-06 Thread Martin
Please would you consider packaging the newer version as I doubt I'll be
the only person to hit this and the new version does make it all simply
work.

The current packaged version seems to drop packets with it's MTU, I see
missed sequences in the packet trace and retransmissions but I never get
the missed packets back. The connections either drop or sit there
waiting...


Though the new version seems to ignore the interface mtu setting when
choosing the MTU, it does seems to work which makes me very happy.

interfaces:
2: wlp58s0:  mtu 1280 qdisc mq state UP
mode DORMANT group default qlen 1000
3: vpn0:  mtu 1401 qdisc
pfifo_fast state UP mode DEFAULT group default qlen 500

I would have expected the vpn connection to have a smaller mtu than that
of the network interface it was running over.

Also I wouldn't be surprised if our VPN end point had firewalls that
prevented easy MTU discovery.

Thanks,
M



Bug#847135: openconnect: vpn connection mtu too big

2016-12-06 Thread David Woodhouse
On Tue, 2016-12-06 at 07:53 +, Martin wrote:
> including the bug tacker this time (and extra notes at the end):
> 
> From the command line on 7.08 I get:
> 
> Established DTLS connection (using GnuTLS). Ciphersuite
> (DTLS0.9)-(DHE-RSA-4294967237)-(AES-128-CBC)-(SHA1).
> Too long time in MTU detect loop; MTU set to 1401.
> Detected MTU of 1401 bytes (was 1406)
> 
> However the newer version works fine after this and the old version doesn't
> 
> Though obviously the MTU is wrong but the new version does somehow cope.
> 
> I'll try and find time to investigate why it's timing out detecting the MTU

The MTU detection is not perfect yet. You can add '-v -v' and see more
information about what it's doing.

-- 
dwmw2

smime.p7s
Description: S/MIME cryptographic signature


Bug#847135: openconnect: vpn connection mtu too big

2016-12-05 Thread Martin
including the bug tacker this time (and extra notes at the end):

>From the command line on 7.08 I get:

Established DTLS connection (using GnuTLS). Ciphersuite
(DTLS0.9)-(DHE-RSA-4294967237)-(AES-128-CBC)-(SHA1).
Too long time in MTU detect loop; MTU set to 1401.
Detected MTU of 1401 bytes (was 1406)

However the newer version works fine after this and the old version doesn't

Though obviously the MTU is wrong but the new version does somehow cope.

I'll try and find time to investigate why it's timing out detecting the MTU



Bug#847135: openconnect: vpn connection mtu too big

2016-12-05 Thread David Woodhouse
Hm, if you use OpenConnect on the command line do you see the same
problem? What MTU does OpenConnect actually ask for? And if you update
to the latest version from git (which I really ought to release as 7.08
some time soon) does that fix it?

The Arch bug you link is ancient; that sounds like it's from the days
when NetworkManager didn't actually honour the MTU that OpenConnect
requested. That shouldn't be the case nowadays.

-- 
dwmw2

smime.p7s
Description: S/MIME cryptographic signature


Bug#847135: openconnect: vpn connection mtu too big

2016-12-05 Thread martin
Package: openconnect
Version: 7.07-1
Severity: important

Dear Maintainer,

* What led up to the situation?
Connecting to the VPN
Any connection sending large amounds of data fails
http downloads of any non trivial file, opening a remote desktop connection

* What exactly did you do (or not do) that was effective (or ineffective)?
connections fail when sending large data as the packet size is too bug

* What was the outcome of this action?
Connections seem to hand or fail

* What outcome did you expect instead?
Successful data transfer

Please see this for discussion of the problem:
https://bbs.archlinux.org/viewtopic.php?id=200183

Adding the script as proposed at the top of the thread works well as does just
setting the MTU to a lower value after connecting

ip link set vpn0 mtu 1186

please could we fix this, it took a little tracking down and I imagine others
might find this harder to find.

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.3 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openconnect depends on:
ii  libc62.24-5
ii  libgnutls30  3.5.6-7
ii  libopenconnect5  7.07-1
ii  libproxy1v5  0.4.13-1.1
ii  libxml2  2.9.4+dfsg1-2.1
ii  vpnc-scripts 0.1~git20150318-1

openconnect recommends no packages.

openconnect suggests no packages.

-- no debconf information