Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13144 - iptables init script don't keep counters (when rebooting, or when restarting service)
Summary: iptables init script don't keep counters (when rebooting, or when restarting ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-03 02:57 UTC by Frederic Jolliton
Modified: 2003-01-07 07:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Jolliton 2003-01-03 02:57:05 UTC
/etc/init.d/iptables don't keep counters information when saving or reloading
configuration. This is problematic when relying on it for traffic graph for
example. The problem doesn't only occur when rebooting, but also when iptables
restart because of a dependencie with another service currently restarted.

So, I suggest adding -c option to iptables-save and iptables-restore in
/etc/init.d/iptables. Of course, adding a flag to select this behavior will be
probably more interesting (but then, set it to 'on' by default.)
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-07 07:16:18 UTC
Fixed in -r2. Thanks for finding this!