Linux Netfilter discussions
 help / color / mirror / Atom feed
* A little question about the RATEEST target.
@ 2009-10-13 16:06 whiplash
  2009-10-16 11:17 ` Michele Petrazzo - Unipex
  0 siblings, 1 reply; 3+ messages in thread
From: whiplash @ 2009-10-13 16:06 UTC (permalink / raw)
  To: netfilter

Hi.
The iptables man page states that:

RATEEST
The RATEEST target collects statistics, performs rate estimation
calculation and saves the results for later evaluation using the
rateest match.

The simple question is: where are the results saved, actually? :)
In other words, is there any way to access and collect such data
to pass them to some userspace tool, like rrdtool, for example?

Regards.

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

* Re: A little question about the RATEEST target.
  2009-10-13 16:06 A little question about the RATEEST target whiplash
@ 2009-10-16 11:17 ` Michele Petrazzo - Unipex
  2009-10-22 13:12   ` whiplash
  0 siblings, 1 reply; 3+ messages in thread
From: Michele Petrazzo - Unipex @ 2009-10-16 11:17 UTC (permalink / raw)
  To: netfilter; +Cc: whiplash

whiplash wrote:
> Hi.

Hi,

> The simple question is: where are the results saved, actually? :)

If I read correctly the sources, into ram.

> In other words, is there any way to access and collect such data to
> pass them to some userspace tool, like rrdtool, for example?
> 

Like also you can read, there is no direct possibility... There is no
external (proc|sys) interfaces. May be if someone create a simple patch...

P.s. $KERNEL_SRC/net/netfilter/xt_rateest.c|xt_RATEEST.c

Michele

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

* Re: A little question about the RATEEST target.
  2009-10-16 11:17 ` Michele Petrazzo - Unipex
@ 2009-10-22 13:12   ` whiplash
  0 siblings, 0 replies; 3+ messages in thread
From: whiplash @ 2009-10-22 13:12 UTC (permalink / raw)
  To: netfilter

Michele Petrazzo - Unipex ha scritto:

> Like also you can read, there is no direct possibility...

Ok, I suspected, since I searched widely both in /proc and in /sys...

> There is no
> external (proc|sys) interfaces. May be if someone create a simple patch...

Yes, it could be really useful. ;-)

TY.


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

end of thread, other threads:[~2009-10-22 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 16:06 A little question about the RATEEST target whiplash
2009-10-16 11:17 ` Michele Petrazzo - Unipex
2009-10-22 13:12   ` whiplash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox