WordPress.org

Ready to get started?Download WordPress

Forums

IP Ban
[resolved] Plugin blocked my admin access even though my IP was not on the ban list (3 posts)

  1. jamiewilson
    Member
    Posted 1 year ago #

    I put a single IP address into the ban list and the app kept redirecting me to the ban page. Since my IP was being "banned" without being on the list, I assume every visitor to the site was also being redirected to the ban page. I wasn't even able to get into the admin page to disable the plugin. Fortunately, the site is part of a multisite installation, so I was able to use my network administration access to edit the plugin source code and force it to allow all IPs long enough for me to disable and remove the plugin.

    At the very least, the plugin should not ban logged-in administrators under any circumstances.

    http://wordpress.org/extend/plugins/simple-ip-ban/

  2. Sandor Kovacs
    Member
    Plugin Author

    Posted 1 year ago #

    This is the main role of the plugin to block everyone from a given IP or User Agent. I tested many times the plugin and it doesn't ban you just if you are in the list.

    Only take care for local instance, if you put 127.0.0.1 in the ip ban list you can't access your admin anymore.

    If you are banned you can disable the plugin:

    • via FTP, delete the plugin from plugins/
    • via DB, remove the following options: s_ip_list, s_ua_list

    Thanks for the idea, I'll will add a possibility to not ban logged-in administrator.

  3. jamiewilson
    Member
    Posted 1 year ago #

    On further investigation, I discovered the problem--and it has nothing to do with your plugin. The problem I was having is due to the quirky way the webserver is setup and the fact that it assigns me an "internal" IP address on the intranet rather than my actual "outside" IP.

    Please accept my apologies for reporting a bug that doesn't exist. Unfortunately, the WordPress forums aren't sophisticated enough for me to be able to delete or at least edit my original post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.