Skip to content

Create importer script for Cloudflare public IP ranges #569

@fershad

Description

@fershad

Is your feature request related to a problem? Please describe.
Currently, information about Cloudflare's IP ranges needs to be manually maintained. This can lead to it being out of date fairly quickly.

Describe the solution you'd like
Cloudflare publishes a list of public IP ranges (IPv4 and v6) which it regularly updates and maintains. The ideal solution would be to create an importer script like the ones present for Google, AWS, Microsoft, and Equinix (https://github.com/thegreenwebfoundation/admin-portal/tree/master/apps/greencheck/importers). This can then be used to automate the updating of Cloudflare IP ranges.

List of public IP ranges: https://www.cloudflare.com/ips/
TXT IPv4 list: https://www.cloudflare.com/ips-v4/#
TXT IPv6 list: https://www.cloudflare.com/ips-v6/#

Information can also be accessed via the Cloudflare API as outlined in these docs: https://developers.cloudflare.com/api/operations/cloudflare-i-ps-cloudflare-ip-details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions