nextdns / diag

Network diagnostic tool
MIT License
93 stars 17 forks source link

Script hangs in the middle of execution for up to an hour. #3

Open IceCodeNew opened 3 years ago

IceCodeNew commented 3 years ago

time sh -c 'sh -c "$(curl -sL https://nextdns.io/diag)"'

Welcome to NextDNS network diagnostic tool.

This tool will download a small binary to capture latency and routing information
regarding the connectivity of your network with NextDNS. In order to perform a
traceroute, root permission is required. You may therefore be asked to provide
your password for sudo.

The source code of this tool is available at https://github.com/nextdns/diag

Do you want to continue? (press enter to accept)
Testing IPv6 connectivity
  available: true
Fetching https://test.nextdns.io
  status: ok
  client: 193.110.*******
  protocol: DOH
  dest IP: 45.90.28.0
  server: rix-hkg-1
Traceroute for primary IPv4 (45.90.28.0)
    1  193.110.******    0ms   0ms   0ms
^C

real    72m1.162s
user    0m0.419s
sys     0m0.174s

image

rs commented 3 years ago

What is your platform/OS/version?

IceCodeNew commented 3 years ago

What is your platform/OS/version?

uname -a Linux ******** 5.8.0-29-generic #31~20.04.1-Ubuntu SMP Fri Nov 6 16:10:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

dmfrey commented 2 months ago

Traceroute is hanging when trying to run diag against 1.43.3 install. See this output where it's stuck:

Testing IPv6 connectivity
  available: false
Fetching https://test.nextdns.io
  status: ok
  client: 24.229.200.248
  protocol: DOH
  dest IP: 162.220.223.23
  server: anexia-ewr-1
Fetching PoP name for ultra low latency primary IPv4 (ipv4.dns1.nextdns.io)
  vultr-ewr: 19.638ms
Fetching PoP name for ultra low latency secondary IPv4 (ipv4.dns2.nextdns.io)
  anexia-ewr: 13.054ms
Fetching PoP name for anycast primary IPv4 (45.90.28.0)
  zepto-xrs: 26.782ms
Fetching PoP name for anycast secondary IPv4 (45.90.30.0)
  anexia-ewr: 16.078ms
Pinging PoPs
  anexia-ewr: 11.887ms
  hetzner-iad: 20.496ms
  smarthost-bos: 20.537ms
  vultr-ewr: 20.505ms
  anexia-mnz: 20.451ms
  zepto-xrs: 20.544ms
  zepto-iad: 20.465ms
  axcelx-bos: 20.506ms
  teraswitch-pit: 24.632ms
  cloudzy-pit: 52.182ms
Traceroute for ultra low latency primary IPv4 (66.135.25.157)
    1   10.229.192.1   13ms   5ms   7ms
    2 207.44.112.149    9ms   8ms   7ms
    3  172.16.10.101   13ms  14ms  13ms
    4  172.16.10.170   13ms  14ms  13ms
    5 213.200.112.170   14ms  15ms  12ms
    6 173.205.45.234   74ms  44ms  48ms