From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131 Description of problem: ip6tables-save looses port information when saving udp rules. Version-Release number of selected component (if applicable): iptables-ipv6-1.2.7a-2 How reproducible: Always Steps to Reproduce: 1. service ip6tables stop # (flush all rules) 2. ip6tables -A INPUT -p udp -m udp --sport 32768: --dport 32768: -j ACCEPT 3. ip6tables-save -c |grep -- '-A INPUT' Actual Results: [0:0] -A INPUT -s ::/0 -d ::/0 -p udp -m udp -j ACCEPT # Notice that all port information is lost! Expected Results: [0:0] -A INPUT -s ::/0 -d ::/0 -p udp -m udp --sport 32768: --dport 32768: -j ACCEPT Additional info: ip6tables -v -L INPUT # gives: Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT udp any any anywhere anywhere udp spts:32768:65535 dpts:32768:65535 as expected.
Please have a look at http://people.redhat.com/twoerner/RPMS/9/iptables-1.2.8-8.90.1.i386.rpm http://people.redhat.com/twoerner/RPMS/9/iptables-ipv6-1.2.8-8.90.1.i386.rpm http://people.redhat.com/twoerner/SRPMS/9/iptables-1.2.8-8.90.1.src.rpm
I still get the same behavior with the new packages: # rpm -qf `which ip6tables-save` iptables-ipv6-1.2.8-8.90.1 # ip6tables -v -L INPUT |grep udp 0 0 ACCEPT udp any any anywhere anywhere udp spts:32768:65535 dpts:32768:65535 # ip6tables-save -c |grep -- '-A INPUT' [0:0] -A INPUT -s ::/0 -d ::/0 -p udp -m udp -j ACCEPT
Please have a look at: http://people.redhat.com/twoerner/RPMS/9/iptables-1.2.8-8.90.5.i386.rpm http://people.redhat.com/twoerner/RPMS/9/iptables-ipv6-1.2.8-8.90.5.i386.rpm http://people.redhat.com/twoerner/SRPMS/9/iptables-1.2.8-8.90.5.src.rpm
Yes, 1.2.8-8.90.5 has fixed the problem for me -- the udp ports are being saved correctly. Thanks!