[fw-wiz] FW: ECHO Protocol



The "echo" service referred to in the local services file is an old Unix
service typically implemented directly in inetd.  It listens on port 7 and
echos back any data sent to it.  Typically, the echo service should be
turned off because it performs no useful service and is a potential
vulnerability. 
 
This is completely different from the ICMP echo-request/echo-reply codes
used to implement ping. 
 
--DaveH         "Be Excellent to each other!"

-----Original Message-----
From: firewall-wizards-bounces@xxxxxxxxxxxxxxxxxxxxxxx
[mailto:firewall-wizards-bounces@xxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of peng
liu
Sent: Monday, June 30, 2008 10:12 PM
To: Keith A. Glass; firewall-wizards@xxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [fw-wiz] ECHO Protocol


OK. This is the tricky part since ICMP is built basd on IP protocol and it
works on thesame layer as TCP/UDP. Then why my local services file contains:
 
echo                7/tcp
echo                7/udp
 
So the echo here is different than the Echo, Echo-reply protocol we are
talking here?
 
Regard,
Pengy

 
On 6/30/08, Keith A. Glass < salgak@xxxxxxxxxxxxx> wrote:

Echo is a specific member of the ICMP family of protocols.  But not the ONLY
member. . .

Ping is typically Echo and Echo-reply.

Hope that clears it up


Keith

Security Geek  * Curmudgeon at Large *  Short on Sleep

On Thu Jun 26  6:00 , "peng liu"  sent:

All,

I am checking the ICMP protocol these days and some documents say that Ping
command in Windows uses ICMP protocol, while others say that Ping uses ECHO
protocol, which is through TCP port 7.

So my question is which protocol is actually used by PING command in
Windows?

Pengy




_______________________________________________
firewall-wizards mailing list
firewall-wizards@xxxxxxxxxxxxxxxxxxxxx
https://listserv.icsalabs.com/mailman/listinfo/firewall-wizards


Relevant Pages

  • Re: [fw-wiz] ECHO Protocol
    ... Yes, I know that there are alternate "ping" programs that will allow you to use TCP, UDP or possibly anything that programmer could think of, but the traditional ping uses ICMP. ... Two of the ICMP types are referred to as echo and echo reply, which are the ICMP types used for ping. ... Ping command in Windows uses ICMP protocol, while others say that Ping uses ...
    (Firewall-Wizards)
  • Re: [fw-wiz] ECHO Protocol
    ... So the echo here is different than the Echo, Echo-reply protocol we are ... Echo is a specific member of the ICMP family of protocols. ... Ping command in Windows uses ICMP protocol, while others say that Ping uses ...
    (Firewall-Wizards)
  • Re: [9fans] Re: echo -n
    ... if you want to ignore echo ... ability of Datakit to preserve 0-length messages as an inband ... vs. the 't' protocols use of explicit protocol field ...
    (comp.os.plan9)
  • Re: ssk-keygen
    ... > echo ' creating ssh RSA host key'; ... protocol 1 key, ... with "unsubscribe freebsd-security" in the body of the message ...
    (FreeBSD-Security)
  • Re: ask for sample ping source code without IP protocal stack
    ... > a ping echo program based on the ethernet driver, ... > and ICMP header are correct, but Windows ping can not receive my echo. ...
    (comp.arch.embedded)