From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: [PATCH] add TCP protocol state event groups
Date: Thu, 21 Jun 2007 18:04:44 +0200 [thread overview]
Message-ID: <467AA19C.8000906@trash.net> (raw)
In-Reply-To: <467A9D9F.7070507@netfilter.org>
Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:
>
>>So far I presume conntrackd still listens to the global group. So
>>I would like to know how many groups we'll end up with until this
>>scheme is really fine-grained enough that it allows conntrackd
>>to avoid listening to the global group and what types of events
>>it would ignore (so I can understand the performance improvement
>>this might yield). The above still only contains protocol specific
>>groups.
>
>
> OK, let me develop the issue a bit more. In my initial experiments, I
> used the patch to replicate only TCP connections, so conntrackd was not
> listening the global group but just TCP state events. I currently have a
> clause that looks like:
>
> Replicate ESTABLISHED TIME_WAIT for TCP
>
> Thus, only established and time_wait states are replicated. My plan is
> to add similar clauses for other protocols so:
Is that set of states useful in real-life? How are connections
destroyed?
> Replicate ESTABLISHED for STCP
What does this exactly mean? Replicate messages that put the connection
in established state, or replicate all messages that happen while the
connection is in established state?
> Replicate NEW DESTROY for UDP
There aren't any other events for UDP anyway except STATUS
for the assured bit, and I guess you do want to replicate
that as well.
> Replica NEW DESTROY for UNCLASSIFIED
Same here, assuming UNCLASSIFIED will be proto generic in the
end.
Again, what I would like to understand before we add something
we have to live with forever is what it will look like in the
end and what the gain of it is, so I would like to see a realistic
example. Since the vast majority of updates is in TCP ESTABLISHED
state and basically everyone is going to synchronize that I have
a hard time believing that this is really going to give a notable
performance improvement.
I also only see new groups related to protocol states, what
about helpers, timeouts, ...?
next prev parent reply other threads:[~2007-06-21 16:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 18:05 [PATCH] add TCP protocol state event groups Pablo Neira Ayuso
2007-06-19 13:33 ` Patrick McHardy
2007-06-19 14:13 ` Pablo Neira Ayuso
2007-06-19 14:44 ` Patrick McHardy
2007-06-20 17:17 ` Pablo Neira Ayuso
2007-06-20 17:40 ` Patrick McHardy
2007-06-21 15:47 ` Pablo Neira Ayuso
2007-06-21 16:04 ` Patrick McHardy [this message]
2007-06-21 19:11 ` states worth to replicate [was Re: [PATCH] add TCP protocol state event groups] Pablo Neira Ayuso
2007-06-22 12:49 ` Patrick McHardy
2007-07-02 9:40 ` [PATCH] add TCP protocol state event groups Holger Eitzenberger
2007-07-02 15:36 ` 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=467AA19C.8000906@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@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.