On 16/01/11 01:09, Mamadou Tourà wrote:
Hi, all i've these rule : r1 : iptables -t mangle -A POSTROUTING -m layer7 --l7proto bgp -j MARK --set-mark 1 r2 : iptables -t mangle -A POSTROUTING -m layer7 --l7proto biff -j MARK --set-mark 2 for both r1 and r2 I'd like to get the byte count of packets that have match rules. also i'd like to get byte count of packets according to the IP address. I need your help plz.
-v shows the packet counters and extra details. For example: iptables -v -L POSTROUTING will display the whole table and counters for all rules in it AYJ -- 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