mtr for Mac OS X

June 14th, 2006

MTR is a useful command-line utility which combines ping and traceroute to display the path packets are taking between two machines.

I’ve compiled mtr-0.71 it for Mac OS X, and you can get it here: mtr.zip.

The zip file contains a universal binary, a man page, and a README file telling you what to do with them.

If you like this, you might also like my ports of wget and bacula-fd.

Possibly related, but possibly totally unrelated, posts include
 "wget for Mac OS X"  "Bacula on Mac OS X"  "VoodooPad"  "Address Book to CSV

7 Responses to “mtr for Mac OS X”

  1. Dougal Says:

    Cool stuff - perhaps worth submitting a port file for darwinports? Darwinports has wget and bacula in there already (no idea if bacula == bacula-fd is true…).

    Usually my second task on getting a new mac is to run DP and install a bunch of “essentials” such as latex, gnuplot, wget, and so on. The first task is to install the dev tools of course, as DP builds from source :)

    Of course, I should also point out that ping type tools only show the path from you to a host, and path from the host to you may not be the same (particularly if ISPs between you and the destination use hot potato routing). And then there’s the assumption ICMP traffic is routed the same as other IP traffic (though I’ve not seen a case where that’s not the case, whereas I have seen the hot potato effect).

  2. qsf Says:

    Hi Dougal -

    Well, the changes I made were trivial and are mentioned in the README. One of the reasons I build these ‘native’ binaries is so I don’t need to install Fink, Darwinports,etc.

    Great though those projects are, there’s just too much clutter for me - I usually only need a few extra things and prefer to have them independent of such infrastructures. But that’s just my taste…

    Yes, the routing point is a good one.

    Best,
    Quentin

  3. Noel Says:

    Just got my first mac, and was looking form mtr wanted to say thanks for your work.

  4. Nathan Says:

    Awesome stuff. One question though, how would I go about compiling mtr on my mac? (I ask b/c there are other programs that I want to use, but I can’t find them for Mac OS X… so how should I go about compiling something for my mac? Is it just:

    ./configure
    make
    make install?

    Thanks!

  5. Gustavo Diogenes Says:

    Great stuff!! Just wanted to say thanks for the compiled mtr. Like you I only need a few tools that I miss from Linux, and having them without having to install a bunch of things and compiling from scratch is just great.

  6. Steve Rawlinson Says:

    Just to let you know, mtr 0.71 compiles on the osx 10.4 if you add

    #define BIND_8_COMPAT

    to the top of dns.c You don’t have to do any function renaming.

    steve

  7. Matt Says:

    Thanks a bunch. This saved me having to grab the source and whathave. :-)

Leave a Reply

Powered by WP Hashcash