* Statistic module
@ 2009-01-28 0:35 Barry A Rich
2009-01-28 9:14 ` Pascal Hambourg
0 siblings, 1 reply; 3+ messages in thread
From: Barry A Rich @ 2009-01-28 0:35 UTC (permalink / raw)
To: netfilter
I'm working with an embedded system with the 2.6.19.2 kernel. I'd prefer not
to upgrade the kernel at this time, but need features of the latest versions
of iproute and iptables. I built iptables-1.4.1.1 and iproute2-2.6.26 for
this kernel. Everything seems to work except the following:
iptables -t mangle -A PREROUTING -p udp --sport 6970 -m statistic --mode nth
--every 2 --packet 0 -j MARK --set-mark 1
It produces:
iptables: No chain/target/match by that name
I think it is not finding the statistic module.
What am I doing wrong.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Statistic module
2009-01-28 0:35 Statistic module Barry A Rich
@ 2009-01-28 9:14 ` Pascal Hambourg
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Hambourg @ 2009-01-28 9:14 UTC (permalink / raw)
To: netfilter
Hello,
Barry A Rich a écrit :
> I'm working with an embedded system with the 2.6.19.2 kernel. I'd prefer not
> to upgrade the kernel at this time, but need features of the latest versions
> of iproute and iptables.
Usually the new features are actually in the kernel. Iptables and
iproute are just upgraded to be able to use them.
> I built iptables-1.4.1.1 and iproute2-2.6.26 for
> this kernel. Everything seems to work except the following:
>
> iptables -t mangle -A PREROUTING -p udp --sport 6970 -m statistic --mode nth
> --every 2 --packet 0 -j MARK --set-mark 1
>
> It produces:
>
> iptables: No chain/target/match by that name
>
> I think it is not finding the statistic module.
The 'statistic' match was added in version 2.6.18 of the kernel. Maybe
you didn't enable the related option (NETFILTER_XT_MATCH_STATISTIC) when
configuring and building your kernel. Check your config file.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: statistic module
@ 2009-02-26 20:01 John Lister
0 siblings, 0 replies; 3+ messages in thread
From: John Lister @ 2009-02-26 20:01 UTC (permalink / raw)
To: netfilter
with the old nth module you could specify a counter to use allowing you
to have multiple overlapping counts.
Is this possible with the new statistic module? If not is there a way
round it?
Thanks
--
Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-26 20:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 0:35 Statistic module Barry A Rich
2009-01-28 9:14 ` Pascal Hambourg
-- strict thread matches above, loose matches on Subject: below --
2009-02-26 20:01 statistic module John Lister
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox