Re: Ping, ICMP and TCP Ping

From: Barrie Dempster (barrie_at_reboot-robot.net)
Date: 08/27/05

  • Next message: Roberto Gutiérrez Gil: "Re: Software Proxys Anonymous"
    To: zaka rias <sciensez@yahoo.com>
    Date: Sat, 27 Aug 2005 12:13:27 +0100
    
    
    

    On Thu, 2005-08-25 at 09:22 +0100, zaka rias wrote:
    > hi,
    >
    > Im learning protocol tcp/ip and icmp, and as far as i
    > know that Ping (software) is using ICMP protocol to
    > transmit packets and PING is identic with ICMP.

    Basically the word "PING" generally means asking "are you there". The
    protocol in use at the time is irrelevant. Sending a TCP packet or an
    ICMP packet usually achieves the desired result, ie.. you confirm that
    the machine is there.

    Although this isn't 100% effective, if you control the machines you can
    usually rely on a ping of some type to let you know what is going on.

    The fact that ICMP echo requests are the most common way to ping a
    machine is because they are designed for this sort of function, using
    another protocol is fine as long as you believe the results will be
    reliable enough for you purposes. ICMP echo and ping have become
    synonymous for most, due to the command line util named "ping" which
    uses ICMP echo's. If you want to play around with pinging in different
    protocols have a look at the hping2 utility.

    -- 
    With Regards..
    Barrie Dempster (zeedo) - Fortiter et Strenue
    "He who hingeth aboot, geteth hee-haw" Victor - Still Game
    blog:  http://reboot-robot.net
    sites: http://www.bsrf.org.uk - http://www.security-forums.com
    ca:    https://www.cacert.org/index.php?id=3
    
    



  • Next message: Roberto Gutiérrez Gil: "Re: Software Proxys Anonymous"

    Relevant Pages

    • Re: port=1026&reason=ICMPsent
      ... > Actually ICMP is a layered protocol the UDP protocol in question is a ... in the payload of an ICMP ... with a payload indicating it was in response to a UDP packet? ...
      (alt.computer.security)
    • Re: Removing ping/icmp from a network
      ... A ping sweep isn't the only way to do network exploration. ... ICMP is a protocol, not a service. ... Security by design is always best, but hiding the presence of a device ...
      (Security-Basics)
    • Re: UDP to port 1027
      ... icmp 1 ICMP # internet control message protocol ... Thailand sent a packet of 908 octets with a protocol of 17. ... REQUIRES IMMEDIATE ATTENTION" and the next line says "Windows has found ...
      (comp.security.firewalls)
    • Re: Ping a mac address
      ... >> protocol underlying ping (ICMP) won't understand it. ... > protocol, only some old NIC support it, but it does exist. ... Cross site scripting and other web attacks before hackers do! ...
      (Pen-Test)
    • Re: Trouble with Net::Ping
      ... IIRC TCP lives on top of UDP (and thus it makes sense that UDP would ... ICMP although it is more tightly coupled to IP. ... That's a different protocol then HTTP. ... The ping command uses ICMP. ...
      (comp.lang.perl.misc)