详细介绍:x-firewalk是一款基于RAW SOCKET,利用ICMP TTL TIME-EXCEEDED包特性使用ICMP\UDP\TCP 协议进行tracert和端口ACL扫描的综合性网络小工具。可以在WIN2K/XP/2003 OS平台上运行。 由于XP SP2对系统的RAW SOCKET进行了修改和限制,将无法使用其中tracert功能中的TCP部分。 二、使用介绍
1.Tracert部分
1.1 我们在使用系统自带的tracert.exe的时候,经常发现,很多的站点无法Tracert,如下所示(拷贝CMD的输出): (当然跟各自所在的网络也有关系,同样是电信的网络,限制的情况也是不同的)
Microsoft Windows 2000 [Version 5.00.2195] (C) 版权所有 1985-2000 Microsoft Corp.
c:\winnt\system32>tracert www.163.net
Tracing route to www.163.net [202.108.252.146] over a maximum of 30 hops:
1 * * * Request timed out. 2 * * * Request timed out. 3 * * * Request timed out. 4 * * * Request timed out. 5 * * * Request timed out. 6 * * * Request timed out. 7 * * * Request timed out. 8 * * * Request timed out. 9 * * * Request timed out. 10 * * * Request timed out. 11 * * * Request timed out. 12 * * * Request timed out. 13 * .....
这里的原因是因为现在Internet上很多的路由节点出于某些原因,过滤了ICMP type=8 code=0(也就是PING的请求包)。 使得系统自带的基于这个这个协议工作的tracert.exe无法正常工作,而一路返回"request time out".
1.2 所以,如果我们想继续tracert,必须弃用ICMP协议作为探测协议,而改用其他协议。 |