A little question about the RATEEST target.
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.
Quoted 1 line · whiplash
Hi.
Hi,
Quoted 1 line
The simple question is: where are the results saved, actually? :)
If I read correctly the sources, into ram.
Quoted 3 lines
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
Michele Petrazzo - Unipex ha scritto:
Quoted 1 line
Like also you can read, there is no direct possibility...
Ok, I suspected, since I searched widely both in /proc and in /sys...
Quoted 2 lines
There is no
external (proc|sys) interfaces. May be if someone create a simple patch...
Yes, it could be really useful. ;-)
TY.