https://github.com/compassvpn/cf-tools
Cloudflare Tools
https://github.com/compassvpn/cf-tools
bgp cdn cloudflare prefix warp
Last synced: 2 months ago
JSON representation
Cloudflare Tools
- Host: GitHub
- URL: https://github.com/compassvpn/cf-tools
- Owner: compassvpn
- License: mit
- Created: 2025-07-07T13:24:19.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-30T02:41:36.000Z (2 months ago)
- Last Synced: 2025-07-30T04:41:59.744Z (2 months ago)
- Topics: bgp, cdn, cloudflare, prefix, warp
- Language: Go
- Homepage:
- Size: 105 KB
- Stars: 72
- Watchers: 1
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudFlare Tools
This Go script processes and filters IPv4 prefixes associated with CloudFlare. It converts these prefixes into `/24` blocks and checks if they belong to the CloudFlare CDN or WARP service.
## Features
- Fetches Cloudflare IPv4 BGP prefixes from bgp.tools.
- Converts filtered prefixes into `/24` blocks.
- Checks prefixes for CloudFlare CDN or WARP services.
- Outputs results to specified files.## Usage
### Flags
- `-h, --help`: Show help.
- `-f, --fetch`: Fetch and convert to /24 only.
- `-c, --cdn`: Run the CDN checker.
- `-w, --warp`: Run the WARP checker.
- `-o, --output`: Specify the output file name.