All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herve Eychenne <rv@wallfire.org>
To: Netfilter Development <netfilter-devel@lists.netfilter.org>
Subject: iptables-save counters on builtin chains not restored?
Date: Tue, 17 Aug 2004 23:18:21 +0200	[thread overview]
Message-ID: <20040817211821.GE23109@eychenne.org> (raw)

 Hi,

Seems like I'm studying iptables-save too much tonight...

When fed with the result of iptables-save -c, iptables-restore -c
does not seem to restore counters on chains (I'm not talking about
rules), as I simply cannot find any parsing code for that.

Note that it would make sense only on builtin chains, but not
user-chains, because only builtin chains have a policy, and the
counters are about packets that hit the policy.

Anyway, it doesn't seem to be restored at all, and I suspect an
omission, so... a bug. Can someone confirm?

 Herve

-- 
 _
(°=  Hervé Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/

             reply	other threads:[~2004-08-17 21:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 21:18 Herve Eychenne [this message]
2004-08-19 10:13 ` iptables-save counters on builtin chains not restored? Harald Welte
2004-08-20 14:36   ` Herve Eychenne
2004-08-20 16:08     ` Herve Eychenne
2004-08-21  0:01     ` Henrik Nordstrom
2004-08-22 20:14       ` Herve Eychenne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040817211821.GE23109@eychenne.org \
    --to=rv@wallfire.org \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.