All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Menno Smits <menno@netboxblue.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: conntrack table filling up due to missing ACKs near the end of a TCP session
Date: Mon, 03 Jul 2006 20:19:34 +0200	[thread overview]
Message-ID: <44A95FB6.8050007@trash.net> (raw)
In-Reply-To: <44A94ED1.2030204@netboxblue.com>

Menno Smits wrote:
> I tried enabling invalid packet logging like you suggested but nothing
> was logged.

Forgot to mention, you need to have one of ipt_LOG or ipt_ULOG loaded,
in case of ipt_ULOG you also need the ulog daemon running.

> Turning off connection pickup via ip_conntrack_tcp_loose fixes the
> problem. There definitely seems to be an issue with packets being
> associated with the wrong connection.
> 
> I've looked a little closer at the dodgy connections in the table
> (before the workaround). They are always of one of two forms, 2 packets
> sent or 3 packets sent:
> 
> tcp      6 51949 ESTABLISHED src=pri.ma.ry.ip dst=sec.ond.ary.ip
> sport=25 dport=38755 packets=3 bytes=183 [UNREPLIED] src=sec.ond.ary.ip
> dst=pri.ma.ry.ip sport=38755 dport=25 packets=0 bytes=0 mark=0 use=1
> 
> tcp      6 48900 ESTABLISHED src=pri.ma.ry.ip dst=sec.ond.ary.ip
> sport=25 dport=57868 packets=2 bytes=122 [UNREPLIED] src=sec.ond.ary.ip
> dst=pri.ma.ry.ip sport=57868 dport=25 packets=0 bytes=0 mark=0 use=1
> 
> The IPs, packet counts and byte counts are always identical. Only the
> non-port-25 ports change.
> 
> Are you interested in packet dumps of the connections that cause this
> behaviour? I have some here.

Yes, that might give some clues. Just send it to me in private or
on-list, as you like.

      reply	other threads:[~2006-07-03 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30 14:19 conntrack table filling up due to missing ACKs near the end of a TCP session Menno Smits
2006-06-30 14:53 ` Patrick McHardy
2006-07-03 17:07   ` Menno Smits
2006-07-03 18:19     ` Patrick McHardy [this message]

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=44A95FB6.8050007@trash.net \
    --to=kaber@trash.net \
    --cc=menno@netboxblue.com \
    --cc=netfilter-devel@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.