iptables-save counters on builtin chains not restored?
Thu Aug 19 11:13:14 CEST 2004
Content-Type: text/plain; charset=us-ascii
On Tue, Aug 17, 2004 at 11:18:21PM +0200, Herve Eychenne wrote:
> 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?
Yes, now that you say it, I don't remember having written that code ;)
Please put it in bugzilla... and patches are obviously always welcome.
- Harald Welte <email@example.com> http://www.netfilter.org/
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the netfilter-devel