Description of problem: service iptables save with icmp protocol matching broken Version-Release number of selected component (if applicable): iptables-1.2.8-12 How reproducible: always Steps to Reproduce: 1. service iptables stop 2. iptables -A INPUT -p icmp -m icmp -j ACCEPT 3. service iptables save 4. service iptables stop 5. service iptables start Actual results: Applying iptables firewall rules: Bad argument 'any' Error occurred at line: 6 Try `iptables-restore -h' or `iptables-restore --help' for more information [ FAILED ] [root@ul init.d]# cat /etc/sysconfig/iptables # Generated by iptables-save v1.2.8 on Fri Apr 2 14:16:19 2004 *filter :INPUT ACCEPT [686:56746] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [677:49614] -A INPUT -p icmp -m icmp any -j ACCEPT COMMIT # Completed on Fri Apr 2 14:16:19 2004 Expected results: Success. [root@ul init.d]# cat /etc/sysconfig/iptables # Generated by iptables-save v1.2.8 on Fri Apr 2 14:16:19 2004 *filter :INPUT ACCEPT [686:56746] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [677:49614] -A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT COMMIT # Completed on Fri Apr 2 14:16:19 2004 Additional info:
*** This bug has been marked as a duplicate of 111999 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.