"Lockout occurred: Attempting to login with a banned username." with a CF IP

I am revising some systems in my WordPress websites, and one of them is moving from WordFence protective plugin to Defender protective plugin. Yesterday, I suffered a major “attack” with Defender blocking many IP addresses. Today, I wanted to go back and clean up a little with some permanent IP blocks. To my surprise, I discovered that some of the blocked IP’s are Cloudflare IP addresses!

Is it normal for “Lockout occurred: Attempting to login with a banned username.” to be associated with a CF IP address?

Should I maintain the block or whitelist the IP?

I have used CF for many years, but this is a novelty for me.

Are you restoring your visitor IPs in your logs? And is the tool blocking looking there to determine who a visitor really is? https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs

I’m sort of an idiot when it comes to WP plugins, so feel free to laugh at me if that’s a stupid question. :smile:

Hi there,

No laughs! I am probably more ignorant with CF than you are with WP. I have not been restoring the visitors’ IP’s because with WordFence and the security plugin I used before that, it apparently was done automatically by the plugin. I just saw “normal” IP addresses. With the Defender plugin, apparently that is NOT the case, so I will load up mod_Cloudflare and see if that does the trick.

Thanks for the help!

Craig Hesser

1 Like