All of lore.kernel.org
 help / color / mirror / Atom feed
* target_info read only?
@ 2003-01-20 23:37 Thomas Heinz
  2003-01-21  9:58 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Heinz @ 2003-01-20 23:37 UTC (permalink / raw)
  To: netfilter-devel

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

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

end of thread, other threads:[~2003-01-21  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20 23:37 target_info read only? Thomas Heinz
2003-01-21  9:58 ` Harald Welte

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.