Giter Site home page Giter Site logo

cloudflarewarpspeedtest's Introduction


中文 | English

CloudflareWarpSpeedTest

简介

Cloudflare WARP 速度测试是一个命令行工具,用于测试 Cloudflare WARP IP 地址的延迟和速度,并获取关于最低延迟和可用端口的信息。它提供了各种选项,以自定义测试参数并根据特定条件筛选结果。

Inspired(Copied) by CloudflareSpeedTest

安装

包管理器

Homebrew

brew tap peanut996/tap && brew install cloudflarewarpspeedtest

WinGet

winget install peanut996.CloudflareWarpSpeedTest

Scoop

scoop bucket add peanut996 https://github.com/peanut996/scoop-bucket
scoop install peanut996/cloudflarewarpspeedtest

Go Install

使用go官方工具链安装(go版本<=1.20)

go install github.com/peanut996/CloudflareWarpSpeedTest@latest

Release

前往 Releases 页面,下载预编译的二进制文件。

用法

要使用 CloudflareWarpSpeedTest,您可以运行以下命令行选项

CloudflareWarpSpeedTest -n 200 -t 10 -tl 300 -q -tll 0 -tlr 0.2 -sl 5 -p 10 -f ip.txt -ip 1.1.1.1 -o result.csv -full

以下是主要可用选项的解释:

  • -n 200:指定延迟测试线程的数量。增加此值可以加快延迟测试过程,但不适合性能较低的设备,如路由器。默认值为 200,最大为 1000。
  • -t 10:设置对每个 IP 地址执行延迟测试的次数。默认值为 10 次。
  • -q 快速模式:快速扫描1000个地址结果。默认打开, 使用-q=false 关闭快速模式。
  • -ipv6 ipv6模式:仅扫描ipv6地址。
  • -o result.csv:设置输出结果文件。默认文件为 "result.csv"。
  • -full 此标志表示应测试指定范围内的所有端口。
  • -pri 自定义wireguard的私钥。
  • -pub 自定义wireguard的公钥。默认为WARP的公钥。
  • -reserved 自定义Reserved字段。格式为[0, 0, 0]

更多使用说明请使用-h

注意

请注意,调整测试参数可能会影响测试速度和结果。根据设备的性能和您希望应用的特定条件选择合适的设置至关重要。

免责声明: 本工具与 Cloudflare 无关,也未得到其认可。请负责任地使用并遵守其服务条款。

License

此软件根据 GPL v3 许可证 发布

Supported By

JetBrains Logo (Main) logo.

Star History

Star History Chart

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.