Bug 31633

Summary: iptables-restore very broken
Product: [Retired] Red Hat Linux Reporter: e
Component: iptablesAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 7.1Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-13 13:05:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description e 2001-03-13 13:05:37 UTC
I am using iptables-1.2.0-10. iptables-restore is unable to
properly restore this:
*filter
:INPUT DROP [0:0]
-p all -m state --state ESTABLISHED,RELATED -j ACCEPT
-p udp -m udp --sport 53 --dport 1024:65535 -j ACCEPT
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [6:300]
COMMIT

(incomplete rule set as I was saving/restoring after every command)
The UDP port ranges are lost.

Comment 1 Preston Brown 2001-03-14 20:35:24 UTC
fixed in rawhide.