All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Phil Oester <kernel@linuxace.com>,
	Netfilter Development Mailinglist
	<netfilter-devel@vger.kernel.org>
Subject: Re: [RFC] generic CONNTRACK target
Date: Tue, 15 Jan 2008 07:42:50 +0100	[thread overview]
Message-ID: <478C55EA.1070506@trash.net> (raw)
In-Reply-To: <478B8B74.3070903@netfilter.org>

Pablo Neira Ayuso wrote:
> Also, I'd like to discuss some kind of mechanisms to reduce the number
> of event messages generated by ctnetlink such as introducing
> IPCT_VOLATILE to explicitly tell ctnetlink ignore certain events via
> iptables. I think that, ideally, an alternative can be some kind of
> ctnetlink filtering based on unicast netlink socket (similar to
> nfnetlink_queue) in which we attach a filter via CMD_SUBSCRIBE_EVENTS or
> something. This solution let us define a per-socket filter in the style
> of BSF. However, this means that we'll need a complete filtering
> facility for ctnetlink to classify events, and iptables already provides
> such classificator. This is intended to reduce the CPU consumption of
> conntrackd (around 25% avg, 45% max, in my testbed [1] with 2500 HTTP
> GET request per second) by only replicating TCP ESTABLISHED states.
> 
> Any ideas?


The part that supresses conntrack events seems useful, why not
simply split it in a seperate module? It would be even more useful
if we had a match to match on conntrack protocol states I guess.

      parent reply	other threads:[~2008-01-15  6:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 16:19 [RFC] generic CONNTRACK target Pablo Neira Ayuso
2008-01-14 16:29 ` Pablo Neira Ayuso
2008-01-14 17:00   ` Jan Engelhardt
2008-01-15  6:40   ` Patrick McHardy
2008-01-15 12:27     ` Jan Engelhardt
2008-01-15 14:11       ` Patrick McHardy
2008-01-15  6:42 ` 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=478C55EA.1070506@trash.net \
    --to=kaber@trash.net \
    --cc=kernel@linuxace.com \
    --cc=netfilter-devel@vger.kernel.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.