Security Basics mailing list archives

RE: Dropping ICMP Echo Request


From: "Mike" <mike () superiorholidayadventures ca>
Date: Mon, 17 Nov 2003 12:31:42 -0500

Sounds like you might be running Linux.  If you are and are using
IPTables you can accomplish this with the following command:

iptables -I INPUT -i <outside nic> -p icmp --icmp-type echo-request -j
DROP

You could also slow the rate down with with this:

iptables -I INPUT -i <outside nic> -p icmp --icmp-type echo-request -m
limit --limit 1/s -j DROP

You can fiddle with the numbers on that last one to your liking.  Hope
that helps!

Mike Fetherston

-----Original Message-----
From: Rodrigo Otaviano [mailto:rodrigo () otaviano com]
Sent: Friday, November 14, 2003 4:36 PM
To: security-basics
Subject: Dropping ICMP Echo Request

Hi there,

My goal is to drop some ICMP Echo Request packets in order to minimize
intense ICMP traffic.

I know it's possible to implement some active response on Snort for
example
by using it along with FlexResp. For example, if I want to send a
message
of
"host and port unreachable" to the sender, I can simply use something
this:

alert udp any any -> 192.168.1.0/24 31 (resp: icmp_port,icmp_host;
msg:
"example";)

But that's not exactly what I want to do.

My question is: is it possible to drop any ICMP Echo Request instead
of
sending a new ICMP back ( by using Snort ) or I would have to use some
kind
of filter rule manipulation, for example with SnortSam to
modify/create an
access control list (acl) on a firewall or router  ?

Rodrigo Otavio Paes de Barros Otaviano





------------------------------------------------------------------------
--
-
Forum Systems PRESIDIO: PGP / XML GATEWAY APPLIANCE
The Presidio integrates PGP data encryption and XML Web Services
security
to
simplify the management and deployment of PGP and reduce overall PGP
costs
by up to 80%.
FREE WHITEPAPER & 30 Day Trial -

http://www.securityfocus.com/sponsor/ForumSystems_security-basics_031027

------------------------------------------------------------------------
--
--


---------------------------------------------------------------------------
Forum Systems PRESIDIO: PGP / XML GATEWAY APPLIANCE
The Presidio integrates PGP data encryption and XML Web Services security to
simplify the management and deployment of PGP and reduce overall PGP costs
by up to 80%.
FREE WHITEPAPER & 30 Day Trial -
http://www.securityfocus.com/sponsor/ForumSystems_security-basics_031027
----------------------------------------------------------------------------


Current thread: