title: Is it possible to do a traceroute in the browser?
body: <p>I'm looking for a way to do a traceroute client-side, i.e. in a browser.</p>
  
  <p>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 in Actionscript but it doesn't seem useful for a traceroute implementation.</p>
  
  <p>Is the only solution to develop a browser plug-in ?</p>
  
  <p><strong>EDIT</strong>: I just found out that it has been done with a Java applet: <a href="http://www.codefromthe70s.org/traceroute.aspx" rel="noreferrer">http://www.codefromthe70s.org/traceroute.aspx</a></p>
  
  <p>The bad news is that this applet requires to be signed code because it actually parses the output from the ping executable of the underlying client system. Because of this, the user is asked to allow the Java application to run, which is cumbersome.</p>
  
  <p>More info here: <a href="http://www.codefromthe70s.org/traceroute_explained.aspx" rel="noreferrer">http://www.codefromthe70s.org/traceroute_explained.aspx</a></p>
  
  <p>I am still looking for a simpler solution if anyone can help.</p>
  
  <p><strong>EDIT 2</strong>: Thanks for your answers. I guess I'll have to go with Java then.</p>
  
  <p>I wonder if NaCl ( <a href="http://code.google.com/p/nativeclient/" rel="noreferrer">http://code.google.com/p/nativeclient/</a> ) would support some kind of traceroute app.</p>