All of lore.kernel.org
 help / color / mirror / Atom feed
* Getting counter values per rule number
@ 2002-06-13  8:42 Pasi Kärkkäinen
  0 siblings, 0 replies; only message in thread
From: Pasi Kärkkäinen @ 2002-06-13  8:42 UTC (permalink / raw)
  To: netfilter


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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-13  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-13  8:42 Getting counter values per rule number Pasi Kärkkäinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.