XF2 has built-in support for Cloudflare, but this is a fixed list of IPs. Clouldflare offers downloadable machine parsable IP lists which are published ahead of time before the IPs are used. Cloudflare IP list as HTML; https://www.cloudflare.com/ips/
IPv4 text: https://www.cloudflare.com/ips-v4
IPv6 text: https://www.cloudflare.com/ips-v6
XF2 already does dynamic code gen by default, so downloading these and converting them to a php file would be fairly simple and avoid needed to update XF2 out-of-band when Cloudflare's IP lists change.
IPv4 text: https://www.cloudflare.com/ips-v4
IPv6 text: https://www.cloudflare.com/ips-v6
XF2 already does dynamic code gen by default, so downloading these and converting them to a php file would be fairly simple and avoid needed to update XF2 out-of-band when Cloudflare's IP lists change.
Upvote
6