Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jamescf
Copy link
Contributor

@jamescf jamescf commented May 11, 2012

  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