#1840 - CloudFlare IP detect

Identifier #1840
Issue type Feature request or suggestion
Title CloudFlare IP detect
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description An addon, or possibly a hidden option, that fixes the incoming IP for CloudFlare hits.

I'm not big on this idea as it really should be done at an Apache module, using mod_cloudflare. This is needed for accurate logs, and proper .htaccess functionality.

We can't do as standard in Composr as it's a performance hit (have to do IP range checks). We can't naively read in the CloudFlare header because it's a security risk.

Never-the-less, having an addon would help slightly for those without mod_cloudflare.

We already have some code to detect cloudflare in failure.php, which could be re-used.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated