Red Hat Bugzilla – Bug 65434
ipchains -Z --zero does not work
Last modified: 2008-08-01 12:22:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-7.0.1 i586)
Description of problem:
ipchains -L -Z -v -x -n
it shows the byte counts, but does not zero the counters.
When I do the command again the numbers are not starting from zero.
Version-Release number of selected component (if applicable):
RedHat from 7.1 to 7.3,including rawhide
Steps to Reproduce:
1. ipchains -L -Z -v -x -n
2.ipchains -L -Z -v -x -n
Actual Results: The byte and packet counts are not zeroed.
Expected Results: The byte and packet counts start again from zero.
I have tested on
7.1 - no updates
7.1 - all up2date updates
7.2 - no updates
7.3 - no updates
current rawhide ipchains and kernel
All machines with 2.4 kernel are ignoring the -Z or --zero option on ipchains.
This works fine on a 6.x redhat and 7.0 also
I believe that the ipchains compatibility interface presented by netfilter
in all 2.4.x kernels does not support this feature. I tried to track
down someone who might know more about this for sure, but was unable to
catch anyone. I also spent 30 minutes hunting on Google to no avail.
Ultimately it is either not supported, in which this is NOTABUG, or if it
is supported, but is buggy, then it would most certainly be a kernel bug
if it works in 2.2.x kernels and not with a 2.4.x kernel. As such, I'm
reassigning to the kernel.
Arjan, is this supposed to even work in 2.4.x?
3 seconds after reassinging, Bryce responded in IRC saying he believes
this is supported, and it is possibly a bug. ;o)
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/