The flood table IPs are listing the IP of the load balancer, not the one of the request, which is in the X_FORWARDED_FOR header.
I have the 'reverse_proxy' set to TRUE
in setting.php, and it works with the CDN as expected, but not with the flood table.
The site hosted at AWS using the CloudFront CDN.
How can I make the flood table look at the IP reported in the X_FORWARDED_FOR header?
ip_address()
should check forX_FORWARDED_FOR
ifreverse_proxy
is set to true, might be worth stepping through that function with an appropriate request to see what's happening – Clive♦ Sep 28 '13 at 15:11