All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Luca Pesce <pesce.luca@gmail.com>
Cc: Nils Rennebarth <Nils.Rennebarth@web.de>,
	netfilter-devel@vger.kernel.org
Subject: Re: How to register conntrack notifier
Date: Fri, 13 Nov 2009 11:50:54 +0100	[thread overview]
Message-ID: <4AFD3A0E.7090602@netfilter.org> (raw)
In-Reply-To: <873dce860911130039q2e0ecf38nfeaeaa8cd030cadc@mail.gmail.com>

Luca Pesce wrote:
> Ok, so newer kernels opted for performance, giving that on 99% of the
> time only nf_conntrack_netlink uses event notifier callbacks, which is
> usually the case...

Looking at the kernel code, there's no other client of that notifier 
chain that ctnetlink.

> But I am curious...what if another kernel module needs to receive
> conntrack events? Are there any way to keep track of events in kernel
> space while nf_conntrack_netlink is holding the one and only callback
> hook?

Then, that new module would need to be submitted to mainline. Of course 
it should be something that proves to be useful for the general public. 
Sorry, we won't introduce the notifier chain again for an out-of-tree 
module.

  reply	other threads:[~2009-11-13 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 15:03 How to register conntrack notifier Nils Rennebarth
2009-10-28 12:14 ` Pablo Neira Ayuso
2009-11-12 10:52   ` Luca Pesce
2009-11-12 12:13     ` Pablo Neira Ayuso
2009-11-13  8:39       ` Luca Pesce
2009-11-13 10:50         ` Pablo Neira Ayuso [this message]
2009-11-13 14:18           ` Luca Pesce

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=4AFD3A0E.7090602@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=Nils.Rennebarth@web.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pesce.luca@gmail.com \
    /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.