nxtrace / NTrace-core

NextTrace, an open source visual route tracking CLI tool
https://www.nxtrace.org
GNU General Public License v3.0
5.88k stars 347 forks source link

[Bug] Unable to complete traceroute #264

Closed missuo closed 1 month ago

missuo commented 1 month ago

Using: 1.3.4 2024-09-10T03:19:06Z brew

Unable to complete traceroute. The result is always empty starting from a certain hop.

NextTrace

~ sudo nexttrace -T 23.191.8.8
NextTrace 1.3.4 2024-09-10T03:19:06Z brew
[NextTrace API] preferred API IP - 172.67.155.192 - 406.48ms - Misaka.LAX
IP Geo Data Provider: LeoMoeAPI
traceroute to 23.191.8.8, 30 hops max, 52 bytes payload
1   10.5.0.2        *                         RFC1918
                                              6.55 ms / 6.32 ms / 6.50 ms
2   10.255.1.49     *                         RFC1918
                                              30.09 ms / 5.82 ms / 4.60 ms
3   10.255.1.32     *                         RFC1918
                                              5.85 ms / 5.44 ms / 6.64 ms
4   10.255.1.33     *                         RFC1918
                                              5.66 ms / 12.87 ms / 6.35 ms
5   136.142.252.162 AS4130                    美国 加利福尼亚 帕洛阿托
    vl801-oakland-wifi-vrf-palo-vs.cl-core-2.gw.pitt.edu   6.40 ms / 7.89 ms / 5.27 ms
6   136.142.252.160 AS4130                    美国 宾夕法尼亚州 匹兹堡
    vl800-oakland-wifi-vrf-bb.cl-core-2.gw.pitt.edu   5.74 ms / 6.12 ms / 7.80 ms
7   *
8   *
9   *
10  *
11  *
12  *
13  *
14  *
15  *
16  *
17  *
18  *
19  *
20  *
21  *
22  *
23  *
24  *
25  *
26  *
27  *
28  *
29  *
30  *
MapTrace URL: https://assets.nxtrace.org/tracemap/d25d9f98-beb4-5c7a-88c0-14fffb506ba5.html

mtr

~ sudo mtr -z 23.191.8.8
Vincents-MacBook-Pro.local (10.5.33.8) -> 23.191.8.8 (23.191.8.8)            2024-10-07T10:32:31-0400
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                             Packets               Pings
 Host                                                      Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. AS???    10.5.0.2                                       0.0%    55    3.8  22.3   3.3 883.7 118.4
 2. AS???    fou2-0-43.fq.core.gw.pitt.edu                  0.0%    55    4.9  22.0   4.0 816.9 109.3
 3. AS???    hun1-0-22.cl-core.gw.pitt.edu                  0.0%    55    6.4  20.5   4.4 752.7 100.6
 4. AS???    eth4-5.cl-core-2.gw.pitt.edu                   0.0%    55    4.0  19.5   4.0 686.6  91.7
 5. AS4130   vl801-oakland-wifi-vrf-palo-vs.cl-core-2.gw.p  0.0%    55    5.1  17.2   3.9 620.7  82.9
 6. AS4130   vl800-oakland-wifi-vrf-bb.cl-core-2.gw.pitt.e  0.0%    55    5.2  17.9   4.7 556.6  74.1
 7. AS4130   et-2-3-0-712.externals-cl.gw.pitt.edu          0.0%    55   32.7  45.1   5.3 1561. 218.1
 8. AS4130   136.142.253.56                                 0.0%    55    6.4  42.8   6.2 1493. 206.8
 9. AS11164  hundredge-0-0-0-25.69.core1.pitt.net.internet  0.0%    54   11.2  43.7   7.0 1418. 196.2
10. AS???    fourhundredge-0-0-0-4.4079.core1.ashb.net.int  0.0%    54   15.4  48.2  14.9 1354. 184.7
11. AS???    163.253.1.133                                 38.9%    54   13.4  60.5  13.1 1286. 222.9
12. AS6939   port-channel1.core2.ash1.he.net               96.2%    54   14.8  20.4  14.8  26.0   8.0
13. AS6939   port-channel7.core2.pao1.he.net               45.3%    54   79.8 104.4  64.9 1150. 201.2
14. AS6939   port-channel2.core6.fmt2.he.net               18.9%    54   64.8  92.1  64.8 1086. 155.2
15. AS210000 31.41.34.30                                    0.0%    54   64.5  85.1  64.4 1020. 129.8
16. AS30700  23.191.8.8.owo.network                         0.0%    54   65.1  83.0  64.8 952.5 120.6
tsosunchia commented 1 month ago

看起来是tcp和icmp模式的差别

missuo commented 1 month ago

看起来是tcp和icmp模式的差别

是的,ICMP 可以工作。