xt_connlimit 20070625
Jan Engelhardt
jengelh at computergmbh.de
Thu Jun 28 21:31:19 CEST 2007
On Jun 28 2007 21:27, Patrick McHardy wrote:
>
>I though you would store the struct xt_connlimit_conn in the
>ct_extend area.
Ah, that was the big hint. Thank you.
I'll just put the pointer to xt_connlimit_data there. Just as easy.
>The only reason I can think of why you'd need
>the xt_connlimit_data is for the lock. So you could make the
>lock global (which I think is fine) or add a pointer to the
>data you need.
I'd hate to introduce such a lock, because it would make the _whole_ match
"singleprocessor-sticky".
Jan
--
More information about the netfilter-devel
mailing list