All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Nicole <nicole@cats-muvva.net>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: Allocating and destroying connection-related data
Date: Mon, 17 Sep 2012 14:31:43 +0200	[thread overview]
Message-ID: <20120917123143.GA7240@1984> (raw)
In-Reply-To: <50570C51.2080104@cats-muvva.net>

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

      reply	other threads:[~2012-09-17 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 11:41 Allocating and destroying connection-related data Nicole
2012-09-17 12:31 ` 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=20120917123143.GA7240@1984 \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=nicole@cats-muvva.net \
    /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.