Solved

icmp port numbers

Posted on 2009-04-01
4
9,027 Views
Last Modified: 2013-11-29
Hi,

Can any one explain me the ports numbers used for icmp both for echo request and reply

Any standard piece of code for blocking echo request and echo reply ;please help with the code for both router and pix;

Please help with the port for snmp also

thx
0
Comment
Question by:phoenix26
4 Comments
 
LVL 3

Assisted Solution

by:i_t
i_t earned 100 total points
ID: 24046613
access-list 101 deny udp any any eq snmp
access-list 101 deny icmp any any

i don't think echo uses a port number because it is beneath tcp
0
 

Author Comment

by:phoenix26
ID: 24047099
Hi ,

Thanks for your suggestion.

But i beileve there is some way for blocking icmp echo request and echo reply ?any suggestions on coding
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 300 total points
ID: 24048873
0
 
LVL 10

Assisted Solution

by:atlas_shuddered
atlas_shuddered earned 100 total points
ID: 24056219
icmp doesn't use port numbers as noted above.

for your rtr you'll need to post the following lines in your acl:

ip access-list ext XXXX
permit icmp {source ip} {source mask}/{any} {destination ip} {destination mask}/{any} echo
permit icmp {source ip} {source mask}/{any} {destination ip} {destination mask}/{any} echo reply

for the pix you can use the same format, difference being that if you are trying to ping from outside to inside you will need to set up a translation set.

Hope it helps.

Cheers
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CISCO 2960-s OSPF routing 19 103
Windows 2000 server can't ping domain controller until after clearing arp cache 6 58
MPLS Network Question 2 51
No RSTP between switches 3 46
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now