Is it possible to do a traceroute in the browser?

后端 未结 8 1754
执念已碎
执念已碎 2021-02-02 11:00

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

8条回答
  •  别那么骄傲
    2021-02-02 11:28

    Maybe a little late, but could be interesting for future readings (like mine :-D).

    Java 1.5 has a InetAdress Class with a isReachable method, that you can try. Check this:

    http://download.oracle.com/javase/1.5.0/docs/api/java/net/InetAddress.html#isReachable(int)

提交回复
热议问题