problem with limit

Michael A. Dietz mad099@dietznet.net
Mon, 10 Jul 2000 15:52:48 -0500 (CDT)


It's a documentation issue:
should be:
iptables -A FORWARD -p icmp --icmp-type echo-request -m limit --limit 3/s
-j ACCEPT

On Tue, 11 Jul 2000, Samu wrote:

> hi there,
> i'm playing with iptable 1.1.0on a 2.4.0-test2
> 
> i tried to limit icmp echo-req to my machine and, as suggested on your HOWTO
> i used iptables -A FORWARD -p icmp --icmp-type echo-request -m limit 3/s -j ACCEPT
> 
> this give me this error 
> Bad argument `3/s'
> where's the problem ? 
> 
> thanks 
> samuele 
> -- 
> Samuele Tonon  <samu@mclink.it>
> Undergraduate Student  of  Computer Science at  University of Bologna, Italy    
> System administrator at Computer Science Lab's, University of Bologna, Italy  
> Founder & Member of A.A.H.T.
> UIN 3155609 
>           	Acid -- better living through chemistry.
> 			       Timothy Leary
> 

-----------------------
Running on Linux 2.2
Where hasn't linux been today!
mad099@dietznet.net