xykt 453e832af2 Update AS_Mapping.txt
Update AS_Mapping
2025-04-25 01:05:47 +08:00
2025-04-25 01:05:47 +08:00
2025-04-24 00:24:36 +08:00
2025-03-13 00:23:26 +08:00
2025-04-24 00:18:26 +08:00
2025-04-24 00:02:30 +08:00
2025-04-24 00:02:37 +08:00

license

Network Quality Check Script - 网络质量体检脚本 (CN)

Supported OS/Platform: Ubuntu | Debian | Linux Mint | Fedora | Red Hat Enterprise Linux (RHEL) | CentOS | Arch Linux | Manjaro | Alpine Linux | AlmaLinux | Rocky Linux | macOS | Anolis OS | Alibaba Cloud Linux | SUSE Linux | openSUSE | Void Linux

  • Bilingual support: English & Chinese
  • Supports IPv4/IPv6 dual-stack queries
  • Well-formatted output for clear and concise display, optimized for screenshots
  • Seven key modules: BGP information, local policy, access information, three-network TCP large packet latency, three-network return routing, domestic speed test, and international interconnection
  • Base data sourced from BGP.TOOLS and BGP.HE.NET databases
  • Intuitive display of upstream and access information
  • Return latency tests for China Mainlands 31 provinces/cities/autonomous regions via China Telecom, China Unicom, and China Mobile
  • Speed test for China Mainlands three major ISPs (including the Greater Bay Area) based on SPEEDTEST.NET
  • Global speed and latency tests across five continents
  • Flexible test modes: latency mode, low data mode, selective section skipping
  • JSON output for big data analysis
Screenshots
IPv4 Test Result IPv6 Test Result
IPv4 IPv6
Latency Mode Test Result Full Route Mode Test Result
Ping Route

Usage

Easy Mode: Run with Interactive Interface

Net

bash <(curl -Ls Check.Place) -EN

Advanced Mode: Run with Parameters

Help

Default dual-stack detection (Either):
bash <(curl -Ls Net.Check.Place) -E
bash <(curl -Ls Net.Check.Place) -l en
IPv4-only test:
bash <(curl -Ls Net.Check.Place) -E4
IPv6-only test:
bash <(curl -Ls Net.Check.Place) -E6
Latency mode:
bash <(curl -Ls Net.Check.Place) -EP
Low data mode:
bash <(curl -Ls Net.Check.Place) -EL
Full route mode (TCP result in Chinese):
bash <(curl -Ls Net.Check.Place) -E -R [Province]

Test Beijing & Shanghai & Guangdong by default:

bash <(curl -Ls Net.Check.Place) -E -R

Specify parameters to detect the corresponding province (Any of the following):

bash <(curl -Ls Net.Check.Place) -E -R 桂
bash <(curl -Ls Net.Check.Place) -E -R 广西
bash <(curl -Ls Net.Check.Place) -E -R 广西壮族自治区
bash <(curl -Ls Net.Check.Place) -E -R GX
bash <(curl -Ls Net.Check.Place) -E -R gx
Skip specific sections:
bash <(curl -Ls Net.Check.Place) -E -S 1234567
Bilingual support:
bash <(curl -Ls Net.Check.Place) -l cn|en
JSON output (Example Output):
bash <(curl -Ls Net.Check.Place) -Ej
Output report to file in ANSI/JSON/Text format:
bash <(curl -Ls Net.Check.Place) -o /path/to/file.ansi
bash <(curl -Ls Net.Check.Place) -o /path/to/file.json
bash <(curl -Ls Net.Check.Place) -o /path/to/file.txtoranyother
Skip checking OS and dependencies:
bash <(curl -Ls Net.Check.Place) -En
Auto-install dependencies:
bash <(curl -Ls Net.Check.Place) -Ey
Display full IP addresses in the report:
bash <(curl -Ls Net.Check.Place) -Ef

Script Updates

2025/04/23 18:00 Add -o to output report to file in ANSI/JSON/Text format, fixed the occasional stuck issue in routing test

2025/04/21 22:15 Collapse routing duplicate information for full routing mode

2025/04/21 00:00 Fix macOS compatibility issues and improve script robustness

2025/04/20 21:00 Fixed connectivity issues with CN IPs

2025/03/28 00:50 Add -R Full Route Mode, add international delay test to Low Data Mode, fix bugs

2025/03/13 22:40 Add -n for no checking OS & dependencies

2025/03/12 17:00 Script Released

Contributions

Server Sponsor:

Sponsor Logo Link
V.PS vps_logo https://v.ps
BAGE bage_logo https://bagevm.com
LisaHost lisa_logo https://lisahost.com
DreamCloud dreamcloud_logo https://as211392.com/

*Only accepting merchants with long-term stable operations and good reputation

Acknowledgments:

  • Special thanks to GlobalSign@Nodeseek for providing a stable and reliable three-network test address, laying a solid foundation for one of the script's most important features.

  • Thanks to Sherlock@Nodeseek for valuable suggestions on functionality and aesthetics.

  • Thanks to 酒神@Nodeseek for technical support and valuable feedback.

  • Thanks to Si for important recommendations on script functionality and formatting.

  • Thanks to Kakan for providing valuable reference suggestions.

Stars History:

Stargazers over time

Description
A script for network quality detection
Readme AGPL-3.0 10 MiB
Languages
Shell 100%