如何在无需root特权的情况下运行类似traceroute的程序? [英] How is it possible to run a traceroute-like program without needing root privileges?

查看:179
本文介绍了如何在无需root特权的情况下运行类似traceroute的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到另一个程序在其中提供了traceroute功能,但不需要root(超级用户)特权?我一直认为原始套接字需要是root,但是还有其他方法吗? (我认为有人提到过"supertrace"或"tracepath"?)谢谢!

I have seen another program provide traceroute functionality within it but without needing root (superuser) privileges? I've always assumed that raw sockets need to be root, but is there some other way? (I think somebody mentioned "supertrace" or "tracepath"?) Thanks!

推荐答案

Ping目标,逐渐增加TTL并观察"TTL超出"响应的来源.

Ping the target, gradually increasing the TTL and watching where the "TTL exceeded" responses originate.

这篇关于如何在无需root特权的情况下运行类似traceroute的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆