Home  
  Microsoft  
  Cisco  
  CompTIA  
  CWNP  
  InfoSecurity  
  Forums  
  Blogs  
  Topsites  
  Watch free videos online  
     
  Subnet Calculator  
  Online Degrees  
  Exam Vouchers  
  Free Magazines  
     

  Watch free videos online  
   

 

Register Practice Exams TechNotes Members List Search Today's Posts Mark Forums Read
Go Back   TechExams.net IT Certification Forums > CompTIA > NETWORK+
Reply
 
Thread Tools
Senior Member
 
Join Date: Aug 2003
Posts: 157

Certifications: A+, Network+
RZetlin is on a distinguished road
Old 08-26-2005, 12:44 AM   #1 (permalink)
Default ICMP port number?

Does ICMP have a port number? If so, what is it?

RZetlin is offline   Reply With Quote

Login/register to remove this advertisement.
Senior Member
Registered Member
 
Join Date: Sep 2004
Location: I'm conviced, we all live in the Matrix.
Posts: 1,228

Certifications: CISSP,ISC2 Trainer,CCSP,CNSS-4013+4011,MCT MCSA2K3,CWNA MCSE2K:Sec LPT ECSA CEH CHFI,CCNA CS-CFW
keatron will become famous soon enough
Send a message via MSN to keatron Send a message via Yahoo to keatron
Old 08-26-2005, 12:55 AM   #2 (permalink)

ICMP does not have a port abstraction.

keatron is offline   Reply With Quote
Senior Member
 
Join Date: Aug 2003
Posts: 157

Certifications: A+, Network+
RZetlin is on a distinguished road
Old 08-26-2005, 06:09 AM   #3 (permalink)

Quote:
Originally Posted by keatron
ICMP does not have a port abstraction.
Then how does it send out it's signals?

RZetlin is offline   Reply With Quote
Junior Member
 
Join Date: Jul 2005
Posts: 14

Certifications: A+
nogen is on a distinguished road
Old 08-27-2005, 01:39 PM   #4 (permalink)
Default ...

im not currently studing for net+ however i think it doesnt send signals out... it is ust a protocol for error handling....... from what i read...... maybe somoene can shed some light on this.

nogen is offline   Reply With Quote
Senior Member
Registered Member
 
Join Date: Apr 2005
Location: touring the Holiday Inns of the country
Posts: 642

Certifications: not sane
johnnynodough is on a distinguished road
Old 08-27-2005, 06:10 PM   #5 (permalink)

ICMP (ping, trace)is a layer 3 protocol suite within the TCP/IP suite, doesnt test any layer 4 or above functions, therefore, it has no TCP/UDP layer 4 port number. The sub protocols within it do. You can block echo replies by closing port 7. That is how you get to be not pinged on the net.



__________________
Go Hawks - 7 and 2

2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good

johnnynodough is offline   Reply With Quote
Senior Member
Registered Member
 
Join Date: Apr 2005
Location: touring the Holiday Inns of the country
Posts: 642

Certifications: not sane
johnnynodough is on a distinguished road
Old 08-27-2005, 06:15 PM   #6 (permalink)

Quote:
Originally Posted by RZetlin
Quote:
Originally Posted by keatron
ICMP does not have a port abstraction.
Then how does it send out it's signals?
By using ICMP echo requests. Which do function on port 7.



__________________
Go Hawks - 7 and 2

2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good

johnnynodough is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: Feb 2007
Posts: 1

comm3c is an unknown quantity at this point
Old 02-04-2007, 08:18 PM   #7 (permalink)

This is complete bollocks. First, ICMP does not use a port since it does not have a place for a port. It is encapsulated with an IP datagram only. You will find the port option only on UDP and TCP datagrams. To block ICMP echo, you would explicitly block the type and code.

People who do think that ICMP somehow uses port 7 (the old echo service where it would echo every character you sent to it) should not be in networking and should be shot.

If you do not agree with what I have said, look at the structure of an IP datagram and of an ICMP datagram. The ICMP is encapsulated in the IP datagram and then the IP datagram into whatever the particular media needs to form the frame.

comm3c is offline   Reply With Quote
mikej412's caddy
Registered Member
 
sprkymrk's Avatar
 
Join Date: Feb 2006
Location: Charleston, SC
Posts: 4,991

Certifications: MCP (NT4 Server), MCSA 2000, MCSA 2003, CCNA, Security+, Network+
sprkymrk is a jewel in the roughsprkymrk is a jewel in the roughsprkymrk is a jewel in the rough
Old 02-04-2007, 09:20 PM   #8 (permalink)

Quote:
Originally Posted by comm3c
This is complete bollocks. First, ICMP does not use a port since it does not have a place for a port. It is encapsulated with an IP datagram only. You will find the port option only on UDP and TCP datagrams. To block ICMP echo, you would explicitly block the type and code.

People who do think that ICMP somehow uses port 7 (the old echo service where it would echo every character you sent to it) should not be in networking and should be shot.

If you do not agree with what I have said, look at the structure of an IP datagram and of an ICMP datagram. The ICMP is encapsulated in the IP datagram and then the IP datagram into whatever the particular media needs to form the frame.
Chill out. You can make your point w/o putting people down.

To the OP:
Check out RFC 792.
http://www.faqs.org/rfcs/rfc792.html
Quote:
ICMP, uses the basic support of IP as if it were a higher
level protocol, however, ICMP is actually an integral part of IP, and
must be implemented by every IP module
Remember what a port really is used for - a service listening on a host. Logical ends of a conversation. Sometimes called sockets or listener or whatever. One way to think about it is since there is no ICMP service running on a host it has no listening port.

I also found this thread on the firewall-wizards list with your exact same question and about 20 replies that basically said (in a nice way) the ICMP is a protocol like TCP and UDP are protocols, and not a service needing a port number. Scroll down and you'll see the topic "ICMP Well-Known Port":
https://honor.icsalabs.com/pipermail...read.html#6507



__________________
All things are possible, only believe.

sprkymrk is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: May 2003
Location: Seattle, WA
Posts: 24

Certifications: CCNP, CCVP, CCDA, MCSE, CIW, CISSP
Johnny 5 is on a distinguished road
Old 02-05-2007, 01:07 AM   #9 (permalink)

No, ICMP does not use ports.

However, it does have various ICMP types, the most common being echo reply (type 0), echo request (type , and Destination Unreachable (type 3). Because of the numbers, you'll often hear "it's trying to connect on port 0", when actually it's an echo reply packet.

More info:

http://en.wikipedia.org/wiki/Interne...ssage_Protocol

Johnny 5 is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: Mar 2007
Location: pakistan
Posts: 2

saba.khan is on a distinguished road
Old 03-24-2007, 04:58 AM   #10 (permalink)
Default ??

If ping is blocked how will u check if a node is up and running in a different building?

saba.khan is offline   Reply With Quote
mikej412's caddy
Registered Member
 
sprkymrk's Avatar
 
Join Date: Feb 2006
Location: Charleston, SC
Posts: 4,991

Certifications: MCP (NT4 Server), MCSA 2000, MCSA 2003, CCNA, Security+, Network+
sprkymrk is a jewel in the roughsprkymrk is a jewel in the roughsprkymrk is a jewel in the rough
Old 03-24-2007, 12:37 PM   #11 (permalink)
Default Re: ??

Quote:
Originally Posted by saba.khan
If ping is blocked how will u check if a node is up and running in a different building?
Most admins will block ICMP at the border router or firewall to keep out inquisitive n'er-do-wells. ICMP will remain open on the internal LAN. At least that's the way I do it. My internal LAN spans 3 class C subnets across dozens of buildings on over 300 acres and you can ping any host on the network from any other host on the network. Outsiders cannot ping past my firewall though.



__________________
All things are possible, only believe.

sprkymrk is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: Feb 2008
Posts: 2

jhoop2002 is on a distinguished road
Old 02-27-2008, 06:51 PM   #12 (permalink)

I am auditing the firewall settings for my network. What should they look like to handle icmp??

A little information -
1. we want to ping external sites (really just to test the connection)
2. we also do our own domain hosting, email, websites, etc.
4. we do have multiple internet connections
3. we have a cisco pix firewall

Right now the setting is
- permit icmp any any

Initially I'm thinking that is to open and should be restricted. But I'm trying to figure out how to restrict it without closing something I need. Any help would be appreciated.

jhoop2002 is offline   Reply With Quote
Member
Registered Member
 
Join Date: Feb 2008
Posts: 60

ThePistonDoctor is on a distinguished road
Old 02-27-2008, 07:36 PM   #13 (permalink)

Try this....don't quote me though - I'm an amateur at best

http://www.velocityreviews.com/forum...interface.html

ThePistonDoctor is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: Feb 2008
Posts: 2

jhoop2002 is on a distinguished road
Old 02-27-2008, 08:05 PM   #14 (permalink)

well, that looks pretty good. At this stage I'm not worried about the command line arguments, but more or less services I should block allow.

So in that link, the guy is basically denying all incomming icmp requests except those that are responses to requests that orginated in his local subnet?

jhoop2002 is offline   Reply With Quote
Junior Member
Registered Member
 
Join Date: May 2010
Posts: 1

ladeegeek is on a distinguished road
Old 05-12-2010, 12:50 AM   #15 (permalink)
Default Layer 3 protocol/port identifiers

layer 3, IP - identifies what layer 4-ish protocol is being carried in the packet.

TCP at layer 3 is identified with port/protocol # 6
UDP is 17
ICMP is 1

Protocol Numbers

hth,
LG

ladeegeek is offline   Reply With Quote
Bookmarks
Go Back TechExams.net IT Certification Forums > CompTIA > NETWORK+
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 07:04 AM.

 
 
Featured Sponsors

TrainSignal - “Hands On” computer training for IT professionals. Network+ Training, MCSE, Cisco & more! Visit Train Signal’s free training site to get loads of Free Computer Training, videos, articles and practice exams.

Preplogic - Sign up now to get Unlimited Access to PrepLogic's entire video training library. Enjoy open access to Microsoft Server 2008, CCNA, CISSP®, PMP and many more. Get Unlimited Access

 

Powered by vBulletin® Version 3.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
TechExams.net © 2002 - 2010