https://github.com/compassvpn/cf-tools
Cloudflare Tools
https://github.com/compassvpn/cf-tools
bgp cdn cloudflare prefix warp
Last synced: about 1 month 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 (12 months ago)
- Default Branch: main
- Last Pushed: 2026-04-25T07:35:13.000Z (about 2 months ago)
- Last Synced: 2026-04-25T09:32:18.699Z (about 2 months ago)
- Topics: bgp, cdn, cloudflare, prefix, warp
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 109
- Watchers: 3
- Forks: 23
- 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.