Total dropped packet count

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

 



Hello,

Is there a way to get from iptables/netfilter the total number of dropped packets?

The way we do this at the moment is with a script that:

1) Lists all the rules
2) Finds within that list all rules whose target is DROP
3) Adds up the packet count for each of those rules

This seems to work okay but it is cumbersome.

I'm hoping there's some nice little /proc counter or iptables command that will give me the total count of dropped packets.

Thanks,

Andrew Kraslavsky

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



[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