* libconntrack usage
@ 2005-12-04 0:39 Eric Leblond
2005-12-04 0:48 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Eric Leblond @ 2005-12-04 0:39 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
Hi,
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 ?
BR,
--
Eric Leblond <eric@inl.fr>
INL
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: libconntrack usage
2005-12-04 0:39 libconntrack usage Eric Leblond
@ 2005-12-04 0:48 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2005-12-04 0:48 UTC (permalink / raw)
To: Eric Leblond; +Cc: netfilter-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-04 0:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-04 0:39 libconntrack usage Eric Leblond
2005-12-04 0:48 ` Pablo Neira Ayuso
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.