All of lore.kernel.org
 help / color / mirror / Atom feed
* TCP fast retransmit issues
@ 2017-07-26 11:07 Klavs Klavsen
  2017-07-26 11:49 ` Eric Dumazet
  0 siblings, 1 reply; 21+ messages in thread
From: Klavs Klavsen @ 2017-07-26 11:07 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

Hi guys,

Me and my colleagues have an annoying issue with our Linux desktops and 
the company's Junos VPN.

We connect with openconnect (some use the official Pulse client) - which 
then opens up a tun0 device - and traffic runs through that.

If we try to scp a file of ~100MB (f.ex. linux-4.12.3.tar.xz :) - it 
stalls after sending 20-30% typicly.. then starts again after some time, 
and typicly dies before finishing. I've captured it with tcpdump (its a 
large 77Mb file - thats how far it got before it died :) - 
http://blog.klavsen.info/fast-retransmit-problem-junos-linux

I've attached an image of wireshark - where the (AFAIK) interesting part 
starts.. Where my client starts getting DUP ACK's.. but my Linux client 
does nothing :(
I've tried to upgrade to latest Ubuntu-mainline kernel build (4.12.3) 
and it changed nothing.

The problem goes away, if I do:
sysctl -w net.ipv4.tcp_sack=0

I've tried specificly enabling net.ipv4.tcp_fack=1 - but that did not 
help.

This is not an issue on Mac OSX or Windows clients.

None of the Linux users here figured, that could be a Linux kernel issue 
- but the evidence seems to suggest it - and all my googleing and 
reading does not lead me to any other conclusion.

It may ofcourse be that Junos has implemented the standard badly/wrongly 
- and Windows/Mac has done a workaround for that?

I hope you can help me figure out whats going wrong.

-- 
Regards,
Klavs Klavsen, GSEC - kl@vsen.dk - http://blog.klavsen.info - Tlf. 
61281200

"Those who do not understand Unix are condemned to reinvent it, poorly."
   --Henry Spencer

[-- Attachment #2: fast-retransmit-not-happening.png --]
[-- Type: image/png, Size: 323591 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-08-17 13:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 11:07 TCP fast retransmit issues Klavs Klavsen
2017-07-26 11:49 ` Eric Dumazet
2017-07-26 12:18   ` Klavs Klavsen
2017-07-26 13:31     ` Eric Dumazet
2017-07-26 13:42       ` Willy Tarreau
2017-07-26 14:32         ` Eric Dumazet
2017-07-26 14:50           ` Willy Tarreau
2017-07-26 16:43             ` Neal Cardwell
2017-07-26 17:06               ` Neal Cardwell
2017-07-26 18:38                 ` Neal Cardwell
2017-07-26 19:02                   ` Neal Cardwell
2017-07-28 22:54                     ` Neal Cardwell
2017-08-01  3:17                       ` Neal Cardwell
2017-07-28  6:53           ` Christoph Paasch
2017-07-26 14:08       ` Klavs Klavsen
2017-07-26 14:18         ` Willy Tarreau
2017-07-26 14:25           ` Klavs Klavsen
2017-07-26 14:38             ` Willy Tarreau
2017-07-28  6:36               ` Klavs Klavsen
2017-07-28  7:27                 ` Willy Tarreau
2017-08-17 13:20                   ` Jeremy Harris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.