[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables error using limit module



Marc Franquesa wrote:
> 2008/2/26, Martin Michlmayr <tbm@cyrius.com>:
>
>   
>> I suggest you send your email to linux-mips@linux-mips.org and
>>  netdev@vger.kernel.org
>>  Maybe someone there can help.
>>     
>
> I posted to netdev@vger.kernel.org
> (http://marc.info/?t=120351709000004&r=1&w=2) and some comments
> suggest that can be a bug or perhaps solved in newer versions of
> kernel/iptables.
>
> I'll be very thankful if somebody can test it in his machine (mips)
> even in 32 bits or 64 bits machines.
>
> The problematic command is:
>
> iptables -I INPUT -p icmp --icmp-type 8 -m limit --limit
>
> That gives this error:
> iptables: Invalid argument
>
> And show this in kernel (dmesg) messages:
> ip_tables: limit match: invalid size 40 != 32
>
>
>   
Same thing on mips64, IP27, Etch, kernel 2.6.18 (built from
linux-source, 2.6.18.dfsg.1-18etch1):

  iptables: Invalid argument

and dmesg yields:

  ip_tables: limit match: invalid size 40 != 32



Reply to: