iptables-save counters on builtin chains not restored?

Herve Eychenne rv@wallfire.org
Tue Aug 17 22:18:21 CEST 2004


 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

--=20
 _
(=B0=3D  Herv=E9 Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/




More information about the netfilter-devel mailing list