counting packets and bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 28 Oct 2002, Antony Stone wrote:

> If you want to put all your "targetless" rules in a single user-defined chain 
> (for example, called "counters"), and then jump to that chain from INPUT, 
> OUTPUT or FORWARD, it will not change the logic of your ruleset (no packets 
> will get ACCEPTed, DROPped or REJECTed - they will simply all fall out of the 
> end of your user-defined chain and then contineu as before), and you can get 
> a display only of these packets by listing only that chain, eg:
> 
> iptables -L counters -n -v -x

yup, that's the variation i was thinking of, thanks.

rday




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux