Re: Removing ping/icmp from a network



On 2008-03-26 Jason Thompson wrote:
ICMP is not vital for network operation, though it is convenient. PING
isn't required at all,

Neither is traceroute. Yet I'd hate to be without without either of
them.

ICMP unreachable messages don't do anything other than notify the
receiver to stop trying to connect to a destination as it isn't alive
(the receiver should get a hint of this when his SYN's don't get a SYN
ACK),

Destination unreachable messages do quite a bit more than "notify the
receiver to stop trying to connect", since they code field carries the
information *why* the destination wasn't reached. Maybe that's not so
important for joe.average@home, but it's pretty darn important for any
network admin.

ICMP redirects shouldn't happen if your network is structured
properly, and even if it's not, it just adds an extra hop.

What about "time exceeded"? What about "parameter problem"? What about
"source quench"?

I don't see any ICMP messages that are a MUST for network operation.

No, they're not a MUST. Connections can also just silently fail, leaving
you as a network admin at a total loss as to *why* they're failing.
Brilliant idea, really.

That being said, if network monitoring is being done via SNMPv1 or v2
which isn't secure at all, ICMP is the least of your problems. I agree
with a few here that you allow ICMP from trusted to untrusted, but not
vice versa. And definitely NO ICMP from the Internet.

What the heck is so freakin' scary about inbound echo requests? (to
public IP addresses, that is)

ICMP is not "teh evil(tm)". It's a part of the Internet Protocol suite,
and it's there for a reason.

Regards
Ansgar Wiechers
--
"All vulnerabilities deserve a public fear period prior to patches
becoming available."
--Jason Coombs on Bugtraq



Relevant Pages

  • RE: Removing ping/icmp from a network
    ... The simple answer is to limit ICMP. ... It is not needed by all hosts to all hosts. ... (the receiver should get a hint of this when his SYN's don't get a SYN ... Destination unreachable messages do quite a bit more than "notify the ...
    (Security-Basics)
  • RE: MAPI problem with HrGetServerDN
    ... 'Destination Host Unreachable ... Private Declare Function WSACleanup Lib "WSOCK32.DLL" As Long ... 'Create a handle on which Internet Control Message Protocol (ICMP) requests ... Private Declare Function inet_addr Lib "WSOCK32.DLL" (ByVal cp As String) As ...
    (microsoft.public.exchange.applications)
  • Re: Strange MTU Problem
    ... Does the router know how to forward the ICMP ... On the local side, a packet has real source address and destination, ...
    (comp.os.linux.networking)
  • Re: OT: about the GPS post a week or so ago...
    ... receiver had to be replaced, it should be here within the 3-6 days. ... replacement. ... my destination will have no familiarity with the local area. ...
    (alt.support.diabetes)
  • Re: Possible ICMP DOS spoofed to Nameservers?
    ... Which is Destination Unreachable, Communication Administratively ... That may be because an intermeidate device is the one sending the ICMP ... packets, i.e. a router in front of the address you are sending packets to. ...
    (Incidents)