Live data from Hacker News

The networkQuality tool on macOS

cyberhost.uk

21–30 of 92 posts

Re: The networkQuality tool on macOS

#25
post #20
post #19

Earlier quoted context omitted.

Personally I found it interesting that: * TFTP server [1] * PF Firewall [2] * pbcopy & pbpaste [3] are built-in in MacOS. Here[4] is list of MacOS command line man pages, some interesting tools can be found there. [1] https://rick.cogley.info/post/run-a-tftp-server-on-mac-osx/ [2] https://iyanmv.medium.com/setting-up-correctly-packet-filter... [3] https://osxdaily.com/2007/03/05/manipulating-the-clipboard-f... [4] ht…

Pbcopy/pbpaste are huge productivity boosters for me

Pb stands for pasteboard and not for lead. :D

http://www.nextcomputers.org/NeXTfiles/Docs/NeXTStep/3.3/nd/...

Re: The networkQuality tool on macOS

#26
It’s an unreliable tool worldwide because (I assume) it uses Apple’s servers/CDNs, which do not reliably max out my bandwidth (400MB/s in France). Verify the results with another tool if you don’t live in the US.

Re: The networkQuality tool on macOS

#27
This is a little weird for me:

Using Cloudflare's 1.1.1.1:

  ~> curl -s --doh-url https://cloudflare-dns.com/dns-query https://mensura.cdn-apple.com/api/v1/gm/config | jq -r .test_endpoint
  sgsin3-edge-bx-008.aaplimg.com
  PING sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15) 56(84) bytes of data.
  64 bytes from sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15): icmp_seq=1 ttl=52 time=74.2 ms
If I use 8.8.8.8:

  ~> curl -s --doh-url https://dns.google/dns-query https://mensura.cdn-apple.com/api/v1/gm/config | jq -r .test_endpoint
  hkhkg1-edge-bx-007.aaplimg.com
  ~> ping hkhkg1-edge-bx-007.aaplimg.com
  PING hkhkg1-edge-bx-007.aaplimg.com (17.253.85.13) 56(84) bytes of data.
  64 bytes from hkhkg1-edge-bx-007.aaplimg.com (17.253.85.13): icmp_seq=1 ttl=54 time=107 ms
Seems like I'm two different PoPs depending on which DNS I'm using.

Re: The networkQuality tool on macOS

#28

This is a little weird for me: Using Cloudflare's 1.1.1.1: ~> curl -s --doh-url https://cloudflare-dns.com/dns-query https://mensura.cdn-apple.com/api/v1/gm/config | jq -r .test_endpoint sgsin3-edge-bx-008.aaplimg.com PING sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15) 56(84) bytes of data. 64 bytes from sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15): icmp_seq=1 ttl=52 time=74.2 ms If I use 8.8.8.8: ~> curl -s --do…

why is that weird?

Re: The networkQuality tool on macOS

#29

This is a little weird for me: Using Cloudflare's 1.1.1.1: ~> curl -s --doh-url https://cloudflare-dns.com/dns-query https://mensura.cdn-apple.com/api/v1/gm/config | jq -r .test_endpoint sgsin3-edge-bx-008.aaplimg.com PING sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15) 56(84) bytes of data. 64 bytes from sgsin3-edge-bx-008.b.aaplimg.com (17.253.61.15): icmp_seq=1 ttl=52 time=74.2 ms If I use 8.8.8.8: ~> curl -s --do…

From the article:

Apple's test_endpoint changes on each request, selecting a different nearby server to reduce latency and distributing their server load.

Re: The networkQuality tool on macOS

#30
post #20
post #19

Earlier quoted context omitted.

Personally I found it interesting that: * TFTP server [1] * PF Firewall [2] * pbcopy & pbpaste [3] are built-in in MacOS. Here[4] is list of MacOS command line man pages, some interesting tools can be found there. [1] https://rick.cogley.info/post/run-a-tftp-server-on-mac-osx/ [2] https://iyanmv.medium.com/setting-up-correctly-packet-filter... [3] https://osxdaily.com/2007/03/05/manipulating-the-clipboard-f... [4] ht…

Pbcopy/pbpaste are huge productivity boosters for me

I have a shell alias so I can just type pb to do pbpaste|pbcopy - easiest way I’ve found to strip formatting and get plain text.
Post reply on HN