netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netfilter: ct_extend: alloc space for xt_portscan
@ 2009-01-08  8:24 Jan Engelhardt
  2009-01-08 17:11 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2009-01-08  8:24 UTC (permalink / raw)
  To: kaber; +Cc: Netfilter Developer Mailing List

parent b58602a4bac012b5f4fc12fe6b46ab237b610d5d
commit 7634e5f586394eafc85973712ff11e60a9ae2f70
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Thu Jan 8 09:20:03 2009 +0100

netfilter: ct_extend: alloc space for xt_portscan

The out-of-tree xt_portscan module currently (ab)uses skb->mark and
nfct->mark to store its state, but such may collide with
user-specified marks.

Using nfct_extend alleviates that problem and hopefully paves way
for inclusion of the module.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 include/net/netfilter/nf_conntrack_extend.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/net/netfilter/nf_conntrack_extend.h b/include/net/netfilter/nf_conntrack_extend.h
index da8ee52..389794a 100644
--- a/include/net/netfilter/nf_conntrack_extend.h
+++ b/include/net/netfilter/nf_conntrack_extend.h
@@ -8,6 +8,7 @@ enum nf_ct_ext_id
 	NF_CT_EXT_HELPER,
 	NF_CT_EXT_NAT,
 	NF_CT_EXT_ACCT,
+	NF_CT_EXT_PORTSCAN, /* xt_portscan state */
 	NF_CT_EXT_NUM,
 };
 


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

end of thread, other threads:[~2009-01-12  4:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-08  8:24 netfilter: ct_extend: alloc space for xt_portscan Jan Engelhardt
2009-01-08 17:11 ` Pablo Neira Ayuso
2009-01-12  4:07   ` Patrick McHardy
2009-01-12  4:16     ` Jan Engelhardt
2009-01-12  4:18       ` Patrick McHardy

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