From: Ed W <lists@wildgooses.com>
To: Patrick McHardy <kaber@trash.net>
Cc: Jan Engelhardt <jengelh@medozas.de>,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: Re: Possible conntrack/kernel bug - not catching certain ICMP packets
Date: Thu, 21 Jul 2011 09:43:29 +0100 [thread overview]
Message-ID: <4E27E6B1.4030606@wildgooses.com> (raw)
In-Reply-To: <4E27C458.5030605@trash.net>
On 21/07/2011 07:16, Patrick McHardy wrote:
> It's expected behaviour since ICMP packets related to an existing
> connection don't refresh the connection and are not accounted.
> I don't have an opinion on whether they should be accounted, I
> guess you could argue both ways.
Thanks for the feedback.
I guess I was hoping that conntrack could be used for accurate bandwidth
accounting, however, it seems to ignore this type of packet, so it's
count is going to deviate from a simple interface byte counter?
I don't see the argument for *not* counting the bytes from the ICMP
packet though? Surely the goal of conntrack is that everything is
scooped into some connection? It seems like in this case conntrack
labels this packet as belonging to the connection, BUT doesn't update
the packet or byte counts - this seems like a half and half situation?
Thanks for replying - interested to hear the arguments against
refreshing byte counts given that conntrack has already marked it as
related?
Cheers
Ed W
next prev parent reply other threads:[~2011-07-21 8:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-15 11:45 Possible conntrack/kernel bug - not catching certain ICMP packets Ed W
2011-07-18 11:36 ` Ed W
2011-07-18 12:16 ` Jan Engelhardt
2011-07-20 21:45 ` Ed W
2011-07-21 6:16 ` Patrick McHardy
2011-07-21 8:43 ` Ed W [this message]
2011-07-21 9:14 ` Patrick McHardy
2011-07-25 23:45 ` Jan Engelhardt
2011-07-26 13:00 ` Patrick McHardy
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=4E27E6B1.4030606@wildgooses.com \
--to=lists@wildgooses.com \
--cc=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@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 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.