[pkg-netfilter-team] Bug#961117: Packet and byte counters in default policy stay zero

Corin Costache corin.costache at yahoo.com
Mon Nov 23 11:07:49 GMT 2020


Hello,
I have the same issue that Markus reported/described;My systetem is Debian 10.6 @ amd64 (x86_64) with iptables 1.8.2-4
The workaround i use for this issue is as follows:
It does not make any difference if I load iptables rules during boot or later as root after the system is loaded (the policy counters remain zero)However, if prior to loading rules, you reset iptables using bellow commands:
iptables -t filter -F
iptables -t filter -Xiptables -t filter -Ziptables -t nat -Fiptables -t nat -Xiptables -t nat -Ziptables -t mangle -Fiptables -t mangle -Xiptables -t mangle -Z
then your policy counters start woking;
Right now I've added these rules at the begining of my iptables rules file and all is woking as it should.
Best Regards,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20201123/cad089f8/attachment.html>


More information about the pkg-netfilter-team mailing list