Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60680 - iptables should save state on stop
Summary: iptables should save state on stop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 08:33 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2004-08-18 15:08 UTC (History)
0 users

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


Attachments
iptables_patch.diff (iptables_patch.diff,872 bytes, patch)
2004-08-17 08:35 UTC, Bjarke Istrup Pedersen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-08-17 08:33:18 UTC
When doing /etc/init.d/iptables stop, it should save the state like if somebody had done /etc/init.d/iptables save before stop.
This would help people that run firewall scripts, since they can just run it, and when they reboot, the state is saved, and loaded it boot again.
This could be configured in /etc/conf.d/iptables, so people can enable/disable this behaviour.

Reproducible: Always
Steps to Reproduce:




I have a patch for /etc/conf.d/iptables and /etc/init.d/iptables that does the 
trick :)
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-08-17 08:35:25 UTC
Created attachment 37603 [details, diff]
iptables_patch.diff

Patch that adds this feature :)
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-18 15:08:22 UTC
Added to CVS, thanks!