All of lore.kernel.org
 help / color / mirror / Atom feed
* netfilter newbie asking about writing matches
@ 2006-07-25  1:24 Ming-Ching Tiew
  2006-07-25  1:36 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Ming-Ching Tiew @ 2006-07-25  1:24 UTC (permalink / raw)
  To: netfilter-devel


Well I have asked about the user space counter part of
xt_statistic match in iptables but get no response in
netfilter@lists.netfilter.org.

Now I am getting into the iptables/extensions/libipt_random.c
itself. It is still using the wrong structure for passing into 
the kernel.

I have modified the C program to use struct xt_statistic_info
in everywhere of the C code. The iptables compiles now.
But my question is, now the iptables library is libipt_random.so,
whereis the kernel module is xt_statistic.ko, which part of
the iptables code which instruct the kernel to use xt_statistic.ko
for the matching ?

Don't fire me, I just just a newbie trying hard to get my work
accomplished.

Regards. 

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

* Re: netfilter newbie asking about writing matches
  2006-07-25  1:24 netfilter newbie asking about writing matches Ming-Ching Tiew
@ 2006-07-25  1:36 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2006-07-25  1:36 UTC (permalink / raw)
  To: Ming-Ching Tiew; +Cc: netfilter-devel

Ming-Ching Tiew wrote:
> Well I have asked about the user space counter part of
> xt_statistic match in iptables but get no response in
> netfilter@lists.netfilter.org.
> 
> Now I am getting into the iptables/extensions/libipt_random.c
> itself. It is still using the wrong structure for passing into 
> the kernel.
> 
> I have modified the C program to use struct xt_statistic_info
> in everywhere of the C code. The iptables compiles now.
> But my question is, now the iptables library is libipt_random.so,
> whereis the kernel module is xt_statistic.ko, which part of
> the iptables code which instruct the kernel to use xt_statistic.ko
> for the matching ?
> 
> Don't fire me, I just just a newbie trying hard to get my work
> accomplished.

I have a complete patch for userspace, just wanted to think
about splitting the current single match in two to provide
command line compatibility .. but not sure if this is even
possible. I'll add it soon.

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

end of thread, other threads:[~2006-07-25  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25  1:24 netfilter newbie asking about writing matches Ming-Ching Tiew
2006-07-25  1:36 ` Patrick McHardy

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.