Debian Bug report logs - #33348
ipchains -Z -L does not clear byte/packet counters

Package: ipchains; Maintainer for ipchains is (unknown);

Reported by: Avery Pennarun <apenwarr@worldvisions.ca>

Date: Sun, 14 Feb 1999 00:03:02 UTC

Severity: normal

Done: Anthony Towns <aj@azure.humbug.org.au>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#33348; Package netbase. Full text and rfc822 format available.

Acknowledgement sent to Avery Pennarun <apenwarr@worldvisions.ca>:
New bug report received and forwarded. Copy sent to Anthony Towns <ajt@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Avery Pennarun <apenwarr@worldvisions.ca>
To: submit@bugs.debian.org
Subject: ipchains -Z -L does not clear byte/packet counters
Date: Sat, 13 Feb 1999 18:45:56 -0500
Package: netbase
Version: 3.11-1.2

Hi,

You can list byte/packet counters for each ipchains rule with a command like
the following:

	ipchains -L -n -v
	
And you can clear all the byte counters like this:

	ipchains -Z
	
But, to avoid race conditions (what if more packets are received in between
listing and clearing the counters?) the following command is supposed to
work:

	ipchains -Z -L -n -v
	
ipchains doesn't complain when this command is given, but it doesn't zero
the counters either.  I tried ipchains 1.3.8 (netbase includes 1.3.4) and
the problem is solved in that version.

You might want to upgrade netbase to the new ipchains, so people don't get
confused.

Have fun,

Avery


Information forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#33348; Package netbase. Full text and rfc822 format available.

Acknowledgement sent to Anthony Towns <aj@azure.humbug.org.au>:
Extra info received and forwarded to list. Copy sent to Anthony Towns <ajt@debian.org>. Full text and rfc822 format available.

Message #10 received at 33348@bugs.debian.org (full text, mbox):

From: Anthony Towns <aj@azure.humbug.org.au>
To: control@bugs.debian.org
Cc: Avery Pennarun <apenwarr@worldvisions.ca>, 33348@bugs.debian.org
Subject: Re: Bug#33348: ipchains -Z -L does not clear byte/packet counters
Date: Mon, 15 Feb 1999 16:33:29 +1000
close 33348
thanks

On Sat, Feb 13, 1999 at 06:45:56PM -0500, Avery Pennarun wrote:
> ipchains doesn't complain when this command is given, but it doesn't zero
> the counters either.  I tried ipchains 1.3.8 (netbase includes 1.3.4) and
> the problem is solved in that version.
> 
> You might want to upgrade netbase to the new ipchains, so people don't get
> confused.

Kernel 2.2.x isn't supported by slink at the moment, so these upgrades have
only been done for potato.

When slink gets updated for kernel 2.2, I'll backport net-tools and ipchains
to slink, but until that time, you need to get packages from potato to have
kernel 2.2 work properly, so...

I'm thus considering this `not a bug'. If you'd rather have this open
until slink gets updated, feel free to reopen it, and I'll leave it
'til then.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

``Like the ski resort of girls looking for husbands and husbands looking
  for girls, the situation is not as symmetrical as it might seem.''


Information forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#33348; Package netbase. Full text and rfc822 format available.

Acknowledgement sent to Avery Pennarun <apenwarr@worldvisions.ca>:
Extra info received and forwarded to list. Copy sent to Anthony Towns <ajt@debian.org>. Full text and rfc822 format available.

Message #15 received at 33348@bugs.debian.org (full text, mbox):

From: Avery Pennarun <apenwarr@worldvisions.ca>
To: Anthony Towns <aj@azure.humbug.org.au>
Cc: control@bugs.debian.org, 33348@bugs.debian.org
Subject: Re: Bug#33348: ipchains -Z -L does not clear byte/packet counters
Date: Mon, 15 Feb 1999 01:40:01 -0500
reopen 33348
thanks

On Mon, Feb 15, 1999 at 04:33:29PM +1000, Anthony Towns wrote:
> 
> On Sat, Feb 13, 1999 at 06:45:56PM -0500, Avery Pennarun wrote:
> > ipchains doesn't complain when this command is given, but it doesn't zero
> > the counters either.  I tried ipchains 1.3.8 (netbase includes 1.3.4) and
> > the problem is solved in that version.
> > 
> > You might want to upgrade netbase to the new ipchains, so people don't get
> > confused.
> 
> Kernel 2.2.x isn't supported by slink at the moment, so these upgrades
> have only been done for potato.

Then probably it should contain no ipchains package at all, since ipchains
is only useful for 2.2 kernels.

> When slink gets updated for kernel 2.2, I'll backport net-tools and ipchains
> to slink, but until that time, you need to get packages from potato to have
> kernel 2.2 work properly, so...
> 
> I'm thus considering this `not a bug'. If you'd rather have this open
> until slink gets updated, feel free to reopen it, and I'll leave it
> 'til then.

My preference would be to leave this one open so that we don't
forget to upgrade ipchains when the time comes.  It's still a bug in
ipchains, and since ipchains only works on 2.2 kernels...

Actually, there is an ipchains-patch for 2.0.x kernels, but this version of
the ipchains program probably doesn't work right with that either.

Have fun,

Avery



Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reopened, originator not changed. Request was from Avery Pennarun <apenwarr@worldvisions.ca> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `netbase' to `ipchains'. Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `ipchains' to `ipchains'. Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `ipchains' to `ipchains'. Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `ipchains' to `ipchains'. Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Bug closed, send any further explanations to Avery Pennarun <apenwarr@worldvisions.ca> Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 9 09:56:55 2009; Machine Name: duarte.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.