All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@eurodev.net>
To: Eric Leblond <eric@inl.fr>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: libconntrack usage
Date: Sun, 04 Dec 2005 01:48:15 +0100	[thread overview]
Message-ID: <43923CCF.1000306@eurodev.net> (raw)
In-Reply-To: <1133656782.17460.11.camel@porky>

Hi Eric,

Eric Leblond wrote:
> INL has develop a daemon (nutrackd) which use the libconntrack. It opens
> event handler for DESTROY event and to register the callback it uses :
> 	nfct_register_callback(cth, update_handler, NULL);
> and this work well, our handler is called.
> 
> But is still display [DESTROY] on stdout after each message.
> 
> By doing :
>     nfct_unregister_callback(cth);
>     nfct_register_callback(cth, update_handler, NULL);
> we manage to suppress the useless message.
> 
> Is this a bug or a feature ?

Curiously I noticed that some hours ago, I fixed in the last SVN commit
together with some changes. That will fix your problem. Check out a
working copy from SVN.

BTW, nfct_event_display_handler doesn't exist anymore, now you have to
use nfct_conntrack_display_handler instead.

cheers.

-- 
Pablo

      reply	other threads:[~2005-12-04  0:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-04  0:39 libconntrack usage Eric Leblond
2005-12-04  0:48 ` Pablo Neira Ayuso [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=43923CCF.1000306@eurodev.net \
    --to=pablo@eurodev.net \
    --cc=eric@inl.fr \
    --cc=netfilter-devel@lists.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.