- High-performance, reliable, and stable Cloudflare Edge Radar and Booster.
- This repository is under evaluation and will replace Coffee.cr.
- More description to be added.
- Radar
- Scanner
- Please check the examples folder.
- Radar Configuration File (Standard Concurrent).
---
outputPath: $HOME/output.yml
quirks:
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerIpBlock: 50
maximumNumberOfFailuresPerIpBlock: 15
skipRange:
- 2
- 4
excludes:
- - LosAngeles_UnitedStates
- - SanJose_UnitedStates
- - LosAngeles_UnitedStates
- SanJose_UnitedStates
endpoint:
method: GET
path: /__down?bytes=64
port: 80
headers:
- User-Agent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50"
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
Accept-Language: "en-US,en;q=0.5"
Connection: "keep-alive"
Host: "speed.cloudflare.com:$PORT"
Upgrade-Insecure-Requests: "1"
_tls:
hostname: speed.cloudflare.com
verifyMode: peer
options:
- no_ssl_v2
- no_ssl_v3
- no_tls_v1
- no_tls_v1_1
- no_tls_v1_2
attempt:
connect: 1
timeout:
read: 2
write: 2
connect: 2
- Radar Configuration File (Concurrent + SubProcess Parallel).
---
outputPath: $HOME/output.yml
quirks:
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerIpBlock: 50
maximumNumberOfFailuresPerIpBlock: 15
skipRange:
- 2
- 4
excludes:
- - LosAngeles_UnitedStates
- - SanJose_UnitedStates
- - LosAngeles_UnitedStates
- SanJose_UnitedStates
endpoint:
method: GET
path: /__down?bytes=64
port: 80
headers:
- User-Agent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50"
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
Accept-Language: "en-US,en;q=0.5"
Connection: "keep-alive"
Host: "speed.cloudflare.com:$PORT"
Upgrade-Insecure-Requests: "1"
_tls:
hostname: speed.cloudflare.com
verifyMode: peer
options:
- no_ssl_v2
- no_ssl_v3
- no_tls_v1
- no_tls_v1_1
- no_tls_v1_2
parallel:
executableName: cloudflare
calleeCount: 4
listenAddress: tcp://0.0.0.0:4832
type: sub_process
attempt:
connect: 1
timeout:
read: 2
write: 2
connect: 2
- Radar Configuration File (Concurrent + Distributed Parallel).
parallel:
calleeCount: 4
type: distributed
- Radar Configuration File (Concurrent + Hybrid (SubProcess & Distributed) Parallel).
parallel:
calleeCount: 4
subProcessCalleeCount: 2
type: hybrid
Add this to your application's shard.yml:
dependencies:
cloudflare:
github: 636f7374/cloudflare.cr
$ git clone https://github.com/636f7374/cloudflare.cr.git
$ cd cloudflare.cr && make build && make install
$ make test
Name | Creator | Maintainer | Contributor |
---|---|---|---|
636f7374 | √ | √ | √ |
- GPLv3 License