Re: how to disable ICMP: "Echo Request" (ping)

From: Bev A. Kupf (bevakupf_at_myhome.net)
Date: 07/19/05


Date: Tue, 19 Jul 2005 15:24:35 GMT

On Tue, 19 Jul 2005 16:51:29 +0200,
    Jeroen van Holst (jvholst@xs4all.nl) wrote:
> Hans Schulze wrote:
>> title says it. Have already configured firewall to disallow everything
>> but ICMP still coming thru. How do I stop it? All side effects of
>> disabling ICMP desired.
>>
>> SUSE 9.3
>
> What about something like:
>
> /sbin/iptables -A INPUT -j DROP -p icmp --icmp-type echo_request
>

or

iptables -A OUTPUT -j DROP -p icmp -d 0/0 --icmp-type echo-reply

Beverly

-- 
Many a smale maketh a grate -- Geoffrey Chaucer


Relevant Pages