From: Zan Lynx <zlynx@acm.org>
To: Krzysztof Oledzki <ole@ans.pl>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Bug with Fedora's 2.6.23.9-85 kernel (at least) and ESTABLISHED and SACK
Date: Mon, 28 Jan 2008 10:06:18 -0700 [thread overview]
Message-ID: <1201539978.6526.7.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.64.0801281434100.10533@bizon.gios.gov.pl>
[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]
On Mon, 2008-01-28 at 14:38 +0100, Krzysztof Oledzki wrote:
>
> On Sun, 27 Jan 2008, Zan Lynx wrote:
>
> > Please CC me on any replies as I am not subscribed.
> >
> > I was downloading a new Google Earth when I noticed a LOT of max-size dropped
> > packets in my firewall log. I only allow RELATED,ESTABLISHED sessions into
> > my firewall.
> >
> > tcpdump showed that every time Google sent a packet to satisfy the missing
> > data identified by SACK, that packet was rejected. So it must have been
> > missing the ESTABLISHED rule.
> >
> > I fixed the problem by adding an ALLOW source port 80 rule for the Google
> > download site IP.
> >
> > This makes me wonder how often this has happened and I haven't noticed it.
> > Is this a known bug or something new?
>
> Which kernel version?
As in the Subject, Fedora's 2.6.23.9-85.
>
> Most likely there is a broken box along the path that mangles seq numbers
> but forgets about sacks. Could you please provide a dump:
> "tcpdump -v -S host (...)"?
I have not yet been able to reproduce it so I cannot provide a dump.
I doubt that the sequence numbers were being mangled. I doubt this
because as soon as I added the rule to accept all port 80 packets from
the server IP, the TCP session accepted the packet with the missing data
and the hole described by the SACK options disappeared. The session was
sourced from the machine itself via a Squid proxy.
>
> As a short-term workaround you may disable net.ipv4.tcp_sack or use
> TCPOPTSTRIP to strip SackOK advertisement to the host.
Yes, I could do this if it seems to happen again. I will keep an eye on
it.
>
> Best regards,
>
> Krzysztof Oledzki
--
Zan Lynx <zlynx@acm.org>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-01-28 17:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 5:14 Bug with Fedora's 2.6.23.9-85 kernel (at least) and ESTABLISHED and SACK Zan Lynx
2008-01-28 9:53 ` Jan Engelhardt
2008-01-28 17:07 ` Zan Lynx
2008-01-28 13:38 ` Krzysztof Oledzki
2008-01-28 17:06 ` Zan Lynx [this message]
2008-01-28 21:06 ` Krzysztof Oledzki
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=1201539978.6526.7.camel@localhost \
--to=zlynx@acm.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=ole@ans.pl \
/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.