为什么traceroute在amazon.com,yahoo.com和ebay.com上失败?

在解决networking性能问题的同时,我在各种网站上运行traceroute 。 以下网站反复不能完成traceroute

  • yahoo.com
  • amazon.com
  • ebay.com

问题

  • 这些网站是否保护其networking,使traceroute无法完成?
  • 我认为这是基于这些网站的networking,与我们的networking性能问题无关。 这是一个安全的假设吗?

示例Traceroute for ebay.com

 $ traceroute ebay.com traceroute: Warning: ebay.com has multiple addresses; using 66.135.205.13 traceroute to ebay.com (66.135.205.13), 64 hops max, 52 byte packets 1 10.10.100.1 (10.10.100.1) 56.518 ms 2.390 ms 2.082 ms 2 mo-69-34-118-1.sta.embarqhsd.net (69.34.118.1) 9.943 ms 10.007 ms 10.177 ms 3 mo-69-68-209-249.dyn.embarqhsd.net (69.68.209.249) 10.976 ms 21.159 ms 10.015 ms 4 ge-6-20.car1.stlouis1.level3.net (4.53.160.13) 26.562 ms 26.278 ms 25.818 ms 5 ae-11-11.car2.stlouis1.level3.net (4.69.132.186) 26.393 ms 26.519 ms 79.884 ms 6 ae-4-4.ebr2.chicago1.level3.net (4.69.132.190) 32.965 ms 26.123 ms 48.123 ms 7 ae-5-5.ebr2.chicago2.level3.net (4.69.140.194) 27.308 ms 26.784 ms 26.693 ms 8 ae-2-52.edge4.chicago3.level3.net (4.69.138.166) 27.137 ms 26.473 ms 27.047 ms 9 chp-brdr-03.inet.qwest.net (63.146.27.17) 26.315 ms 26.329 ms 26.449 ms 10 dvr-edge-13.inet.qwest.net (67.14.24.89) 51.270 ms 51.355 ms 51.134 ms 11 * * * 12 * * * . . . . . 33 * * * 34 * *^C 

如果阻止某些ICMPstream量,防火墙或任何原因,则跟踪路由不能完全工作。 它们通常是UDP(DNS查找)和ICMP的混合体。

如果您运行traceroute -I yahoo.comtraceroute -T yahoo.com您应该看到不同的结果(yahoo.com为我完成)。 这使用ICMP回显和TCP SYN。

从Linux上的traceroute命令的手册页

In the modern network environment the traditional traceroute methods can not be always applicable, because of widespread use of firewalls. Such firewalls filter the "unlikely" UDP ports, or even ICMP echoes. To solve this, some additional tracerouting methods are implemented (including tcp), see LIST OF AVAILABLE METHODS below. Such methods try to use particular protocol and source/destination port, in order to bypass firewalls (to be seen by firewalls just as a start of allowed type of a network session).

Traceroute使用一组ICMP消息。 每个都有3个ICMP消息。 (每组消息中的HOP计数增加1)。

通常pipe理员阻止ICMP数据包“保护”他们的networking。 (主要是为了掩盖networking和DoS的结构)。

这就是为什么你得到星星。

Tracert不是分析性能问题的工具,它是发现特定主机path的工具。 对外部主机运行tracert不会告诉你自己的networking。

首先通过测量两个内部主机之间的延迟和数据包丢失来查看您的内部networking。 然后在您的工作站上运行数据包捕获,并查找ARP泛滥,广播风暴,TCP重新传输和重复确认等networking拥塞的证据。