netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Allocating and destroying connection-related data
@ 2012-09-17 11:41 Nicole
  2012-09-17 12:31 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Nicole @ 2012-09-17 11:41 UTC (permalink / raw)
  To: Netfilter Developer Mailing List

Dear All,

Do you have a tutorial (or example) for how to write a module that
allocates and destroys its own small amount of data that can be
associated with any connection, including those for which a connection
tracker is already used?

Many thanks

Nicole

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

* Re: Allocating and destroying connection-related data
  2012-09-17 11:41 Allocating and destroying connection-related data Nicole
@ 2012-09-17 12:31 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2012-09-17 12:31 UTC (permalink / raw)
  To: Nicole; +Cc: Netfilter Developer Mailing List

On Mon, Sep 17, 2012 at 12:41:05PM +0100, Nicole wrote:
> Dear All,
> 
> Do you have a tutorial (or example) for how to write a module that
> allocates and destroys its own small amount of data that can be
> associated with any connection, including those for which a connection
> tracker is already used?

There is not, sorry. You'll have to read source code. Check:

net/netfilter/nf_conntrack_extend.c

and for instance on how to create a conntrack extension:

net/netfilter/nf_conntrack_acct.c

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

end of thread, other threads:[~2012-09-17 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 11:41 Allocating and destroying connection-related data Nicole
2012-09-17 12:31 ` Pablo Neira Ayuso

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).