Hi all
Thanks for your (Sven and Steven) help!
regards moritz
Sven Schuster wrote:
Hi Moritz,
On Fri, Mar 18, 2005 at 02:46:20PM +0100, Moritz Gartenmeister told us:
hi all
i want to use the counters for statistic stuff. i already have a working example. but i want to get numbers for pakets, which i acutally have no rule for (e.g. all incoming traffic).
is there a dummy target? like:
$IPTABLES -t mangle -A PREROUTING -m physdev --physdev-in $INET_IF -j DUMMY
dummy target: do nothing, do not terminate, do just increment counters.
just don't provide the '-j TARGET' on the commandline, then you'll have a rule (with its counters) which "does" nothing...
HTH
Sven
cheers moritz