Questions tagged [traceroute]

traceroute traces the route taken by packets over a TCP/IP network. It is used as a network debugging tool to show where packets are being lost along the route.

264 questions
33
votes
7 answers

TraceRoute and Ping in C#

Does anyone have C# code handy for doing a ping and traceroute to a target computer? I am looking for a pure code solution, not what I'm doing now, which is invoking the ping.exe and tracert.exe program and parsing the output. I would like…
NET789
22
votes
8 answers

Is it possible to do a traceroute in the browser?

I'm looking for a way to do a traceroute client-side, i.e. in a browser. As far as I know, it's not possible to send ICMP, UDP or TCP packets with arbitrary TTL values via Javascript or Flash. I know Flash allows TCP connections via the Socket class…
Franck
  • 6,170
  • 4
  • 24
  • 35
17
votes
5 answers

What do the numbers reported by the Windows TraceRt Mean

I need to create a trace route as part of a .NET appliation to support trouble shooting. I have figured out how to use the .NET Ping class to do the tracing. What I do not understand is what the numbers reported by the command line utility are. …
JonStonecash
  • 1,262
  • 2
  • 10
  • 17
17
votes
1 answer

Telling a story with traceroute: how does it work?

If you do a traceroute on bad.horse you get this amazing result: ⚘ traceroute bad.horse …
Wayne Werner
  • 41,650
  • 21
  • 173
  • 260
17
votes
2 answers

How does traceroute work?

It seems almost magical. What is the traceroute command doing in order to map out the entire path to some other node on the Internet?
raldi
  • 19,496
  • 29
  • 73
  • 85
15
votes
2 answers

Is is possible to make a cURL request and get the route that is taken (similar to traceroute)

I have a GET request with header params and I want to check which db instance my app is using. Is there a way I could build a cURL request that would tell me where my request is going? I know there is a traceroute command which displays all the…
DanielD
  • 877
  • 3
  • 11
  • 20
15
votes
1 answer

Why traceroute sends UDP packets and not ICMP ones?

According to the Stevens (TCP/IP Illustrated) the traceroute program sends UDP packets to the destination host with an incremental TTL (1, 2, 3, etc) to get the intermediate hops info from the ICMP TTL EXPIRED messages. The "destination reached"…
sergico
  • 2,435
  • 1
  • 25
  • 36
14
votes
4 answers

Is there a PowerShell equivalent tracert that works in version 2?

I'm using PSVersion 2.0 and I was wondering is there a equivalent to the traceroute for it? I'm aware that on PowerShell v4 there is Test-NetConnection cmdlet to do tracert but v2?! It can be done like: Test-NetConnection "IPaddress/HOSTaname"…
Sylca
  • 2,385
  • 4
  • 26
  • 51
14
votes
2 answers

How is it possible for traceroute to timeout, yet the site will load fine in a browser?

I am able to load www.cnn.com in Chrome, yet when I do a traceroute from the command line (OSX), it times out at level3.net I used this Chrome extension to verify the IP that Chrome is using for www.cnn.com (I can't find a way with Chrome debugger…
jpeskin
  • 2,691
  • 4
  • 26
  • 26
13
votes
5 answers

Tracert on Windows Returns Slower than on Linux

I have two computers, one Windows and one Linux sitting side by side on my desk, both connecting to the same internet. If I run a tracert on www.stackoverflow.com and traceroute www.stackoverflow.com, both return the same data. However, tracert on…
Paul
  • 7,305
  • 10
  • 45
  • 71
12
votes
3 answers

tracert command returns timed out

tracert returns requested time out. What I understand from this is the packets lost some where on the network. Does it mean the issue is with the ISP or with the hosting provider or my windows system? 10 * * * Request timed…
Raghav
  • 5,039
  • 3
  • 15
  • 28
11
votes
1 answer

OSX equivalent for IP_RECVERR

I'm trying to port a TraceRoute program from Linux to OSX, and i'm having trouble finding the IP_RECVERR equivalent. The way most people do the packet parsing is: setsockopt (sock, IPPROTO_IPV4, IP_RECVERR, &on, sizeof (on)) And then when the…
kmdent
  • 1,505
  • 15
  • 29
9
votes
5 answers

Script to start traceroute if continuous ping fails, output to log

I want to continuously ping my home public IP address, and if the ping fails automatically do a traceroute to see where it's failing. I've been trying to follow the comments made…
lysdexic
  • 323
  • 1
  • 3
  • 13
9
votes
2 answers

How to traceroute in adb shell?

I have a rooted device, I type "su" in adb shell, then I try to traceroute. It says "traceroute: not found". I can't find traceroute in any bin folders. Thanks for any hints.
user289463
  • 2,736
  • 3
  • 18
  • 21
9
votes
1 answer

Softlayer ISP Blocking Network dropping out when connecting to wp_remote_post Wordpress

We are really looking for help from the community we are getting issues where our clients website can no longer reach my api and timeout with. Connection timed out after 10001 milliseconds. We have contacted our hosts media temple and they cant…
user1503606
  • 2,818
  • 10
  • 36
  • 69
1
2 3
17 18