Title: Block Warning
Last modified: March 26, 2017

---

# Block Warning

 *  Resolved [elinejoyce](https://wordpress.org/support/users/elinejoyce/)
 * (@elinejoyce)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/)
 * I use ip-geo-block. I added my own op-address to the whitelist. And yet I got
   a kind of a message on screen today saying I had to clean up the cache in statistics
   otherwise I would be blocked.
    I don’t get it… I am on the whitelist! Why getting
   such messages then?
 * Anybody an idea how to prefend this?
 * Thanks!!
 * Joyce

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/#post-8957976)
 * Hi Joyce,
 * I think the exact message was:
 * > Once you logout, you will be unable to login again because the number of login
   > attempts reaches the limit. Please execute “**Clear cache**” on Statistics 
   > tab to prevent locking yourself out.
 * Theoretically, it could happen if your IP address was assigned dynamically. Please
   try to find your IP address on Logs tab, especially in “**Login form**” and “**
   XML-RPC**“. You can easily find out to put your IP address into “**Filter logs**”
   text field.
 *  Thread Starter [elinejoyce](https://wordpress.org/support/users/elinejoyce/)
 * (@elinejoyce)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/#post-8960084)
 * Hi Tokkonopappa,
    I cleared the cache but my own ip-address remains in Statistics
   of cache. If I have to remove my ip-address manually each time to prevent locking
   out myself, well then I think this is scary plugin for me. Why not adding a whitelist
   to the plugin in which one can put his own ip-address so that his own ip-address
   never will be blocked or locked in.
 * I have filled in my ip-address in Settings –> Whitelist of extra IP addresses
   prior to country code (CIDR) but now I expierence this doesn’t prevent me from
   locking out myself.
 * I think it should be possible to adjust the plugin and make the own ip-address
   safe.
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/#post-8961797)
 * Hi Joyce,
 * > I cleared the cache but my own ip-address remains in Statistics of cache.
 * This is normal. Right after you cleaned the cache, a new cache immediately would
   be created but the failed login counter would be set to zero. So you don’t have
   to clear cache every time you login.
 * > Why not adding a whitelist to the plugin in which one can put his own ip-address
   > so that his own ip-address never will be blocked or locked in.
 * Because your IP address was cached as login counter reached to the limit which
   is 5 by default.
 * > Whitelist of extra IP addresses prior to country code (CIDR)
 * That’s right. The priority of these rules are:
 * (low) Country code < Whitelist of extra IP address < Limit of login attempts (
   high)
 * Actually this plugin has 7 rules to protect your site. The above is one of these.
 * I assume the IP address assigned for you is not your own but would be time-shared
   with someone. Of course if you have a fixed IP address and you directly login
   to your server (not via ISP), then login fail counter would never reach to the
   limit unless you fails to login.
 * But imagine, if the IP address is not only for yours, someone who has the same
   IP by chance can attempt to login so many times. This is the limitation of this
   plugin based on the IP address.
 * So if you encounter this issue so often, I do recommend to disable “**Max number
   of failed login attempts per IP address**” at least, and use other Limit Login
   Attempts plugin.
 * There’s another story. If you use [Mobile Apps for WordPress](https://wordpress.org/mobile/)
   and occasionally fails to connect to your site, then the same issue would happen.
   Because mobile apps is authenticated via XML-RPC. So if it fails, then the login
   error counter in cache would be counted up. Please keep this in mind.
 * Again, please consider to another plugin if you have this issue so often.
 * Thanks for your understanding in advance.
    -  This reply was modified 9 years, 2 months ago by [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/).
    -  This reply was modified 9 years, 2 months ago by [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/).
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/#post-8961887)
 * This is a similar topic: [Had to disable plugin due to total lock out](https://wordpress.org/support/topic/had-to-disable-plugin-due-to-total-lock-out/page/2/)
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/block-warning/#post-8962011)
 * Dear all,
 * The typical use case of “**Whitelist of extra IP addresses prior to country code(
   CIDR)**” is as follows:
 * If you live in US, but want to block access to your back-end coming from US, 
   you can select “**Whitelist**” as “**Matching rule**” and put “XX” into your “**
   Whitelist of country code (ISO 3166-1 alpha-2)**“.
 * There’s no country code “XX”. So if you put your IP address into “**Whitelist
   of extra IP addresses prior to country code (CIDR)**“, your site would be very
   strong against the attacks.
 * That’s my design.
 * If someone have any idea about this design, I love to hear that.
 * Thanks.
 *  [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * (@crzyhrse)
 * [9 years ago](https://wordpress.org/support/topic/block-warning/#post-9131045)
 * I was worried same way as [@elinejoyce](https://wordpress.org/support/users/elinejoyce/),
   but found way here and now have good understanding… I have another way to block
   excessive login attempts on site and don’t need the function here, and have added
   IP also to ‘Whitelist of extra IP addresses prior to country code’…
 * It seems a really good design, and very grateful for this plugin being available
   for free…
 * Thank you and kind regards…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Block Warning’ is closed to new replies.

 * ![](https://ps.w.org/ip-geo-block/assets/icon-128x128.png?rev=1148568)
 * [IP Geo Block](https://wordpress.org/plugins/ip-geo-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip-geo-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip-geo-block/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-geo-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-geo-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-geo-block/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/block-warning/#post-9131045)
 * Status: resolved