Control: tags -1 help thanks On Mon, Jan 11, 2016 at 07:53:37AM +1300, martin f krafft wrote: > iptables keeps packet and byte counters for each rule, and these can > be quite useful for various purposes. Unfortunately, when ferm > applies its ruleset, all the counters get zeroed. > > iptables does allow counters to be restored for each rule. > Mightn't it be possible then that ferm upon flushing the rules saves > all the counters and then tries to restore them for each rule for > which a counter was previously known? I could imagine this to be as > simple as hashing the rule, storing the counters against this hash, > and upon restore, setting counters for all rules for which a hash > can be found.
With ferm's upstream development having slowed down, it is unlikely that Upstream would implement this. And I don't want to flood the upstream issue tracker with wishlist requests. If this is still important for you, please consider filing an upstream request yourself. A patch implementing this would be appreciated. Therefore tagging this bug "help". Greetings Marc