PDA

View Full Version : Weird traceroute: OSX dont work, Win7 works.




TIGOS
Feb 7, 2011, 10:02 AM
Look, i play minecraft in my macmini. So, sometimes i cant reach the server.

I run traceroute in terminal and they fail at some hop.

But, when i try traceroute in Win7 (dual boot) they reaches the server!

Same happen to www.opensubtitiles.org too.

I already tested with my two macs and (both clean install and updated) and they show same results: in osx my routes fail, but in windows they works.


Anyone know something about it? it's a kind of bug? (new bug perhaps?)


(This mincraft server are brazilian)



Alrescha
Feb 7, 2011, 10:13 AM
Windows tracert uses ICMP (ping). Unix traceroute uses UDP. If something is filtering UDP packets, the Window tracert will work when a Unix traceroute will not.

A.

TIGOS
Feb 7, 2011, 10:16 AM
No ones is filtering.

Here i have one Thomson Speedtouch ADSL routed and ive changed his firewall to off.

At Mac OS, Firewall still disabled too.

Alrescha
Feb 7, 2011, 10:52 AM
I did not mean to imply that the possible filter was under your control. The eighth host in your traceroute might be the culprit.

In any case, try:

traceroute -P icmp address-of-your-server

A.

TIGOS
Feb 7, 2011, 11:05 AM
Yeah... i try traceroute -I IP and works... but how make OSX use ICMP instead UDP?!

belvdr
Feb 7, 2011, 11:55 AM
These programs like aren't using ICMP for connectivity, except for a ping to determine latency. All connections will be either TCP (likely) or UDP.

Therefore, testing a traceroute is not really valid. You want to test the TCP connectivity to the host in question.