netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to access conntrack connection expiration in a netfilter module?
@ 2012-10-01 21:17 Ed W
  2012-10-02 17:02 ` Ed W
  2012-10-02 18:17 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 6+ messages in thread
From: Ed W @ 2012-10-01 21:17 UTC (permalink / raw)
  To: netfilter-devel

Hi, I'm trying to update the opendpi-netfilter module to work with more 
recent kernels and the ntop ndpi fork of the code (now that opendpi 
seems to have gone away)

The netfilter module registers a conntrack notifier in order to release 
resources once a conntrack is destroyed
https://github.com/ewildgoose/ndpi-netfilter/blob/master/src/main.c
This is not possible though, if you also want to have conntrack events 
through netlink... ( NF_CT_NETLINK grabs the conntrack notifier first)

Now I have read the history on why this is the case, but what are the 
obvious workarounds to this situation?  Can we extend the conntrack 
connection with custom properties? Anything better than simply scanning 
my flows occasionally and comparing with the conntrack list to see if 
they have gone away?

Thanks for any thoughts

Ed W


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-29 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 21:17 How to access conntrack connection expiration in a netfilter module? Ed W
2012-10-02 17:02 ` Ed W
2012-10-02 18:17 ` Pablo Neira Ayuso
2012-10-03  7:35   ` Ed W
2012-10-03  8:25     ` Pablo Neira Ayuso
2013-05-29 19:22       ` Aidan McGurn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).