Is it possible to do a traceroute in the browser?

后端 未结 8 1741
执念已碎
执念已碎 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:29

    Why don't you just sign the applet? Isn't the problem actually more you don't know how to sign the applet? If so, then start here: jarsigner. Here is a more clear tutorial.

    There is actually no simpler/better solution than actually running some piece of code and/or commands at the client machine. The traceroute really have to originate at the client machine.

    Javascript and Actionscript cannot do this due to security restrictions. They lives in the webpage context only. Silverlight might be able to do, but don't pin me on that. I don't do NET stuff.

提交回复
热议问题