All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Heinz <creatix@hipac.org>
To: netfilter-devel@lists.netfilter.org
Subject: target_info read only?
Date: Tue, 21 Jan 2003 00:37:35 +0100	[thread overview]
Message-ID: <3E2C883F.7070707@hipac.org> (raw)

Hi

A netfilter target (struct ipt_entry_target) can contain an
arbitrary amount of private data which is delivered to the
target function in case the corresponding rule matches.

Now it would be possible for the target function to modify
the private data although I haven't seen any target that
does this. In contrast to targets this behaviour is quite
normal for matches, especially stateful ones.

Now, I have two questions:

1) Is there any target (kernel and cvs) that already modifies
    its private data (maybe I have overlooked one)?

2) If ! 1) is there any reason for which targets might want
    to write to their private data buffer and if not can
    I assume that netfilter targets must (sort of unwritten law
    like) treat their private data as read only?

Thanks for your answer.


Regards,

Thomas

             reply	other threads:[~2003-01-20 23:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20 23:37 Thomas Heinz [this message]
2003-01-21  9:58 ` target_info read only? Harald Welte

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=3E2C883F.7070707@hipac.org \
    --to=creatix@hipac.org \
    --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.