A TCP quality testing script that probes latency and packet loss to China's three major ISP nodes (Telecom, Unicom, Mobile) with optional speedtest and IPv4/IPv6 support.

Stars

350

7-day growth

No data

Forks

33

Open issues

1

License

No data

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers a straightforward, parameterized way to assess TCP connectivity to Chinese networks, including automatic route identification and integrated speedtest, making it valuable for optimizing server placement and troubleshooting cross-border performance.

Who it is for

  • VPS and dedicated server owners hosting services for Chinese users
  • Network engineers monitoring China-bound connectivity
  • CDN operators evaluating edge node performance in China
  • Researchers studying internet censorship or routing to China

Use cases

  • Testing TCP latency and packet loss from overseas servers to Chinese endpoints
  • Comparing performance of different Chinese ISPs (Telecom, Unicom, Mobile) for a given server
  • Automating periodic connectivity checks with custom packet count and parallel nodes
  • Evaluating IPv6 reachability to Chinese networks alongside IPv4

Strengths

  • Supports both IPv4 and IPv6 probing with separate flags
  • Customizable probes (packet count, size, parallel nodes) for fine-grained testing
  • Includes automatic three-network TCP return path identification via traceroute
  • Optional integrated speedtest for China's three ISPs after TCP quality detection

Considerations

  • Requires nping (from nmap) and traceroute to be installed on the test server
  • Only tests TCP SYN probes; does not measure application-layer performance or UDP/ICMP
  • Speedtest feature only supports China's three major ISPs, not international or other regional providers

README quick start

TcpQuality

TCP 质量检测脚本,默认检测全国三网运营商节点。

快速运行

国外服务器推荐使用 GitHub Raw:

# bash / zsh
bash

Related repositories

Similar projects matched by category, topics, and programming language.

jamesob
Featured
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI & Machine LearningLarge Language Models
1,660
bjan
Featured
bjan GitHub avatar

claudemux

Claudemux is a lightweight, dependency-minimal message bus that lets multiple Claude Code sessions communicate in real-time over tmux, enabling one session to ask another a question and receive the answer without manual intervention.

AI & Machine LearningAI Agents
9
AARomanov1985
AARomanov1985 GitHub avatar

Audio-Cassette-Simulation

A set of bash scripts using ffmpeg to simulate vintage cassette tape audio profiles with noise, wow/flutter, bandwidth limits, and EQ.

Shell
373