zaterdag 2 augustus 2008

My TraceRoute for OSX?

Damn:

checking sys/xti.h presence... no
checking for sys/xti.h... no
checking for floor in -lm... yes
./configure: line 6742: syntax error near unexpected token `1.0.0,'
./configure: line 6742: ` AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"'

MyTraceRoute is a kick ass network connection 'debug' implementation that sends a sequence of ICMP ECHO requests to each hop to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.

iPhone:~ root# ./mtr --report www.google.com
HOST: iPhone Loss% Snt Last Avg Best Wrst StDev
1. 192.168.1.2 0.0% 10 2.0 9.6 1.9 72.4 22.1
[SNIP]
14. 12.88.155.14 66.7% 9 24.4 63.0 20.7 143.8 70.0
15. 216.239.48.110 87.5% 8 23.7 23.7 23.7 23.7 0.0
16. 66.249.95.149 25.0% 8 38.0 37.0 35.1 39.8 1.7
17. ??? 100.0 8 0.0 0.0 0.0 0.0 0.0
18. 209.85.253.161 14.3% 7 46.7 44.4 36.9 50.6 5.3
19. 74.125.47.104 85.7% 7 36.8 36.8 36.8 36.8 0.0

Simple, light & uses stuff we have been using for years, just a little better. The way I like it. It runs nicely on the iPhone, install it via Cydia, but for the love of cheese I can not compile it on my OSX Darwin MacBook.

Anyone?

2 opmerkingen:

sandro zei

9-6:j obscure$ sudo port
Password:
MacPorts 1.600
Entering interactive mode... ("help" for help, "quit" to quit)
[tmp/j] > search mtr
mtr net/mtr 0.73 'traceroute' and 'ping' in a single tool
rmtrash sysutils/rmtrash 0.3.3 move the file to OS X's Trash
[tmp/j] > install mtr
---> Fetching mtr
---> Attempting to fetch mtr-0.73.tar.gz from ftp://ftp.bitwizard.nl/mtr/
---> Verifying checksum(s) for mtr
---> Extracting mtr
---> Applying patches to mtr
---> Configuring mtr
---> Building mtr with target all
---> Staging mtr into destroot
---> Installing mtr 0.73_0
---> Activating mtr 0.73_0
---> Cleaning mtr
[tmp/j] >




worked on mine when i used the darwin ports

mokum von Amsterdam zei

Duh!
I hardly ever use ports, silly but true. This solved it nicely, Sandro. Thanks a lot!