cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8353
Views
0
Helpful
1
Replies

traceroute - udp v icmp

grunky
Level 1
Level 1

I've noticed that traceroute(using udp) will often times trace out so far then die....

However tossing the -I option(under most unicies) will almost always give both quicker traces and ones that actually terminate at the desired host, instead of trailing off with '*' indicating that router does not support icmp time extends or is blocking the udp ports for traceroute.

I'm not understanding the pros and cons of each traceroute method. Also why do two methods exist? What can a udp traceroute do(or can't do) that gave rise to icmp based traces..

1 Reply 1

steve.barlow
Level 7
Level 7

The Microsoft traceroute command uses ICMP and the Cisco/UNIX traceroute command uses UDP (icmp unreachable will be returned though).

Here is a good link explaining: http://www.cisco.com/warp/public/105/traceroute.shtml

Here is a good link on how to allow it through your firewall:

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00800e9312.shtml

I don't think one method is necessarily better than another, just different implementaions. You have to know both for your firewalling.

Although if I had to argue one against the other I would say UDP is better:

1) ICMP will be filtered more often than UDP by acls and firewalls and rate-limiting

2) due to the security risks ICMP pose.

Hope it helps.

Steve

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: