Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Make traceroute use ICMP packets UNIX
Some routers and firewalls do not let out traceroute packets unless they are configured to allow traceroute UDP packets out. On most Unix systems, you use the -I option to make traceroute use ICMP packets. These normally get through routers and firewalls without the need of any special configeration.

However, the verson of traceroute that uses the -I option has only just made it to the Mac in Tiger. The version included in Jaguar and Panther does not allow you to use the -I option, and I had to recompile traceroute to make this work in those releases. If you want this functionality in 10.2 or 10.3, I built a packaged binary installer [63KB] you can download and install.

Typing man traceroute will show you the new -I option. As an example, type this to use ICMP packets to run a traceroute to
traceroute -I
[robg adds: I haven't tested the precompiled binary package for 10.2/10.3]
  • Currently 3.00 / 5
  You rated: 2 / 5 (6 votes cast)

Make traceroute use ICMP packets | 3 comments | Create New Account
Click here to return to the 'Make traceroute use ICMP packets' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make traceroute use ICMP packets
Authored by: andree on May 15, '05 05:02:09AM
If you cannot use traceroute even after installing the package, you can use WhatRoute and uncheck the 'Use UDP Traceroute' option in the preferences. Worked for me on any Mac and router.

[ Reply to This | # ]
Make traceroute use ICMP packets
Authored by: kwsanders on May 17, '05 08:40:23PM

Nice hint. I was having issues with DSL tonight and I tried traceroute in a terminal window with no luck. When I did a google search, this is the first result that I came to and it helped me.

[ Reply to This | # ]
Make traceroute use ICMP packets
Authored by: timhaigh on Aug 02, '06 12:30:01AM

Since Tiger apple updated their bundled version of traceroute to the same build that I compiled so it is no longer necessary to download mine.

[ Reply to This | # ]