Support » Plugin: DoLogin Security » Blacklist continent but whitelist IP within that continent

  • Resolved jacklinkers

    (@jacklinkers)


    Hello,
    Is it possible to blacklist a continent but whitelist an IP within that continent ?
    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WPDO

    (@wpdo5ea)

    This is a good idea.

    Will add into next release v2.2.3. Thanks.

    Plugin Author WPDO

    (@wpdo5ea)

    It’s done in v2.3.

    Thanks for your feedback.

    jacklinkers

    (@jacklinkers)

    Hello, thanks for such quick answer and fix @_@

    I blacklisted myself yesterday.

    I added my IP in whitelist: ip:2.xx.1×5.xxx

    Then I added in blacklist all continents :
    continent:Africa
    continent:Antartica
    continent:Asia
    continent:Europe
    continent:North America
    continent:Oceania,
    continent:South america

    So I figured out it wasn’t working as I though (reason for this ticket).

    Since then I get this message from Login page :
    DoLogin Security: Your IP is in the blacklist.

    And if I try to login, I get same message “DoLogin Security: Your IP is in the blacklist.”

    I of course updated the plugin after your message.

    Where are the blacklisted IPs stored so I can remove it ?
    Or is there any extra action to take to test plugin after update ?

    Thanks

    Plugin Author WPDO

    (@wpdo5ea)

    If you only have your IP in whitelist, you don’t need to add any blacklist.

    If you add blacklist, assuming your continent is Asia, to exclude all access from Asia but your IP, use continent:Asia, ip!:2.xx.1x5.xxx in blacklist.

    jacklinkers

    (@jacklinkers)

    Insane, thanks !
    So for multiple IPs, shall I write : continent:Asia, ip!:2.xx.1x5.xxx, ip!:3.xx.1x6.xxx ?
    Rgds

    Plugin Author WPDO

    (@wpdo5ea)

    Actually you can just set whitelist in this case, no need blacklist.

    If you set two lines in whitelist

    
    ip: 2.xx.1x5.xxx
    ip: 3.xx.1x6.xxx
    

    This means only these two IPs can login, any other IPs are forbidden.

    BTW, if you wrongly blocked yourself from login, you can rename the plugin folder, login to wp-admin, then rename the plugin folder back, then enable the plugin again.

    Tip2) The settings are saved in wp_options table, whitelist option_name is dologin.whitelist, blacklist option_name is dologin.blacklist. You can directly delete that item to clear the setting.

    jacklinkers

    (@jacklinkers)

    Excellent thanks.
    Another thing I’ve noticed is the size of the table, it grows very fast 241 rows in 24H :
    Showing rows 0 - 99 (241 total, Query took 0.0002 seconds.)
    Are these entries cleared any time? Like a rotation, ie. max rows = 500.
    Because at the speed table is filled, by the end of next month it will reach 7k+ entries minimum.
    An option from WP admin to clear em would be a neat feature!
    Regards

    Plugin Author WPDO

    (@wpdo5ea)

    Will give a new feature to limit the rows in next release.

    For new issues, please create new topics in future. As this issue is fixed, I will mark it as resolved.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Blacklist continent but whitelist IP within that continent’ is closed to new replies.