Since CloudFlare obfuscates the visitor’s IP address, it would be useful to be able to capture additional CloudFlare specific fields such as CF-Connecting-IP, X-Forwarded-For, and CF-IPCountry from the HTTP header that they insert and then conditionally report these within the Admin > Users > username page in addition to the (not-useful with CF) IP fields + IP Lookup button.
Could we please have these field provided within this page when CF-* header fields are available?
One option that would be useful (and I’ve used in other Rails apps) is to just use those fields instead of the IP if they’re available. It’s been a while since I implemented that, but if I recall correctly I believe we would just set visitor’s IP to IP unless CF-Connecting-IP exists… but I thought there was something else I had done with X-Forwarded-For…
