nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.31k stars 159 forks source link

Some IP addresses missing in trace #25

Closed paulmenzel closed 2 years ago

paulmenzel commented 2 years ago

Using traceroute shows cloudflare.bcix.de, but ASN’s trace does not.

$ git log --oneline -1 --no-decorate 
23b2d39 Minor tweaks
$ ./asn 1.1.1.1

────────────────────────────────────────────────────────────
            WARNING 

No IPQualityScore token found, so disabling in-depth threat 
analysis and IP reputation lookups. Please visit 
https://github.com/nitefood/asn#ip-reputation-api-token 
for instructions on how to enable it. 
────────────────────────────────────────────────────────────

╭────────────────────────╮
│ ASN lookup for 1.1.1.1 │
╰────────────────────────╯

 1.1.1.1 ┌PTR one.one.one.one
         ├ASN 13335 (CLOUDFLARENET, US)
         ├ORG APNIC and Cloudflare DNS Resolver project
         ├NET 1.1.1.0/24 (APNIC-LABS)
         ├ABU helpdesk@apnic.net
         ├ROA ✓ VALID (1 ROA found)
         ├TYP  Anycast IP   Hosting/DC 
         ├GEO Magomeni, Dar es Salaam (TZ)
         └REP ✓  KNOWN GOOD as "Cloudflare Public DNS" 

╭──────────────────╮
│ Trace to 1.1.1.1 │
╰──────────────────╯

 Hop IP Address                                                                               Loss%      Ping avg     AS Information                  
  1. ???                                                                                       100%             *   (No reply)                        
  2. ???                                                                                       100%             *   (No reply)                        
  3. ae14-0.0002.dbrx.02.ber.de.net.telefonica.de (62.53.11.222)                                 0%        9.2 ms   [AS6805] TDDE-ASN1, DE            
  4. ae1-0.0002.prrx.02.ber.de.net.telefonica.de (62.53.12.61)                                  80%        7.5 ms   [AS6805] TDDE-ASN1, DE            
  5. ???                                                                                       100%             *   (No reply)                        
  6. one.one.one.one (1.1.1.1)                                                                  80%        9.1 ms   [AS13335] CLOUDFLARENET, US       

Trace complete in 11 seconds.

╭────────────────────╮
│ AS path to 1.1.1.1 │
╰────────────────────╯

  6805   TDDE-ASN1 (Local AS)
 ╭╯
 ╰13335  CLOUDFLARENET

$ traceroute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  ae14-0.0001.dbrx.02.ber.de.net.telefonica.de (62.53.11.220)  12.626 ms  12.610 ms  12.587 ms
 4  ae0-0.0002.prrx.02.ber.de.net.telefonica.de (62.53.12.59)  11.638 ms ae0-0.0001.prrx.02.ber.de.net.telefonica.de (62.53.4.153)  12.564 ms ae1-0.0001.prrx.02.ber.de.net.telefonica.de (62.53.4.155)  17.601 ms
 5  cloudflare.bcix.de (193.178.185.17)  17.145 ms as13335.berlin.megaport.com (194.9.117.74)  14.391 ms  14.379 ms
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
nitefood commented 2 years ago

Apparently different paths are available through those hops for the destination host, anyway asn uses mtr and not traceroute for tracing. Can you please reproduce using mtr? Thanks for the feedback.