Is your site behind a proxy ? If so, Cloudflare ?
What value is the Proxy Detection setting in the Global Settings module currently set to (default Automatic).
To prevent any confusion, I’m not iThemes.
-
This reply was modified 5 years, 7 months ago by
nlpro.
Humble apologies – completely missed this response.
I have no proxy on this site and the setting in indeed still set at automatic.
No problemo;-)
Is the (client) IP currently displayed underneath the select box correct ?
If your site is not behind a proxy you could/should simply select the Disable value for the Proxy Detection setting. One major disadvantage of the (default) Automatic setting is that it can be abused by attackers to spoof their client IP address when your site is not behind a proxy.
Note that any change in the Proxy Detection setting will immediately show you a resulting (client) IP address underneath the setting’s select box.
If disabling the Proxy Detection setting still doesn’t help getting the proper client IP address, you could enable the Security Check Pro module (if not already). Note this module is only listed under All and/or Advanced modules.
Enabling the Security Check Pro module will make a new select option available for the Proxy Detection setting named: Security Check Scan.
It doesn’t really make sense to use this when there is no proxy, but it won’t hurt trying as a last resort.
Let me know how it goes.
I now realise that strictly I should have said that the site isn’t using a Proxy server “as far as I know”. I’d forgotten that I had moved the site to a reseller’s web host who may conceivably made other arrangements in this respect.
OK – the iThemes Global Settings did have the “Automatic” setting for Proxy but it did show my client IP address correctly. I changed this to Disabled anyway and it still shows the correct Client IP for me.
I guess I now just have to wait until the next attack comes in and see if it detects the source IP address correctly and is then able to block that address (which is wasn’t able to do when the server IP was detected my mistake). If it doesn’t I’ll try the Security Scan Check.