只有零标记链的字节计数器在iptables中?

我有两个亚洲人:

Chain OUTPUT (policy ACCEPT 68688 packets, 12M bytes) pkts bytes target prot opt in out source destination 146 54635 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:6532 MARK set 0xfffc 146 54635 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:6532 MARK set 0x5 

当我iptables -t mangle -m connmark --mark 0x5 -Z它将零和0xfffc和0x5的计数器,如何只重置0x5链的字节计数器?

按数字指定规则似乎工作,即

 iptables --table mangle --zero OUTPUT 2 

以下应该给你规则匹配某个正则expression式的规则号:

 iptables --numeric --line-numbers --table mangle --list OUTPUT | grep 0x5 | awk '{print $1}'