Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Martin Kraus <lists_mk@wujiman.net>
Cc: netfilter@vger.kernel.org
Subject: Re: conntrackd, internal cache keeps filling up
Date: Fri, 9 May 2014 13:31:29 +0200	[thread overview]
Message-ID: <20140509113129.GA8031@localhost> (raw)
In-Reply-To: <20140505104058.GA30297@finrod>

On Mon, May 05, 2014 at 12:40:58PM +0200, Martin Kraus wrote:
> Hi.
> I'm running conntrackd 1.2.1 on debian wheezy between two routers with 
> conntrackd external cache disabled.
>
> After running for some time the states stop replicating due to conntrackd hitting
> HashLimit in the internal cache. When I looked at it it's basically broadcast
> and multicast connections that never time out even though they are no longer
> in the conntrack tables on both routers. I filtered some of it out using
> NOTRACK in iptables. That helped for a while but now it's back with 
> tcp LAST_ACK state.
> 
> tcp      6 LAST_ACK src=172.20.6.74 dst=172.20.20.23 sport=48818 dport=445 src=172.20.20.23 dst=172.20.6.74 sport=445 dport=48818 [ASSURED] [active since 249398s]
> tcp      6 LAST_ACK src=172.20.6.119 dst=172.20.20.21 sport=55843 dport=80 src=172.20.20.21 dst=172.20.6.119 sport=80 dport=55843 [ASSURED] [active since 15458s]
> tcp      6 LAST_ACK src=172.20.6.119 dst=172.20.20.21 sport=58573 dport=80 src=172.20.20.21 dst=172.20.6.119 sport=80 dport=58573 [ASSURED] [active since 7426s]
> tcp      6 LAST_ACK src=172.20.6.119 dst=172.20.20.21 sport=57923 dport=80 src=172.20.20.21 dst=172.20.6.119 sport=80 dport=57923 [ASSURED] [active since 9946s]
> tcp      6 LAST_ACK src=172.20.6.74 dst=172.20.20.23 sport=47560 dport=445 src=172.20.20.23 dst=172.20.6.74 sport=445 dport=47560 [ASSURED] [active since 252927s]
> 
> There's thousands of these entries and in a few days they'll fill up the
> internal cache and break internal routing.

Could you retry with lastest conntrackd version? 1.4.2.

You didn't specify your Linux kernel version either. Thanks.

  reply	other threads:[~2014-05-09 11:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 10:40 conntrackd, internal cache keeps filling up Martin Kraus
2014-05-09 11:31 ` Pablo Neira Ayuso [this message]
2014-05-10  6:17   ` Martin Kraus
2014-05-12 16:35     ` Pablo Neira Ayuso
2014-05-13 11:45       ` Martin Kraus
2014-05-13 12:04         ` Florian Westphal
2014-05-13 12:55           ` Pablo Neira Ayuso
2014-05-13 12:40         ` Pablo Neira Ayuso
2014-05-13 14:57           ` Martin Kraus
2014-07-11 16:27       ` Martin Kraus

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=20140509113129.GA8031@localhost \
    --to=pablo@netfilter.org \
    --cc=lists_mk@wujiman.net \
    --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