Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136118

Summary: split iptables rules-save
Product: Gentoo Security Reporter: Sergio Bevilacqua <sergio.bevilacqua>
Component: VulnerabilitiesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: sergio.bevilacqua
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergio Bevilacqua 2006-06-08 14:45:39 UTC
i suggest to split iptables rules-save in four separate rulesets: one for every chain.

/var/lib/iptables/sules-save -> /var/lib/iptables/{filter,mangle,nat,raw}

this can simplify the maintenance on wide firewalls
Comment 1 SpanKY gentoo-dev 2006-06-08 22:10:50 UTC
hardcoding the chains is ugly

post a patch to dynamically save/restore all the chains and we can talk