You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that indicates the current policy and associated packet/byte counts processed by the policy. This output appears to be missing from a command like iptables -xnvL | jc --iptables. Please advise.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there - I can add these fields. I'm assuming these are the totals since the table was initialized? I notice the numbers don't always match up to the underlying rules in the output so wasn't sure how they worked.
From what I have observed the packets/bytes count corresponds to whatever makes it all the way to the end of the chain where the policy finally acts on the packets. The 'default policy' is whatever happens when packets make it to the end of the chain. I had set up logs at the end of my chains, which would always catch packets prior to the policy, and their packet/byte counts correspond to the policy numbers as shown in my example above, confirming to me that those numbers correspond to packets/bytes being handled specifically by the default policy.
Normal output of
iptables -xnvL
will show lines like:that indicates the current policy and associated packet/byte counts processed by the policy. This output appears to be missing from a command like
iptables -xnvL | jc --iptables
. Please advise.Thanks!
The text was updated successfully, but these errors were encountered: