Hello!

How can I get byte (and packet) counter values per rule number?
I mean something like this:

iptables -L my_chain -v -x rule_number

So I could easily parse the results from the iptables output..

If I have lots of rules, it's not very efficient to parse the output for
whole chain and search the correct rule..

Any other methods to get the same information more easily?

Thanks!


- Pasi K�rkk�inen

                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.


Reply via email to