Read stats for a single rule

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

 



Hi,

I have installed multiple rules using iptables on my machines. These
rules keep a track of how much data has been sent to/from my machine
on a specific TCP socket.

Once a TCP connection terminates, i want to read the data transferred
over that socket.
Currently i am using "iptables -vnL <chain_name>" to read stats of all
installed rules and then filter out the one that matches the recently
closed socket.

Is there a way by which i can just get stats of a specific rule rather
then fetching data for all installed rules?

Thanks,
Rohit
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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