Mailinglist Archive: opensuse-security (465 mails)

< Previous Next >
Re: [suse-security] Zeroing chain (ipchains )
  • From: "Erwin Zierler - stubainet.at" <erwin.zierler@xxxxxxxxxxxx>
  • Date: Mon, 03 Dec 2001 11:37:31 +0100
  • Message-id: <3C0B55EB.5040605@xxxxxxxxxxxx>
Yes, this solution works, but according to the manpage and ipchains -h
it should also work on single chains:

--zero -Z [chain] Zero counters in chain or all chains

Bugs me that it obviously doesn't :-(

Erwin

---
Peter Wiersig wrote:

On Sunday, 2. Dezember 2001 12:39 Erwin Zierler wrote:


I use ipchains on this box mainly for accounting really and now
I'd like to reset (i.e. set to zero) a few chains.
According to the manpage on my system it would go like this:

ipchains -Z chain_name (i.e. ipchains --zero chain_name)


I use "ipchains -L -Z -v -x" where you omit the chain_name and list all rules just before they are zeroed. (ipchains 1.3.8)

Peter




--
Erwin Zierler | web- / host- / postmaster - stubainet.at
| erwin.zierler@xxxxxxxxxxxx / webmaster@xxxxxxxxxxxx
| Tel.: 0 5225 - 64325 Fax 99 Mobil: 0664 - 130 67 91


< Previous Next >