CloudflareWarpSpeedTest

command module
v1.5.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README


中文 | English

CloudflareWarpSpeedTest

Introduction

Cloudflare WARP Speed Test is a command-line tool for testing the latency and speed of Cloudflare WARP IP addresses and obtaining information about the minimum latency and available ports. It provides various options to customize test parameters and filter results based on specific conditions.

Inspired(Copied) by CloudflareSpeedTest

Installation

Package Manager
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
Archlinux(AUR)

Require paru or yay.

paru -S cloudflarewarpspeedtest-bin
Go Install

use go tool to install(go version recommend 1.22)

go install github.com/peanut996/CloudflareWarpSpeedTest@latest
Release

go to Releases page, download the pre-compiled binary file.

Usage

To use CloudflareWarpSpeedTest, you can run the following command-line options:

CloudflareWarpSpeedTest -n 200 -t 10 -c 5000 -tl 300 -q -tll 0 -tlr 0.2 -p 10 -f ip.txt -ip 1.1.1.1 -o result.csv -all

Here is an explanation of the main available options:

  • -n 200: Specifies the number of latency test threads. Increasing this value can speed up the latency testing process, but it may not be suitable for lower-performance devices like routers. The default value is 200, with a maximum of 1000.
  • -t 10: Sets the number of times latency tests are performed for each IP address. The default value is 10 times.
  • -c 5000: The addressed number to be scanned. The default value is 5000.
  • -ipv6 IPv6 mode. Only scan ipv6 addresses.
  • -o result.csv: Sets the output result file. The default file is "result.csv".
  • -all This flag indicates that all ip and port will be scanned.
  • -pri Custom Wireguard private key.
  • -pub Custom Wireguard public key. Default is the Warp public key.
  • -reserved Custom Reserved. Format: [0, 0, 0]

For more usage instructions, please use -h.

Note

Please note that adjusting test parameters can affect test speed and results. Choosing the appropriate settings is crucial based on the performance of your device and the specific conditions you want to apply.

Disclaimer: This tool is not affiliated with or endorsed by Cloudflare. Please use it responsibly and comply with their terms of service.

License

This software is released under the GPL v3 license.

Supported By

JetBrains Logo (Main) logo.

Star History

Star History Chart

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL