tcptraceroute好像也不能用!

helloghui 2008-07-17 10:39:47
最近在看<<tcp/ip详解vol.1>>,里面经常用到traceroute,但是在linux下用了之后才发现此工具已经不能用了.
于是就装了tcptraceroute (version:1.5beta7),但是发现还是不能用,以下是tcptraceroute里面的说明,

The more traditional traceroute(8) sends out either UDP or ICMP ECHO
packets with a TTL of one, and increments the TTL until the destination
has been reached. By printing the gateways that generate ICMP time
exceeded messages along the way, it is able日 to determine the path pack-
ets are taking to reach the destination.
The problem is that with the widespread use of firewalls on the modern
Internet, many of the packets that traceroute(8) sends out end up being
filtered, making it impossible to completely trace the path to the des-
tination. However, in many cases, these firewalls will permit inbound
TCP packets to specific ports that hosts sitting behind the firewall
are listening for connections on. By sending out TCP SYN packets
instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass
the most common firewall filters.
难道说tcptraceroute发送的tcp包也被防火墙给过滤调了?
汗,郁闷中,各位大侠指点一下吧^=^
...全文
199 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
vcPlayer 2008-07-18
  • 打赏
  • 举报
回复
那就是路由拒绝回复了。到其它地方试试看。
helloghui 2008-07-18
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 vcPlayer 的回复:]
tcptraceroute 是依靠ICMP和IP中的生命计数器工作的,一般情况下路由都会返回这么一个信息给源地址,但也有可能不返回。

Windows下有个控制台:tracert
[/Quote]
我在windosw xp下用了,tracert也不行。与tcptraceroute一样,结果都是
1 * * *
2 * * *
。。。。。
CathySun118 2008-07-18
  • 打赏
  • 举报
回复
应该是你的tcptraceroute for linux 版本不对吧,
vcPlayer 2008-07-18
  • 打赏
  • 举报
回复
tcptraceroute 是依靠ICMP和IP中的生命计数器工作的,一般情况下路由都会返回这么一个信息给源地址,但也有可能不返回。

Windows下有个控制台:tracert
helloghui 2008-07-18
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 vcPlayer 的回复:]
那就是路由拒绝回复了。到其它地方试试看。
[/Quote]
嗯,我感觉也应该是这样,发出的数据包应该是在联接Internet的那个路由器那儿被过滤调了.

18,356

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 网络编程
c++c语言开发语言 技术论坛(原bbs)
社区管理员
  • 网络编程
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧