From: Andy Smith <andy@strugglers.net>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@lists.netfilter.org
Subject: Re: Why does this connection stop being tracked?
Date: Wed, 15 Jun 2005 11:30:45 +0000 [thread overview]
Message-ID: <20050615113045.GF754@strugglers.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0506151312470.27260@blackhole.kfki.hu>
[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]
Thanks Jozsef for looking at this.
On Wed, Jun 15, 2005 at 01:18:38PM +0200, Jozsef Kadlecsik wrote:
> On Tue, 14 Jun 2005, Andy Smith wrote:
>
> > In dom0 I have iptables running, with the eb-nf support of linux
> > 2.6.11 and the physdev module loaded so that I can match traffic
> > coming in to each of my user domains.
> [...]
> > Now, I have noticed that while this works most of the time, for
> > reasons unknown to me, some TCP connections just seem to stop being
> > tracked and hit the DROP rule. Even though they have been tracked
> > fine for several hours. This happens on every user domain to all
> > kinds of TCP connections, but I have pared the ruleset down to just
> > the one domain (strugglers.net) and SSH to demonstrate.
>
> You have two choices: either disable TCP SACK support on all your
> real/virtual machines behind your firewall, or upgrade the kernel on the
> firewall.
Do you have any instructions or a pointer to documentation onhow to
temporarily disable SACK? If it was a /proc setting that would be
ideal; I don't really want to have to recompile kernels though.
> There is a SACK related bug in netfilter connection tracking in
> 2.6.11 (and below). According to the dumped traffic your connections
> suffer from packet losses,
Interesting; this may explain why I only notice this when I'm coming
from 82.44.131.131 - its network is kind of sucky. :)
> SACK kicks in and conntrack screws up tracking
> the given TCP connections. (Sorry, I can't recall at which rc release was
> the fix submitted in.)
How sure are you that this is the problem I am seeing?
Thanks again for your help.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-15 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 16:11 Why does this connection stop being tracked? Andy Smith
2005-06-15 11:18 ` Jozsef Kadlecsik
2005-06-15 11:30 ` Andy Smith [this message]
2005-06-15 11:47 ` Jozsef Kadlecsik
2005-06-15 16:07 ` R. DuFresne
2005-06-15 16:10 ` Andy Smith
2005-06-15 16:24 ` R. DuFresne
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=20050615113045.GF754@strugglers.net \
--to=andy@strugglers.net \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter@lists.netfilter.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 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.