NETSNetwork Endpoint Throughput Sampler

How fast is this link, really?

NETS runs iperf3 send and receive tests, over IPv4 and IPv6, against 23 curated public endpoints in North America, Europe and Asia-Pacific — Leaseweb, Clouvider, Eranium, Wobcom, Scaleway and more. It only needs iperf3.

curl -sL https://ba.sh/nets | bash

All 23 endpoints, both directions, 10 s each — moves a lot of data.

  • iperf3 only
  • IPv4 · IPv6
  • NA · EU · APAC
  • MIT license
Sample run

A reduced run, endpoint by endpoint.

root@catlab-01: ~ Sample output · demo data
root@catlab-01:~# curl -sL https://ba.sh/nets | bash -s -- -r -t 2 NETS  v0.5.0 · Network Endpoint Throughput Sampler  Region   reduced · 8 endpoints        Stack  IPv4 ✓  IPv6 ✗  Test     2s per direction · 4 streams · iperf 3.16  Legend   Send = upload  Recv = download  busy = server occupied, try later  fail = unreachable  Public shared servers: numbers are comparative, not bare-metal capacity.-- iperf3 IPv4 --------------------------------------------------------------  [NA] North America  Area  Location            Provider                Send          Recv  Link  ----  ------------------  --------------  ------------  ------------  ------  NA    New York, US        PureVoltage        1.68 Gbps     1.54 Gbps  40G  NA    Los Angeles, US     Clouvider           960 Mbps     1.05 Gbps  10G  NA    Montreal, CA        Leaseweb           1.44 Gbps     1.27 Gbps  10G  [EU] Europe  Area  Location            Provider                Send          Recv  Link  ----  ------------------  --------------  ------------  ------------  ------  EU    United Kingdom      OnlyServers        4.20 Gbps     3.84 Gbps  10G  EU    Amsterdam, NL       Eranium            6.31 Gbps     5.96 Gbps  100G  EU    Frankfurt, DE       Wobcom             8.95 Gbps     8.20 Gbps  25G  [APAC] Asia-Pacific  Area  Location            Provider                Send          Recv  Link  ----  ------------------  --------------  ------------  ------------  ------  APAC  Tokyo, JP           Leaseweb            600 Mbps      689 Mbps  10G  APAC  Hong Kong, HK       Leaseweb                busy          busy  10G  ! Skipping IPv6 (no IPv6 connectivity).-- Summary ---------------------------------------------------------------  Tests     14 ok · 2 busy · 0 fail · 16 total  Fastest   ↑ 8.95 Gbps  Frankfurt, DE · Wobcom (IPv4)            ↓ 8.20 Gbps  Frankfurt, DE · Wobcom (IPv4)  Traffic   ↑ 5.62 GiB · ↓ 5.25 GiB · 10.87 GiB total (this run, iperf3 payload)  Elapsed   30s  ✓ Done · NETS v0.5.0root@catlab-01:~#  
Recorded from the real script against local iperf3 servers (loopback, capped per endpoint). City and provider names come from the catalog — the speeds are demo data.
Coverage

Supported regions

Filter with --region; list the catalog with -l.

FlagRegionCoverage
--region naNorth America4 nodes · New York, Los Angeles, Kansas City, Montreal
--region euEurope13 nodes · UK, NL, DE, FR, AT, SE, DK, NO, LU, UA
--region apacAsia-Pacific6 nodes · Tokyo, Singapore, Hong Kong, Sydney, Mumbai, Tashkent
globalAll regions (default)23 nodes · NA + EU + APAC
-r · --region reducedReduced set8 nodes spanning NA / EU / APAC — a quick pass
NA
New York (PureVoltage) · Los Angeles (Clouvider) · Kansas City (Nocix) · Montreal (Leaseweb)
EU
London · Amsterdam · Frankfurt · Paris · Vienna · Kista · Copenhagen · Sandefjord · Luxembourg · Kyiv
APAC
Tokyo · Singapore · Hong Kong · Sydney · Mumbai · Tashkent
Catalog
endpoints.md · endpoints.json — hosts, port ranges, link speeds
Reference

Options

FlagDescription
-r, --reducedShort list (8 endpoints) for a quick pass
--region na|eu|apac|global|reducedFilter by region — see the table above (default: global)
-4 / -6IPv4 only / IPv6 only
-t, --time <sec>iperf3 duration per direction (default: 10)
-P, --parallel <n>Parallel streams (default: 4). Keep it low on shared nodes.
--send-onlyUpload only (client → server)
--recv-onlyDownload only (server → client, iperf3 -R)
-j, --jsonJSON results on stdout (progress on stderr)
-y, --yesInstall a missing iperf3 without prompting
--no-installNever install; exit if iperf3 is missing
--cleanupRemove iperf3 afterwards if this run installed it
--keep-packagesKeep it without asking (default: ask on a terminal)
--no-clear / --no-colorKeep the screen / plain output (NO_COLOR honoured)
-l, --listList endpoints and exit
-h / -vHelp / version
Recipes

Examples

curl -sL https://ba.sh/nets | bash -s -- -r -t 5

Reduced set, 5 s per direction — a good first look.

curl -sL https://ba.sh/nets | bash -s -- --region apac -4

Asia-Pacific endpoints, IPv4 only.

curl -sL https://ba.sh/nets | bash -s -- --region eu --recv-only -t 8

Europe, download only — about half the traffic.

curl -sL https://ba.sh/nets | bash -s -- -y -r

Install iperf3 if it's missing, then run the reduced set.

curl -sL https://ba.sh/nets | bash -s -- -l

Print the endpoint catalog without testing.

curl -sL https://ba.sh/nets | bash -s -- -r --json > nets.json

JSON results; the live progress still shows on stderr.

curl -sL https://ba.sh/menu | bash -s -- nets -r

Through the launcher menu.

Notes

Good to know

Why does an endpoint say “busy”?

Public iperf3 servers run one test at a time. NETS tries other ports in the endpoint's range, then moves on. Busy is normal and says nothing about your server — the numbers are comparative, not lab-grade capacity.

How much traffic does a run use?

The summary totals what was actually sent and received. As a rule of thumb, one 10-second test at 1 Gbps moves about 1.25 GB — a full dual-stack run covers 23 endpoints in both directions, so on metered servers start with -r, --region or --recv-only.

What does it need?

Only iperf3 — the catalog and results are parsed with awk, no python3. If iperf3 is missing NETS asks Y/N before installing it (-y installs without asking, --no-install exits instead), and afterwards offers to remove it again (--cleanup / --keep-packages decide up front).

What happens with a dead endpoint, or when I press Ctrl-C?

Timeouts, refusals and DNS failures are recognised and skipped quickly instead of retried port by port. A live status line shows the test in progress; Ctrl-C stops and prints a summary of what finished.

IPv4, IPv6 or both?

NETS probes both families first and tests every one that works; endpoints without an IPv6 address show “no IPv6”. Use -4 or -6 to limit the run to one.