Bug 118155

Summary: iptables-save leave out the --icmp-type argument
Product: Red Hat Enterprise Linux 3 Reporter: Bobby Clark <bobby.clark>
Component: iptablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:01:57 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 Bobby Clark 2004-03-12 16:34:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6)
Gecko/20040206 Firefox/0.8

Description of problem:
iptables-save leaves out the --icmp-type argument when exporting a
firewall ruleset containing icmp matching.


Version-Release number of selected component (if applicable):
iptables-1.2.8-12

How reproducible:
Always

Steps to Reproduce:
1. iptables -A EKU-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
2. iptables-save

    

Actual Results:  The following rule was exported
iptables -A EKU-INPUT -p icmp -m icmp any -j ACCEPT

Expected Results:  iptables -A EKU-INPUT -p icmp -m icmp --icmp-type
any -j ACCEPT

Additional info:

executing "service iptables save" save the incorrect ruleset to
/etc/sysconfig/iptables 

After this the iptables service will not start leaving the machine
with no firewall protection when it is expected to be there.

Comment 1 Thomas Woerner 2004-03-15 11:02:46 UTC

*** This bug has been marked as a duplicate of 111999 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:01:57 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.