Shard Detail

cloudflare v1.0.0

🚧 Under evaluation - Crystal Cloudflare Radar and Booster
dns crystal crystal-shard cloudflare subnet asn scanner radar booster edge iata

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


cloudflare:
  github: 636f7374/cloudflare.cr

Readme

Cloudflare.cr - Cloudflare Radar and Booster

Description

  • 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.

Features

  • Radar
  • Scanner

Usage

  • Please check the examples folder.

Radar

  • Radar Configuration File (Standard Concurrent).
---
outputPath: $HOME/output.yml
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerBlock: 50
maximumNumberOfFailuresPerBlock: 15
skipRange:
  - 2
  - 4
excludes:
  - - LosAngeles_UnitedStates
  - - SanJose_UnitedStates
  - - LosAngeles_UnitedStates
    - SanJose_UnitedStates
timeout:
  read: 2
  write: 2
  connect: 2
  • Radar Configuration File (Concurrent + SubProcess Parallel).
---
outputPath: $HOME/output.yml
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerBlock: 50
maximumNumberOfFailuresPerBlock: 15
skipRange:
  - 2
  - 4
excludes:
  - - LosAngeles_UnitedStates
  - - SanJose_UnitedStates
  - - LosAngeles_UnitedStates
    - SanJose_UnitedStates
parallel:
  executableName: cloudflare
  calleeCount: 4
  listenAddress: tcp://0.0.0.0:4832
  type: sub_process
timeout:
  read: 2
  write: 2
  connect: 2
  • Radar Configuration File (Concurrent + Distributed Parallel).
---
outputPath: $HOME/output.yml
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerBlock: 50
maximumNumberOfFailuresPerBlock: 15
skipRange:
  - 2
  - 4
excludes:
  - - LosAngeles_UnitedStates
  - - SanJose_UnitedStates
  - - LosAngeles_UnitedStates
    - SanJose_UnitedStates
parallel:
  executableName: cloudflare
  calleeCount: 4
  listenAddress: tcp://0.0.0.0:4832
  type: distributed
timeout:
  read: 2
  write: 2
  connect: 2
  • Radar Configuration File (Concurrent + Hybrid (SubProcess & Distributed) Parallel).
---
outputPath: $HOME/output.yml
concurrentCount: 230
scanIpAddressType: ipv4_only
numberOfScansPerBlock: 50
maximumNumberOfFailuresPerBlock: 15
skipRange:
  - 2
  - 4
excludes:
  - - LosAngeles_UnitedStates
  - - SanJose_UnitedStates
  - - LosAngeles_UnitedStates
    - SanJose_UnitedStates
parallel:
  executableName: cloudflare
  calleeCount: 4
  subProcessCalleeCount: 2
  listenAddress: tcp://0.0.0.0:4832
  type: hybrid
timeout:
  read: 2
  write: 2
  connect: 2

Used as Shard

Add this to your application's shard.yml:

dependencies:
  cloudflare:
    github: 636f7374/cloudflare.cr

Installation

$ git clone https://github.com/636f7374/cloudflare.cr.git
$ cd cloudflare.cr && make build && make install

Development

$ make test

Credit

Contributors

Name Creator Maintainer Contributor
636f7374

License

  • GPLv3 License