traceroute命令结果分析

2023-05-16

traceroute命令结果分析

  • 1. 基本原理
  • 2. IP地址种类
    • 2.1 A类IP地址
    • 2.2 B类IP地址
    • 2.3 C类IP地址
    • 2.4 D类地址用于多点广播(Multicast)。
    • 2.5 E类IP地址
  • 3. 测试
    • 3.1 第一次
    • 3.2 第二次
  • 4. 总结
  • 5. 补充 github.com访问
    • 5.1 2022-11-02【异常】
      • 5.1.1 ICMP 跟踪
      • 5.1.2 UDP 跟踪(>32768)
      • 5.1.3 TCP 跟踪(443)
      • 5.1.4 UDP 跟踪(443)
    • 5.2 2022-11-09 【正常】
      • 5.2.1 ICMP 跟踪
      • 5.2.2 UDP 跟踪(>32768)
      • 5.2.3 TCP 跟踪(443)
      • 5.2.4 UDP 跟踪(443)
  • 6. 参考资料

1. 基本原理

客户端发送的数据包,服务器在收到这个数据包的时候会返回1个端口不可达的ICMP错误信息,客户端通过判断收到的错误信息是TTL超时还是端口不可达来判断数据包是否到达目标主机,具体的流程:

  1. 客户端发送⼀个TTL为1的数据包,到达第1站路由器之后TTL被减去1,返回了1个超时的ICMP数据包,客户端得到第1跳路由器的地址。
  2. 客户端发送⼀个TTL为2的数据包,在第2跳的路由器节点处超时,得到第2跳路由器的地址。
  3. 客户端发送⼀个TTL为3的数据包,数据包成功到达目标主机,返回1个端口不可达错误,traceroute结束。

traceroute工作原理图

注:当路由节点或者目标主机不反馈任何响应时,从命令结果上可以看到“*”号超时信息。

通常在实现的时候,会有两种报文构造方式:UDP和ICMP;

  • 从理论的角度ICMP属于L3,而UDP属于L4,且ICMP属于IP管理报文,因而ICMP属于网络管理报文,而UDP更偏向应用报文。越高层的应用被墙的可能越高,因此得不到相应的追踪结果就可想而知。
  • 从应用的角度来说,TCP/UDP都是同一个级别的应用层报文,如果服务不需要支持UDP,可以把UDP协议给封掉(比如:HTTP/HTTPS服务器)。

这里我们只是help下命令,接下去我们需要从实际的角度去看下这两种报文对于结果分析的影响。

$ traceroute --help
Usage:
  traceroute [ -46dFITnreAUDV ] [ -f first_ttl ] [ -g gate,... ] [ -i device ] [ -m max_ttl ] [ -N squeries ] [ -p port ] [ -t tos ] [ -l flow_label ] [ -w MAX,HERE,NEAR ] [ -q nqueries ] [ -s src_addr ] [ -z sendwait ] [ --fwmark=num ] host [ packetlen ]
Options:
  -4                          Use IPv4
  -6                          Use IPv6
  -d  --debug                 Enable socket level debugging
  -F  --dont-fragment         Do not fragment packets
  -f first_ttl  --first=first_ttl
                              Start from the first_ttl hop (instead from 1)
  -g gate,...  --gateway=gate,...
                              Route packets through the specified gateway
                              (maximum 8 for IPv4 and 127 for IPv6)
  -I  --icmp                  Use ICMP ECHO for tracerouting
  -T  --tcp                   Use TCP SYN for tracerouting (default port is 80)
  -i device  --interface=device
                              Specify a network interface to operate with
  -m max_ttl  --max-hops=max_ttl
                              Set the max number of hops (max TTL to be
                              reached). Default is 30
  -N squeries  --sim-queries=squeries
                              Set the number of probes to be tried
                              simultaneously (default is 16)
  -n                          Do not resolve IP addresses to their domain names
  -p port  --port=port        Set the destination port to use. It is either
                              initial udp port value for "default" method
                              (incremented by each probe, default is 33434), or
                              initial seq for "icmp" (incremented as well,
                              default from 1), or some constant destination
                              port for other methods (with default of 80 for
                              "tcp", 53 for "udp", etc.)
  -t tos  --tos=tos           Set the TOS (IPv4 type of service) or TC (IPv6
                              traffic class) value for outgoing packets
  -l flow_label  --flowlabel=flow_label
                              Use specified flow_label for IPv6 packets
  -w MAX,HERE,NEAR  --wait=MAX,HERE,NEAR
                              Wait for a probe no more than HERE (default 3)
                              times longer than a response from the same hop,
                              or no more than NEAR (default 10) times than some
                              next hop, or MAX (default 5.0) seconds (float
                              point values allowed too)
  -q nqueries  --queries=nqueries
                              Set the number of probes per each hop. Default is
                              3
  -r                          Bypass the normal routing and send directly to a
                              host on an attached network
  -s src_addr  --source=src_addr
                              Use source src_addr for outgoing packets
  -z sendwait  --sendwait=sendwait
                              Minimal time interval between probes (default 0).
                              If the value is more than 10, then it specifies a
                              number in milliseconds, else it is a number of
                              seconds (float point values allowed too)
  -e  --extensions            Show ICMP extensions (if present), including MPLS
  -A  --as-path-lookups       Perform AS path lookups in routing registries and
                              print results directly after the corresponding
                              addresses
  -M name  --module=name      Use specified module (either builtin or external)
                              for traceroute operations. Most methods have
                              their shortcuts (`-I' means `-M icmp' etc.)
  -O OPTS,...  --options=OPTS,...
                              Use module-specific option OPTS for the
                              traceroute module. Several OPTS allowed,
                              separated by comma. If OPTS is "help", print info
                              about available options
  --sport=num                 Use source port num for outgoing packets. Implies
                              `-N 1'
  --fwmark=num                Set firewall mark for outgoing packets
  -U  --udp                   Use UDP to particular port for tracerouting
                              (instead of increasing the port per each probe),
                              default port is 53
  -UL                         Use UDPLITE for tracerouting (default dest port
                              is 53)
  -D  --dccp                  Use DCCP Request for tracerouting (default port
                              is 33434)
  -P prot  --protocol=prot    Use raw packet of protocol prot for tracerouting
  --mtu                       Discover MTU along the path being traced. Implies
                              `-F -N 1'
  --back                      Guess the number of hops in the backward path and
                              print if it differs
  -V  --version               Print version info and exit
  --help                      Read this help and exit

Arguments:
+     host          The host to traceroute to
      packetlen     The full packet length (default is the length of an IP
                    header plus 40). Can be ignored or increased to a minimal
                    allowed value

2. IP地址种类

2.1 A类IP地址

A类地址的表示范围为:0.0.0.0~126.255.255.255,默认网络掩码为:255.0.0.0,A类网络用第一组数字表示网络本身的地址,后面三组数字作为连接于网络上的主机的地址,即高端位0,接下来7位表示网络ID,其余24位表示宿主机ID。A类地址分配给具有大量主机(直接个人用户)而局域网络个数较少的型网络。例如IBM公司的网络。

A类地址适合于网络较少而节点较多的情况,网络数为128个,每一网向络的节点数为1600个。

2.2 B类IP地址

B类地址的表示范围为:128.0.0.0~223.255.255.255,默认网络掩码为:255.0.0.0。B类地址分配给一般的中型网络。B类网络用第一、二组数字表示网络的地址,后面两组数字代表网络上的主机地址,即高端位10,接下来14位表示网络ID,其余16位表示宿主机ID。

B类地址适合于网络数和节点数适中的情况,网络数为16000个,每一网络的节点数为64000个。

2.3 C类IP地址

C类地址的表示范围为:192.0.0.0.~223.255.255.255,默认网络掩码为:255.255.255.0;C类地址分配给小型网络,如一般的局域网和校园网,它可连接的主机数量是最少的,采用所属的用户分为若干的网段进行管理。C类网络用前三组数字表示网络的地址,最后一组数字作为网络上的主机地址,即高端位110,接下来的21位表示网络ID,其余8位表示宿主机ID。

C类地址适合于网络数较多而节点较少的情况,网络数为2百万个,每个网络的节点数为256个。

2.4 D类地址用于多点广播(Multicast)。

D类IP地址第一个字节以“lll0”开始,它是一个专门保留的地址。它并不指向特定的网络,目前这一类地址被用在多点广播(Multicast)中。多点广播地址用来一次寻址一组计算机,它标识共享同一协议的一组计算机。

2.5 E类IP地址

以“llll0”开始,为将来使用保留。 全零(“0.0.0.0”)地址对应于当前主机。全“1”的IP地址(“255.255.255.255”)是当前子网的广播地址。

3. 测试

注1:两次测试间隔10分钟;每次测试两个命令顺序执行。
注2:命令反馈结果第一行显示跟踪目标地址,跳跃数(30),以及报文大小。

3.1 第一次

$ traceroute www.taobao.com
traceroute to www.taobao.com (111.3.86.235), 30 hops max, 60 byte packets
 1  192.168.68.1 (192.168.68.1)      0.278 ms  0.325 ms  0.368 ms
 2  192.168.1.1 (192.168.1.1)        1.411 ms  1.524 ms  1.536 ms
 3  10.105.0.1 (10.105.0.1)          4.352 ms  4.567 ms  4.683 ms
 4  111.0.94.77 (111.0.94.77)        4.500 ms  5.054 ms  5.023 ms
 5  183.248.154.69 (183.248.154.69)  9.122 ms  211.138.114.177 (211.138.114.177)  6.865 ms 183.248.154.61 (183.248.154.61)  16.148 ms
 6  112.11.232.210 (112.11.232.210)  9.169 ms  6.408 ms  120.199.239.98 (120.199.239.98)    7.845 ms
 7  111.0.36.182 (111.0.36.182)      8.210 ms  111.3.81.238 (111.3.81.238)         7.701 ms 111.0.36.154 (111.0.36.154)  7.605 ms
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
$ traceroute -I www.taobao.com
traceroute to www.taobao.com (111.3.86.234), 30 hops max, 60 byte packets
 1  192.168.68.1 (192.168.68.1)      0.241 ms  0.306 ms  0.342 ms
 2  192.168.1.1 (192.168.1.1)        0.990 ms  1.102 ms  1.418 ms
 3  10.105.0.1 (10.105.0.1)          4.671 ms  4.764 ms  4.804 ms
 4  111.0.94.73 (111.0.94.73)        6.610 ms  6.625 ms  6.621 ms
 5  117.148.181.29 (117.148.181.29)  6.435 ms  6.423 ms  6.437 ms
 6  112.15.224.74 (112.15.224.74)    9.931 ms  7.048 ms  7.534 ms
 7  111.0.36.154 (111.0.36.154)      9.137 ms  8.817 ms  9.016 ms
 8  192.168.11.10 (192.168.11.10)    8.990 ms  9.101 ms  8.963 ms
 9  10.120.120.6 (10.120.120.6)      9.181 ms  8.235 ms  8.474 ms
10  111.3.86.234 (111.3.86.234)      8.100 ms  8.237 ms  8.375 ms

3.2 第二次

$ traceroute www.taobao.com
traceroute to www.taobao.com (111.3.86.235), 30 hops max, 60 byte packets
 1  192.168.68.1 (192.168.68.1)        0.598 ms  0.547 ms  0.522 ms
 2  192.168.1.1 (192.168.1.1)          1.403 ms  1.526 ms  1.495 ms
 3  10.105.0.1 (10.105.0.1)            4.463 ms  5.138 ms  5.386 ms
 4  111.0.94.77 (111.0.94.77)          5.163 ms  5.132 ms  5.209 ms
 5  112.11.232.49 (112.11.232.49)      11.981 ms 120.199.246.237 (120.199.246.237)  9.461 ms 117.148.181.13 (117.148.181.13)    6.458 ms
 6  120.199.239.114 (120.199.239.114)  10.846 ms 112.15.224.54 (112.15.224.54)      6.480 ms 183.248.154.242 (183.248.154.242)  8.207 ms
 7  111.0.36.154 (111.0.36.154)        8.221 ms  111.0.36.178 (111.0.36.178)        8.809 ms 111.0.36.174 (111.0.36.174)        8.211 ms
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
$ traceroute -I www.taobao.com
traceroute to www.taobao.com (111.3.86.235), 30 hops max, 60 byte packets
 1  192.168.68.1 (192.168.68.1)        0.222 ms  0.259 ms  0.305 ms
 2  192.168.1.1 (192.168.1.1)          0.936 ms  1.066 ms  1.237 ms
 3  10.105.0.1 (10.105.0.1)            4.427 ms  4.738 ms  4.877 ms
 4  111.0.94.77 (111.0.94.77)          4.593 ms  4.988 ms  5.064 ms
 5  183.248.154.69 (183.248.154.69)    9.011 ms  9.519 ms  9.508 ms
 6  183.248.154.246 (183.248.154.246)  9.904 ms  7.145 ms  7.526 ms
 7  111.0.36.186 (111.0.36.186)        9.717 ms  9.403 ms  9.364 ms
 8  192.168.11.54 (192.168.11.54)      8.532 ms  8.707 ms  9.090 ms
 9  10.120.120.1 (10.120.120.1)        9.075 ms  9.063 ms  9.051 ms
10  111.3.86.235 (111.3.86.235)        9.036 ms  8.130 ms  8.150 ms

4. 总结

  1. 第一层C类地址(192.168.68.1) 我的本地路由器(防火墙)
  2. 第二层C类地址(192.168.1.1) 运营商接入光纤猫
  3. 第三层A类地址(10.105.0.1) 运营商小区光纤路由器
  4. 第四层A类地址(111.0.94.73/77) 猜测运营商内部网络
  5. 第五层
  • 第一次:UDP-B类地址(183.248.154.69、211.138.114.177、183.248.154.61)、ICMP-A类地址(117.148.181.29)
  • 第二次:UDP-A类地址(112.11.232.49、120.199.246.237、117.148.181.13)、ICMP-B类地址(183.248.154.69)
  1. 第六层: 可能存在UDP打洞的情况
  • 第一次:UDP-A类地址(112.11.232.210、120.199.239.98)、ICMP-A类地址(112.15.224.74)
  • 第二次:UDP-A/B类地址(120.199.239.114、112.15.224.54、183.248.154.242)、ICMP-B类地址(183.248.154.246)
  1. 第七层 猜测淘宝服务器关联网外地址(CDN节点或者什么的)
  • 第一次:UDP-A类地址(111.0.36.182、111.3.81.238、111.0.36.154)、ICMP-A类地址(111.0.36.154)
  • 第二次:UDP-A类地址(111.0.36.154、111.0.36.178、111.0.36.174)、ICMP-A类地址(111.0.36.186)
  1. 第八层C类地址(192.168.11.10/54) // 内部网络IP
  2. 第九层A类地址(10.120.120.6/1) // 内部网络IP
  3. 第十层A类地址(111.3.86.234/235)

5. 补充 github.com访问

分析:2022-11-02【异常】 vs 2022-11-09 【正常】数据,【浙江省杭州市 移动】切换了【浙江省舟山市 移动】,一切就正常了。

github20221102

5.1 2022-11-02【异常】

当前github.com的IP地址查询,从traceroute的角度

  1. ICMP确实出去了
  2. 使用随机的任何大于 32768 的端口地址作为目标设备的接受报文端口也出去了
  3. 使用TCP 443(https)目标端口到达了github服务器
  4. 使用UDP443(https)目标端口到达了美国节点服务器

所以,到底是哪里的问题???国内屏蔽?加拿大那边阻挡了?还是美国那边阻挡了??

注:前端时间实际上我们访问GitHub是正常的,国家并没有在工程技术这块搞得这么严格。可是最近发现持续一周都无法访问了。

5.1.1 ICMP 跟踪

$ traceroute -I www.github.com
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  [光猫路由器]192.168.1.1 (192.168.1.1)  0.830 ms  0.610 ms  0.711 ms
 2  [移动局域网 IP]10.105.0.1 (10.105.0.1)  3.230 ms  3.645 ms  3.682 ms
 3  [浙江省杭州市 移动]111.0.94.85 (111.0.94.85)  3.520 ms  3.555 ms  3.913 ms
 4  [浙江省杭州市 移动]211.138.119.153 (211.138.119.153)  5.189 ms *  5.665 ms
 5  * * *
 6  * * *
 7  [中国 移动]111.24.10.169 (111.24.10.169)  5.364 ms  5.369 ms  5.599 ms
 8  [海南省海口市 移动]221.183.111.214 (221.183.111.214)  32.629 ms  32.560 ms  32.743 ms
 9  [中国 移动]111.24.5.178 (111.24.5.178)  116.905 ms  31.698 ms  31.923 ms
10  * * *
11  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.183.25.117 (221.183.25.117)  32.122 ms  32.336 ms 221.183.25.121 (221.183.25.121)  32.666 ms
12  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.183.55.81 (221.183.55.81)  36.046 ms  36.011 ms  35.767 ms
13  * * *
14  [香港 中国移动国际有限公司]223.118.5.202 (223.118.5.202)  71.853 ms  71.794 ms  70.987 ms
15  [香港 中国移动国际有限公司]223.119.81.118 (223.119.81.118)  75.071 ms  75.178 ms  74.998 ms
16  [加拿大 Bell]64.230.44.104.in-addr.arpa (104.44.230.64)  75.493 ms  75.548 ms  75.482 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

5.1.2 UDP 跟踪(>32768)

$ traceroute www.github.com
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  [光猫路由器]192.168.1.1 (192.168.1.1)  0.848 ms  0.615 ms  0.703 ms
 2  [移动局域网 IP]10.105.0.1 (10.105.0.1)  3.528 ms  3.573 ms  3.857 ms
 3  [浙江省杭州市 移动]111.0.94.85 (111.0.94.85)  3.294 ms  3.546 ms  3.592 ms
 4  [浙江省 移动数据上网公共出口]117.148.181.13 (117.148.181.13)  4.311 ms 112.11.232.49 (112.11.232.49)  4.512 ms 117.148.181.1 (117.148.181.1)  9.321 ms
 5  [浙江省杭州市 移动]211.140.0.98 (211.140.0.98)  4.433 ms *  4.322 ms
 6  [浙江省杭州市 移动]211.140.0.97 (211.140.0.97)  4.166 ms  4.621 ms  4.800 ms
 7  [中国 移动]111.24.10.169 (111.24.10.169)  5.580 ms  4.718 ms  4.432 ms
 8  [中国 移动]111.24.5.105 (111.24.5.105)  30.792 ms  30.921 ms [海南省海口市 移动]221.183.111.214 (221.183.111.214)  31.186 ms
 9  [中国 移动]111.24.5.178 (111.24.5.178)  30.604 ms 111.24.5.174 (111.24.5.174)  30.874 ms 111.24.5.182 (111.24.5.182)  32.266 ms
10  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.176.22.158 (221.176.22.158)  33.008 ms  33.529 ms [海南省海口市 移动]221.183.68.145 (221.183.68.145)  35.493 ms
11  * * *
12  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.183.55.81 (221.183.55.81)  36.245 ms [海南省海口市 移动]221.183.68.126 (221.183.68.126)  34.653 ms [海南省海口市 移动]221.183.68.130 (221.183.68.130)  44.125 ms
13  [中国 移动-香港]223.120.2.9 (223.120.2.9)  35.518 ms 223.120.2.5 (223.120.2.5)  36.991 ms  36.979 ms
14  [中国 移动-香港]223.120.2.46 (223.120.2.46)  72.513 ms  72.378 ms 223.120.2.106 (223.120.2.106)  73.557 ms
15  [香港 中国移动国际有限公司]223.119.81.118 (223.119.81.118)  75.666 ms  73.561 ms 223.119.81.114 (223.119.81.114)  73.137 ms
16  [美国 Microsoft公司]ae24-0.icr01.sg2.ntwk.msn.net (104.44.40.102)  87.966 ms  87.604 ms ae23-0.icr02.sg2.ntwk.msn.net (104.44.230.64)  100.965 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

5.1.3 TCP 跟踪(443)

$ sudo traceroute www.github.com -T -p 443
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  [光猫路由器]192.168.1.1 (192.168.1.1)  0.750 ms  0.734 ms  0.455 ms
 2  [移动局域网 IP]10.105.0.1 (10.105.0.1)  2.771 ms  3.331 ms  3.529 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  [美国 Microsoft数据中心]20.205.243.166 (20.205.243.166)  70.031 ms  72.180 ms *

5.1.4 UDP 跟踪(443)

$ sudo traceroute www.github.com -U -p 443
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  [光猫路由器]192.168.1.1 (192.168.1.1)  0.732 ms  0.687 ms  0.533 ms
 2  [移动局域网 IP]10.105.0.1 (10.105.0.1)  3.248 ms  3.751 ms  3.600 ms
 3  [浙江省杭州市 移动]111.0.94.85 (111.0.94.85)  3.471 ms * *
 4  [浙江省杭州市 移动]* * 211.138.119.153 (211.138.119.153)  4.618 ms
 5  [浙江省杭州市 移动]211.140.0.98 (211.140.0.98)  3.997 ms  3.841 ms  4.150 ms
 6  [浙江省杭州市 移动]211.140.0.97 (211.140.0.97)  4.685 ms * *
 7  [中国 移动]111.24.10.169 (111.24.10.169)  5.379 ms  5.804 ms  7.281 ms
 8  [中国 移动]111.24.5.105 (111.24.5.105)  40.892 ms 221.183.111.214 (221.183.111.214)  32.394 ms  32.621 ms
 9  [中国 移动]111.24.5.186 (111.24.5.186)  32.822 ms 111.24.5.170 (111.24.5.170)  31.929 ms 111.24.5.190 (111.24.5.190)  33.622 ms
10  [海南省海口市 移动]221.183.68.145 (221.183.68.145)  35.285 ms 221.176.24.6 (221.176.24.6)  32.685 ms  32.036 ms
11  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.183.25.117 (221.183.25.117)  32.315 ms  43.334 ms  42.833 ms
12  [广东省广州市 中国移动骨干网广东省节点(AS9808)]221.183.55.57 (221.183.55.57)  36.822 ms  36.671 ms  36.861 ms
13  * * *
14  [中国 移动]223.120.2.46 (223.120.2.46)  73.975 ms 223.120.2.18 (223.120.2.18)  76.448 ms 223.118.5.202 (223.118.5.202)  71.598 ms
15  [香港 中国移动国际有限公司]223.119.81.114 (223.119.81.114)  77.932 ms 223.119.81.118 (223.119.81.118)  85.611 ms 223.119.81.114 (223.119.81.114)  76.867 ms
16  [美国 Microsoft公司]ae23-0.icr01.sg3.ntwk.msn.net (104.44.230.62)  77.216 ms ae23-0.icr02.sg2.ntwk.msn.net (104.44.230.64)  80.455 ms ae24-0.icr01.sg2.ntwk.msn.net (104.44.40.102)  105.147 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

5.2 2022-11-09 【正常】

5.2.1 ICMP 跟踪

$ traceroute -I www.github.com
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  0.835 ms  0.700 ms  0.836 ms
 2  10.105.0.1 (10.105.0.1)  4.024 ms  4.583 ms  4.523 ms
 3  【浙江省舟山市 移动】120.199.253.193 (120.199.253.193)  4.219 ms  4.212 ms  4.319 ms
 4  【浙江省 移动数据上网公共出口】112.17.216.186 (112.17.216.186)  4.288 ms  4.196 ms  4.351 ms
 5  * * *
 6  【浙江省 移动】211.138.128.34 (211.138.128.34)  6.253 ms  6.712 ms  6.783 ms
 7  【中国 移动】111.24.10.109 (111.24.10.109)  5.555 ms  5.903 ms  5.829 ms
 8  【海南省海口市 移动】221.176.15.129 (221.176.15.129)  36.742 ms  36.623 ms  36.541 ms
 9  【中国 移动】111.24.14.146 (111.24.14.146)  32.885 ms  32.809 ms  32.738 ms
10  【海南省海口市 移动】221.183.68.141 (221.183.68.141)  33.212 ms  33.140 ms  32.907 ms
11  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.183.25.117 (221.183.25.117)  34.137 ms  34.069 ms  33.999 ms
12  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.183.55.81 (221.183.55.81)  40.905 ms  40.812 ms  40.712 ms
13  * * *
14  【香港 中国移动国际有限公司】223.118.5.202 (223.118.5.202)  77.339 ms  77.041 ms  77.264 ms
15  【香港 中国移动国际有限公司】223.119.81.118 (223.119.81.118)  76.934 ms  76.868 ms  76.802 ms
16  【美国 Microsoft公司】ae23-0.icr02.sg2.ntwk.msn.net (104.44.230.64)  75.750 ms  82.024 ms  81.859 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

5.2.2 UDP 跟踪(>32768)

$ traceroute www.github.com
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  0.721 ms  0.532 ms  0.555 ms
 2  10.105.0.1 (10.105.0.1)  3.431 ms  4.709 ms  4.634 ms
 3  【浙江省舟山市 移动】120.199.253.193 (120.199.253.193)  4.563 ms  4.602 ms  4.531 ms
 4  【浙江省 移动数据上网公共出口】112.17.216.186 (112.17.216.186)  4.325 ms  4.120 ms  4.187 ms
 5  * * *
 6  * * *
 7  【中国 移动】111.24.10.109 (111.24.10.109)  6.938 ms  5.032 ms  5.226 ms
 8  【中国 移动】111.24.4.169 (111.24.4.169)  30.209 ms  29.638 ms 221.176.15.129 (221.176.15.129)  31.416 ms
 9  【111.24.4.254】111.24.4.254 (111.24.4.254)  32.122 ms 111.24.5.2 (111.24.5.2)  33.118 ms  30.947 ms
10  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.176.22.106 (221.176.22.106)  33.222 ms 221.183.68.137 (221.183.68.137)  32.251 ms  30.532 ms
11  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.183.25.121 (221.183.25.121)  33.309 ms 221.183.52.86 (221.183.52.86)  37.865 ms 221.183.25.117 (221.183.25.117)  33.630 ms
12  【海南省海口市 移动】221.183.68.126 (221.183.68.126)  40.347 ms 221.183.68.130 (221.183.68.130)  41.030 ms  38.730 ms
13  【中国 移动】223.120.2.9 (223.120.2.9)  41.622 ms 223.120.2.77 (223.120.2.77)  41.783 ms 223.120.2.85 (223.120.2.85)  39.548 ms
14  【中国 移动】223.120.2.18 (223.120.2.18)  69.796 ms  71.090 ms 223.120.2.106 (223.120.2.106)  75.670 ms
15  【香港 中国移动国际有限公司】223.119.81.118 (223.119.81.118)  84.485 ms 223.119.81.114 (223.119.81.114)  76.686 ms  93.149 ms
16  【美国 Microsoft公司】ae23-0.icr01.sg3.ntwk.msn.net (104.44.230.62)  80.617 ms ae24-0.icr01.sg2.ntwk.msn.net (104.44.40.102)  71.989 ms  71.167 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

5.2.3 TCP 跟踪(443)

$ sudo traceroute www.github.com -T -p 443
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  0.695 ms  0.648 ms  0.640 ms
 2  10.105.0.1 (10.105.0.1)  8.217 ms  8.123 ms  8.048 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * 20.205.243.166 (20.205.243.166)  72.508 ms *

5.2.4 UDP 跟踪(443)

$ sudo traceroute www.github.com -U -p 443
traceroute to www.github.com (20.205.243.166), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  0.858 ms  0.767 ms  0.845 ms
 2  10.105.0.1 (10.105.0.1)  4.328 ms  4.760 ms  4.612 ms
 3  【浙江省舟山市 移动】120.199.253.193 (120.199.253.193)  4.693 ms  4.744 ms  4.617 ms
 4  【浙江省 移动数据上网公共出口】112.17.216.186 (112.17.216.186)  4.010 ms  4.091 ms  3.929 ms
 5  * * *
 6  【浙江省 移动】211.138.128.34 (211.138.128.34)  5.139 ms  6.804 ms  6.265 ms
 7  【中国 移动】111.24.10.109 (111.24.10.109)  4.978 ms  5.014 ms  4.691 ms
 8  【海南省海口市 移动】221.176.15.129 (221.176.15.129)  32.089 ms  31.522 ms 221.183.109.229 (221.183.109.229)  33.549 ms
 9  【中国 移动】111.24.4.234 (111.24.4.234)  30.418 ms 111.24.4.246 (111.24.4.246)  31.371 ms  32.094 ms
10  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.176.22.106 (221.176.22.106)  35.028 ms  31.783 ms 221.183.68.137 (221.183.68.137)  31.572 ms
11  【广东省广州市 中国移动骨干网广东省节点(AS9808)】221.183.52.86 (221.183.52.86)  36.022 ms  36.334 ms  36.100 ms
12  【海南省海口市 移动】221.183.68.130 (221.183.68.130)  39.055 ms  39.820 ms 221.183.55.57 (221.183.55.57)  38.293 ms
13  * * *
14  【中国 移动】223.120.2.106 (223.120.2.106)  74.334 ms 223.120.2.46 (223.120.2.46)  71.420 ms  71.433 ms
15  【香港 中国移动国际有限公司】223.119.81.118 (223.119.81.118)  84.277 ms  84.195 ms 223.119.81.114 (223.119.81.114)  84.921 ms
16  【美国 Microsoft公司】ae27-0.icr02.sg3.ntwk.msn.net (104.44.230.66)  77.769 ms 102.40.44.104.in-addr.arpa (104.44.40.102)  69.891 ms ae23-0.icr02.sg2.ntwk.msn.net (104.44.230.64)  77.660 ms
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

6. 参考资料

【1】IP归属地查询

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

traceroute命令结果分析 的相关文章

  • 进阶训练赛(二十)

    目录 问题 A 计算矩阵边缘元素之和 问题 B 图像旋转 问题 C 最长最短单词 问题 D 输出亲朋字符串 问题 E 蓝桥杯2022初赛 李白打酒加强版 1 朴素版dfs 2 dfs 43 记忆化搜索 43 剪枝 问题 F 蓝桥杯2022初
  • 用EditPlus配置MASM汇编

    最开始写汇编程序 xff0c 是打开一个记事本就写 但是记事本不是专门的程序编辑器 xff0c 格式不好控制 xff0c 更容易写错程序 于是想到 xff0c 能有一个简单的文本编辑器 xff0c 能控制好ASM的格式 xff0c 有关键字
  • Codeforces Round #852(A~D)

    比赛原地址 xff1a Dashboard Codeforces Round 852 Div 2 Codeforces A Yet Another Promotion 买a种商品会买m送1 xff0c b种则不会 那么当a种商品单价小于等于
  • 动态联编和静态联编

    基本概念 1 静态联编 xff08 早联编 xff09 xff1a 在程序被编译时进行联编 程序执行快 xff0c 但灵活性较小 2 动态联编 xff08 晚联编 xff0c 滞后联编 xff09 xff1a 编译时无法确定要调用的函数 x
  • 函数重载常见问题

    问题一 cannot bind non const lvalue reference of type 39 Complex amp 39 to an rvalue of type 39 Complex 39 该错误提示出现的原因是 xff0
  • 输入输出流

    iomanip的控制符 resetiosflags long f 关闭由参数f指定的格式标志 xff0c 用于输入输出 setprecision int n 设置数据小数位数 xff0c 缺省时为6 xff0c 用于输入输出 setw in
  • 解决TIME_WAIT过多造成的问题

    看到TIME WAIT状态是在tcp断开链接时产生的 xff0c 因为TCP连接是双向的 xff0c 所以在关闭连接的时候 xff0c 两个方向各自都需要关闭 先发FIN包的一方执行的是主动关闭 xff1b 后发FIN包的一方执行的是被动关
  • linux后台开发常用调试工具

    一 编译阶段 nm 获取二进制文件包含的符号信息 strings 获取二进制文件包含的字符串常量 strip 去除二进制文件包含的符号 readelf 显示目标文件详细信息 objdump 尽可能反汇编出源代码 addr2line 根据地址
  • 将Ubuntu 8.04 Live CD Desktop放在硬盘上启动

    将Ubuntu 8 04 Live CD Desktop放在硬盘上启动 最近下了一个Ubuntu 8 04 Live CD Desktop 镜象文件 xff0c 放在VMWere虚拟机里试用了一下 xff0c 觉的还不错 于是更想把它放在硬
  • 如何在Android项目中使用Kotlin

    本文是作者阅读How to Use Kotlin in Your Android Projects xff0c 按照文章实现了一遍 xff0c 并将实现过程中碰到的坑总结出来的文章 简介 Kotlin是由JetBrains设计的开源编程语言
  • Android中使用log4j、android-logging-log4j-1.0

    Android中使用log4j android logging log4j 1 0 3 1 下载相关资源包 资源包下载路径 xff1a log4j xff1a http logging apache org log4j 1 2 downlo
  • 8G内存机器JVM设置模版

    Xms4096m Xmx4096m Xmn3072m XX MetaspaceSize 61 256m XX MaxMetaspaceSize 61 256m XX 43 UseParNewGC XX 43 UseConcMarkSweep
  • Java文件名及其他命名规则

    http bbs csdn net topics 70157841 关于JAVA 源文件命名的问题 Java文件命名 xff1a java程序是由类组成的 xff1b java应用程序必须有一个包含main方法的public类 xff0c
  • gdb+gdbserver调试详解

    1 gdb 43 gdbserver总体介绍 远程调试环境由宿主机GDB和目标机调试stub共同构成 xff0c 两者通过串口或TCP连接 使用 GDB标准串行协议协同工作 xff0c 实现对目标机上的系统内核和上层应用的监控和调试功能 调
  • TCP连接状态详解及TIME_WAIT过多的解决方法

    上图对排除和定位网络或系统故障时大有帮助 xff0c 但是怎样牢牢地将这张图刻在脑中呢 xff1f 那么你就一定要对这张图的每一个状态 xff0c 及转换的过程有深刻地认识 xff0c 不能只停留在一知半解之中 下面对这张图的11种状态详细
  • python爬虫 记录一次爬取淘宝的过程

    淘宝可以说是一个检验爬虫技术是否过关的最强关卡了 xff0c 下面来打破它吧 淘宝的所有操作差不多都是在登录的状态下进行的 xff0c 这时候想要对淘宝进行请求获取信息就必须在登录的状态下进行了 方式一 xff1a xff08 seleni
  • 计算机网络技术(一)——概论

    摘要 计算机网络的起源与发展计算机网络的分类计算机网络的硬件和软件设备计算机网络的性能指标计算机网络的功能和应用计算机网络的标准化组织 一 计算机网络的起源与发展 1 1 产生背景 计算机诞生后 xff0c 作为信息处理的核心器件 xff0
  • 链游玩家:浅谈链游开发平台,千里之行始于足下

    链游玩家 出品 区块链游戏行业 xff0c 截止目前已有近千款的产品 xff0c 往常我们只知道这些游戏好不好玩 xff0c 以及怎么玩 xff0c 却不知道这些游戏都是用什么开发出来的 今天 xff0c 就来带大家盘点一下 xff0c 几
  • 解决部分网页打不开的方法(特别是CSDN)

    近来遇到好几次CSDN网站连不上的状况 起初是在学校因为是连的校园网 xff0c 突然有一天连着校园网就打不开CSDN的相关网页了 xff0c 问了周围的同学 xff0c 问了几个她们也都打不开 xff0c 但是用流量就能打开CSDN网页
  • MTK平台Android项目开发框架搭建

    前言 xff1a 不同的项目配置存在差异 xff0c 原生的SDK无法兼容多个项目作业 xff0c 按照原生框架创建项目比较繁琐 xff0c 如果采用GIT分支形式来管理每个项目同样过于繁琐 因此一套代码多个项目框架是有必要的 1 编译脚本

随机推荐

  • windows平台 Anaconda及相关插件安装

    1 Anaconda官网 https www anaconda com products individual 2 Anaconda安装 3 创建python3 7虚拟环境 conda create n 名字 python 61 3 7 如
  • python paramiko 远程登陆主机并获取主机信息

    usr bin python encoding utf 8 filename host information get py author gaohaixiang writetime 20200409 import paramiko def
  • rk3568 android11 AP6275s调试

    一 AP6275S的32 768k波形要求 xff1a 1 43 25ppm xff0c 计算的范围是 xff1a 32767 1808 32768 8192Hz 2 占空比 xff1a 30 70 3 峰峰值 xff1a 1 8v 43
  • OpenCV如何获取视频当前的一帧图像

    xff08 OpenCV读取视频 OpenCV提取视频每一帧 每一帧图片合成新的AVI视频 xff09 CvCapture 是视频获取结构 被用来作为视频获取函数的一个参数 比如 CvCapture cap IplImage cvQuery
  • iptables raw表

    1 什么是raw表 xff1f 做什么用的 xff1f iptables有5个链 PREROUTING INPUT FORWARD OUTPUT POSTROUTING 4个表 filter nat mangle raw 4个表的优先级由高
  • NSMutableParagraphStyle & NSAttributedString 文本样式设置

    今天做工作时 xff0c 用到了 NSMutableParagraphStyle amp NSAttributedString xff0c 由于用C 语言 写 xff0c 一开始比较生疏 xff0c 有些语法和oc语言还是有点区别的 xff
  • 【计算机毕业设计】医院管理系统源码

    一 系统截图 xff08 需要演示视频可以私聊 xff09 一 xff0e 摘要 目前各医疗机构中 xff0c 绝大部分中小型医疗机构内部没有实现任何信息化管理 xff0c 医院临床信息 xff0c 业务流程的数据依然采取纸质记录 xff0
  • 【计算机毕业设计】88.人事工资管理系统源码

    一 系统截图 xff08 需要演示视频可以私聊 xff09 摘 要 本论文主要论述了如何使用 JAVA 语言开发一个 人事管理系统 xff0c 本系统将严格按照软件开发流程进行各个阶段的工作 xff0c 采用 B S 架构 xff0c 面向
  • 【计算机毕业设计】012基于springboot的社区团购系统设计

    一 系统截图 xff08 需要演示视频可以私聊 xff09 摘 要 本课题是根据用户的需要以及网络的优势建立的一个社区团购系统 xff0c 来满足用户 团购 的需求 本社区团购系统应用 Java 技术 xff0c MY SQL数据库存储数据
  • 四轴飞控DIY调试起飞简明步骤

    四轴飞控DIY调试起飞简明步骤 调试起飞简明步骤Step1 xff1a 飞控配置Step2 xff1a 试飞目标测试内容坐标系 Step3 xff1a 试飞方法1 升降 xff08 Throttle xff09 2 偏航 xff08 yaw
  • BetaFlight开源工程结构简明介绍

    BetaFlight开源工程结构简明介绍 Step1 获取开源代码开源代码版本克隆开源代码 Step2 了解工程情况支持模型类型 xff1a 多旋翼 amp 固定翼支持特性 amp 功能安装 amp 文档链接配置工具下载其他介绍 xff08
  • 四轴FPV无人机手动操作简明介绍

    四轴FPV无人机手动操作简明介绍 通常航拍机都是有自稳算法 43 GPS导航 43 辅助功能 避障 的支持 xff0c 从而保证飞手能够相对容易且稳定的操作模型飞机 xff0c 通常通过阅读说明书都能很快上手 xff0c 这里就不在赘述 本
  • BetaFlight开源代码框架简介

    BetaFlight开源代码框架简介 1 框架设计分析考量2 框架分析前提条件3 主程序框架4 调度框架5 模块方法6 典型任务 amp 模块6 1 典型任务6 2 典型模块6 3 传感模块 7 回顾 amp 分析8 分析模板 1 框架设计
  • 四轴飞控DIY集成FPV功能

    四轴飞控DIY集成FPV功能 1 功能需求2 概念介绍2 1 制式2 2 显示分辨率2 3 摄像头线数高于700线低于700线 3 需求分析4 组件选择5 接线组装5 1 摄像头接线5 2 图传接线 6 组装位置7 FPV功能调试7 1 摄
  • MFC拷贝文件及进度条显示

    参考 xff1a 封装CopyFileEx函数 xff0c 实现文件复制中的暂停 xff0c 控速 xff0c 获取进度 http blog csdn net career2011 article details 6844513 实例讲解C
  • BetaFlight模块设计之三十二:MSP协议模块分析

    BetaFlight模块设计之三十二 xff1a MSP协议模块分析 1 MSP协议模块1 1 MSP描述1 2 MSP版本优缺点1 3 MSP代码资源 2 MSP报文解析2 1 MSP收包状态机2 2 MSP报文格式 3 MSP报文处理3
  • BetaFlight模块设计之三十三:Pid模块分析

    BetaFlight模块设计之三十三 xff1a Pid模块分析 Pid模块1 Pid audio子模块2 Pid init子模块3 Pid算法子模块3 1 TPA模式3 2 飞行模式3 3 Launch模式3 4 AcroTrainer模
  • BetaFlight模块设计之三十四:OSD模块分析

    BetaFlight模块设计之三十四 xff1a OSD模块分析 1 OSD模块1 1 osd状态机子模块1 2 osd warnings检查子模块1 3 osd elements子模块 2 OSD设备 驱动及适配框架2 1 OSD设备2
  • ssh无法远程登陆问题汇总

    ssh无法远程登陆问题汇总 1 ssh服务是否已经启动1 1 sshd服务是否已经安装1 2 sshd是否已经启动 2 检查sshd配置3 检查路由情况4 检查hosts许可文件5 检查防火墙问题5 1 检查防火墙是否启动5 2 修改防火墙
  • traceroute命令结果分析

    traceroute命令结果分析 1 基本原理2 IP地址种类2 1 A类IP地址2 2 B类IP地址2 3 C类IP地址2 4 D类地址用于多点广播 Multicast 2 5 E类IP地址 3 测试3 1 第一次3 2 第二次 4 总结