From: Robert L Mathews <lists@tigertech.com>
To: netfilter@vger.kernel.org
Subject: Re: conntrack and ESTABLISHED / UNREPLIED connections
Date: Thu, 10 Jul 2008 17:45:55 -0700 [thread overview]
Message-ID: <4876AD43.3020205@tigertech.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807101247240.13027@blackhole.kfki.hu>
Jozsef Kadlecsik wrote:
> Client sends RST, which is out of (before) the window (left edge is at
> 2354211889), thus ignored by the server.
That makes sense, but it seems like conntrack processes the RST and
marks the original connection as closed, then treats the server resends
as new outgoing connections, which doesn't seem right.
In other words, if the server's TCP stack is ignoring the RST, shouldn't
conntrack ignore it, too?
It apparently doesn't -- I used the "conntrack -E" tool to show a log of
these connections, and it definitely shows it handling the RST, then
detecting a new connection in the other direction from the retried
outgoing packets.
Here's an example of one:
http://www.tigertech.net/20080710.txt
This includes the tcpdump, plus (at the end) the output of the
"conntrack" tool used in both directions, showing how it incorrectly
detected a new connection in the outbound direction. Unfortunately the
conntrack output doesn't show timestamps, but I was watching it, and the
spurious outbound "connection" was detected during the retries, within
maybe 30 seconds after the incoming connection was DESTROYed.
> You wrote the client runs Mac OS X 10.4.11. I don't really know what's
> wrong with it but it seems as a client related issue - or an ISP between
> the client and server which tries to generate fake RST packets to tear
> down connections.
Whatever it is, it's unfortunately quite common -- as I said, any of our
reasonably-busy Web servers show thousands of such phantom connections
from hundreds of unique IP addresses.
--
Robert L Mathews, Tiger Technologies
next prev parent reply other threads:[~2008-07-11 0:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 20:08 conntrack and ESTABLISHED / UNREPLIED connections Robert L Mathews
2008-07-07 23:04 ` Robert L Mathews
2008-07-08 9:42 ` Jozsef Kadlecsik
2008-07-08 17:38 ` Robert L Mathews
2008-07-09 6:54 ` Jozsef Kadlecsik
2008-07-09 16:22 ` Robert L Mathews
2008-07-10 12:44 ` Jozsef Kadlecsik
2008-07-11 0:45 ` Robert L Mathews [this message]
2008-07-14 8:55 ` Jozsef Kadlecsik
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=4876AD43.3020205@tigertech.com \
--to=lists@tigertech.com \
--cc=netfilter@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