-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestIssues folks can work on for HacktoberfestIssues folks can work on for Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Feature request
Feature description
There are some improvements which still should be made to have better support for Cloudflare.
-
Only resolve real IP if it comes from Cloudflare
- This is quite important, if someone was to not go through Cloudflare (not proxied record, misconfiguration, etc) this allows for a user to provide a spoofed IP address. They can just provide the X-Forwarded-For and CF-Connecting-IP headers (since CF will not override them)
- This needs to be done with an nginx module and IP file (would be great to pull these from the API so it's always up to date - also add a comment to regularly check this)
- Guide for this is located here: https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs
- This feature would require quite a bit of work but I think is a pretty critical thing to add
-
Support Origin Certificates as an option
- Preferably people would use a proper Let's Encrypt cert but this is a much easier and quicker setup for those inexperienced. It would not hurt encryption or security in any way.
How the feature is useful
It would improve security for those using Cloudflare and possibly also speed up the setup process.
Not sure the best way to implement this. I think having a general "Using Cloudflare Proxy" option would be good. By default, it can do setup of real IP restoration and add a checkbox for Orgin Cert (not checked by default - Let's Encrypt should still be preferred)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestIssues folks can work on for HacktoberfestIssues folks can work on for Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed