From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Julien Vehent <julien@linuxwall.info>
Cc: netfilter <netfilter@vger.kernel.org>
Subject: Re: Conntrack & Unreplied exhausts hashsize
Date: Sat, 16 Jun 2012 21:39:59 +0200 [thread overview]
Message-ID: <20120616193959.GB20265@1984> (raw)
In-Reply-To: <be60760695706721924e9a5008138b3f@njm.linuxwall.info>
On Tue, Jun 12, 2012 at 07:22:10AM -0400, Julien Vehent wrote:
[...]
> So, I've been monitoring conntrack for a few days now, and I can
> definitely see the UNREPLIED connections get removed when the space
> is needed for new connections. Which is the intended behavior.
>
> http://4u.1nw.eu/conntrack_stat6.png
You have lots of entries in ESTABLISHED but UNREPLIED state according
to that figure. Probably someone is sending you forged TCP packets to
enter that state and /proc/sys/net/netfilter/nf_conntrack_tcp_loose is
not set to zero.
portscan tools like nmap can produce this.
> However, I still get `nf_conntrack: table full, dropping packet` in
> my logs from time to time. Should I be worried about those ? Are
> they related to conntrack removing UNREPLIED connections ?
That means it's dropping packets, so you should worry about that, of
course.
The conntrack table can store a limited a number of flow objects. You
probably need to increase that amount.
Still, you should investigate what's going on with your rule-set
configuration and the network traffic that is causing such population.
Wireshark should help.
next prev parent reply other threads:[~2012-06-16 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-09 20:15 Fwd: Re: Conntrack & Unreplied exhausts hashsize Julien Vehent
2012-06-12 11:22 ` Julien Vehent
2012-06-16 19:39 ` Pablo Neira Ayuso [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-09 15:12 Julien Vehent
2012-06-09 18:15 ` Marco Padovan
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=20120616193959.GB20265@1984 \
--to=pablo@netfilter.org \
--cc=julien@linuxwall.info \
--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