xt_connlimit 20070628 kernel

Jan Engelhardt jengelh at computergmbh.de
Wed Jul 4 17:11:47 CEST 2007


On Jul 4 2007 16:52, Patrick McHardy wrote:
>>>>
>>>>So you are saying I should use...
>>>>
>>>>  nf_ct_get_tuple(skb, 0, 0, match->family, match->proto, &tuple,
>>>>                  what_l3, what_l4);
>>>>
>>>>at the top of count_them() and get rid of the nf_ct_get() in connlimit_match?
>>>
[...]
>Right, when the packet hits connection tracking.

Ok so what should I put in for nhoff, dataoff, what_l3 and what_l4?


Thanks,
	Jan
-- 



More information about the netfilter-devel mailing list