jsdelivr / globalping-probe

The globalping probe code that runs on your hardware and connects to the global community network of probes
https://www.jsdelivr.com/globalping
79 stars 21 forks source link

Better QA endpoints #135

Open jimaek opened 1 year ago

jimaek commented 1 year ago

The issue keeps coming up. Even reliable servers keep failing the QA test because of weirdness from the selected root-servers

root@globalping-probe:~# curl ipinfo.io
{
  "ip": "143.110.217.4",
  "city": "Toronto",
  "region": "Ontario",
  "country": "CA",
  "loc": "43.5272,-79.6617",
  "org": "AS14061 DigitalOcean, LLC",
  "postal": "L5K",
  "timezone": "America/Toronto",
  "readme": "https://ipinfo.io/missingauth"
root@globalping-probe:~# ping k.root-servers.net
PING k.root-servers.net (193.0.14.129) 56(84) bytes of data.
64 bytes from k.root-servers.net (193.0.14.129): icmp_seq=1 ttl=46 time=325 ms
64 bytes from k.root-servers.net (193.0.14.129): icmp_seq=3 ttl=46 time=324 ms
64 bytes from k.root-servers.net (193.0.14.129): icmp_seq=4 ttl=46 time=324 ms
^C
--- k.root-servers.net ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3030ms
rtt min/avg/max/mdev = 323.883/324.415/325.111/0.514 ms

We should either select a different group of root servers or try to find better endpoints.

https://root-servers.org/

jimaek commented 1 year ago

Need to test a few more root-servers and maybe also use 192.175.48.1

Blocked by https://github.com/jsdelivr/globalping/issues/354

jimaek commented 1 year ago

L server unstable https://github.com/jsdelivr/globalping-hwprobe/issues/21

Albonycal commented 1 year ago

Why not use a set of popular websites like google.com 1.1.1.1 apple.com etc. like RIPE ATLAS uses?

jimaek commented 1 year ago

Because popular sites are blocked in many countries, e.g. google is blocked in China, we need very stable endpoints that would never get banned in any country. This rules out most American companies and limits us to organizations like root-servers