On Sunday 22 October 2006 16:58, Dale wrote:
> > # iptables -vL
> > Chain INPUT (policy DROP 35510 packets, 16M bytes)
> >  pkts bytes target     prot opt in     out     source              
> > destination
> >  329K  558M ACCEPT     all  --  lo     any     anywhere            
> > anywhere 36M   54G ACCEPT     all  --  any    any     anywhere          
> >   anywhere state RELATED,ESTABLISHED
> >     3   228 ACCEPT     icmp --  any    any     anywhere            
> > anywhere             icmp echo-request limit: avg 30/min burst 5
also, if you are trying to block pings over limit, put in:

iptables -I INPUT 4 -p icmp --icmp-type echo-request -j DROP
(change the 4  to whatever the number rule will be from top if you have 
changed it)..

> >   120  7057 ACCEPT     icmp --  any    any     anywhere            
> > anywhere 1    60 ACCEPT     tcp  --  any    any     anywhere            
> > anywhere tcp dpt:ssh

-Jason
-- 
 gpg public key: http://lazybird.hyperintelligent.net/~jbooth/jbooth_key.asc

-- 
gentoo-user@gentoo.org mailing list

Reply via email to