Skip to content

Dynamic IP address list pulling, caching of IPs to text file in case of cloudflare.com downtime.#9

Open
jamescf wants to merge 9 commits into
cloudflarearchive:masterfrom
jamescf:master
Open

Dynamic IP address list pulling, caching of IPs to text file in case of cloudflare.com downtime.#9
jamescf wants to merge 9 commits into
cloudflarearchive:masterfrom
jamescf:master

Conversation

@jamescf

@jamescf jamescf commented May 11, 2012

Copy link
Copy Markdown
Contributor
  1. Pull IPs from live IP list on https://www.cloudflare.com/ips-v4
  2. Cache the list to text file, ipv4_list.txt and use this unless the text file has expired (1 day from time of last pull of IPs from live IP list).
  3. ipv4_list.txt must have write permissions from the plugin itself.
  4. If everything is failing, default to using statically generated IP list hard-coded into cloudflare.php until able to grab the live IP list again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant