[Bug 37] New: icmp match defaults to --icmp-type icmp-echo-reply

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Mon, 03 Feb 2003 14:25:09 +0100


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=37

           Summary: icmp match defaults to --icmp-type icmp-echo-reply
           Product: iptables userspace
           Version: 1.1.2
          Platform: other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: iptables
        AssignedTo: laforge@netfilter.org
        ReportedBy: bazsi@balabit.hu
                CC: netfilter-buglog@lists.netfilter.org


a command line of

iptables -A INPUT -p icmp -m icmp -j ACCEPT

will match --icmp-type icmp-echo-reply only, instead of all icmp types

the problem is that --icmp-type is initialized to 0 and there's no 'match
anything' value.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.