Package: iptables
Version: 1.4.2-6
Severity: normal
Hi.
According the manpage:
iptables-restore
-c, --counters
restore the values of all packet and byte counters
=> So I assume, that when not specifying -c,.. the counters should not
be restored.
However, when I have [0:0] in the files it is restors (to 0:0) even
without specifying -c,... for values != 0... it works as expected.
iptables-save
-c, --counters
include the current values of all packet and byte counters in
the output
=> I assume this means,.. the counter should only be included,.. when
-c is given.
However, they're alawys dumped.
btw: is there a difference between:
:INPUT [0:0]
and
:INPUT
(etc)?
Thanks,
Chris.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages iptables depends on:
ii libc6 2.9-1 GNU C Library: Shared libraries
iptables recommends no packages.
iptables suggests no packages.
-- no debconf information
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]