public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phil Oester <kernel@linuxace.com>
To: "Darryl L. Miles" <darryl-mailinglists@netbauds.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TCP SACK issue, hung connection, tcpdump included
Date: Sun, 29 Jul 2007 08:30:49 -0700	[thread overview]
Message-ID: <20070729153049.GA13309@linuxace.com> (raw)
In-Reply-To: <46AC2CBE.5010500@netbauds.net>

On Sun, Jul 29, 2007 at 06:59:26AM +0100, Darryl L. Miles wrote:
> The problems start around time index 09:21:39.860302 when the CLIENT issues 
> a TCP packet with SACK option set (seemingly for a data segment which has 
> already been seen) from that point on the connection hangs.

I'd say most likely scenario is the SERVER is behind a Cisco Pix firewall,
which has known bugs in handling packets with sack option.  By default the Cisco
has sequence number randomization enabled, but it's a half-assed implementation
which doesn't bother adjusting the sequence numbers inside sack options.

This has been reported to Cisco, and they don't seem to care.  As a workaround,
you can do this:

	echo 0 > /proc/sys/net/ipv4/tcp_sack

and it will probably fix it up.  It'd be really nice, however, to have a per-route
option for sack, similar to how we can clamp window scaling per route.  Something
like the below

	ip r a <host> <gw> <nosack>

Phil

  parent reply	other threads:[~2007-07-29 15:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-29  5:59 TCP SACK issue, hung connection, tcpdump included Darryl L. Miles
2007-07-29  6:45 ` Willy Tarreau
2007-07-29  8:26   ` Ilpo Järvinen
2007-07-29  8:54     ` Willy Tarreau
2007-07-29  9:28       ` Ilpo Järvinen
2007-07-29 16:07         ` Willy Tarreau
2007-07-29 16:28           ` Ilpo Järvinen
2007-07-31  5:03           ` Darryl L. Miles
2007-08-02  9:23             ` Ilpo Järvinen
2007-08-02  9:26               ` David Miller
2007-08-02 16:58               ` Darryl Miles
2007-07-29  8:56     ` David Miller
2007-07-29  8:39   ` Jan Engelhardt
2007-07-29 15:30 ` Phil Oester [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-07-29 17:31 Darryl L. Miles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070729153049.GA13309@linuxace.com \
    --to=kernel@linuxace.com \
    --cc=darryl-mailinglists@netbauds.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox