• Resolved pcde

    (@pcde)


    Hi there — after years of flawless AIOS operation, recently the Cookie Based Brute Force Protection (CBBFP) and Advanced Setting > IP Detection have started returning errors. I don’t know if the two are related, but I think perhaps.

    First problem is that beginning recently, whenever my dynamic IP changes CBBFP starts redirecting me to 127.0.0.1. This never used to happen. I can disable the CBBFP feature via wp-config and then login again without issue. Then one I am logged in again I can turn off CBBFP, save the settings, then turn it back on again and it starts working again as it should… Until (my best guess) my dynamic IP changes again and the exact same problem starts again. Which leads me to problem #2…

    Problem #2 is the Settings > Advanced Settings > Detect IP. For reasons unknown to me the setting has started returning an error message when trying to detect my IP. Sometimes it does display the 3 detected IPs (Cloudflare, IPv4, IPv6), but now it often returns a red error message and no IPs. At the same time, in the dropdown menu, the REMOTE ADDR and CF_CONNECTING_ options (the only options not greyed out) do show the IP address.

    I have tried disabling Cloudflare for the website to see if perhaps I was blocking something essential and it made no difference. I have also investigated any other plugins and/or settings changes that might be causing the problems and have found no conflicts.

    At this point I am at a loss as to what may have started these errors. Could it be my ISP? IDK. But never before prior to this have I ever needed to disable CBBFP in my wp-config. Ever. And my IP was always detected without issue with any dynamic IP changes having no effect on CBBFP. This problem is something new to me. So I am turning to you for help…

    Thanks in advance for your assistance. I really hope there is something simple behind this. Cheers.

    • This topic was modified 1 year, 1 month ago by pcde.
Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter pcde

    (@pcde)

    I wasn’t asking if CBBFP or AIOS requires the visitor’s IP, I was asking if in completing its process CBBFP or AIOS visits or routes though any IP or AS# of any external services (including your own) or if it uses any external services? Or does the entire CBBFP process complete entirely within the host website’s domain server with no external calls or routing.

    If you could just clarify that for me. Thx.

    • This reply was modified 1 year ago by pcde.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    AIOS –?CBBFP process entirely within the host website’s domain server with no external calls or routing. It do not require any external service.

    Regards

    Thread Starter pcde

    (@pcde)

    OK… next question: my website is https only. This is security best-practice is setup both at my website host and also in the Cloudflare settings. All non-https traffic is redirected as https. But I notice that the CBBFP cookie is marked “http only”. Could this be the issue?

    If it is, can the CBBFP cookie be changed to https?

    (Also, this issue should not be marked resolved… it is ongoing. My next step in trying to figure it out, if the https/http thing is not the solution, is to create an entirely new website installation on a subdomain on the same domain/server to see if the problem can be replicated there. Such a PITA!)

    • This reply was modified 1 year ago by pcde.
    • This reply was modified 1 year ago by pcde.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    IF I cross-check here for the https secure site the cookie has both HttpOnly and Secure both checked. Please cross-check if that is not the case.

    https://snipboard.io/qdHpOI.jpg

    Ok, I have updated this topic Unresolved

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    Do you have salt postfix feature on ? WP security > User security >Salt tab have it or any other salt-related plugin?

    Recently we have identified an issue regarding that which is making CBBFP to not work ( or work on saving settings only)

    Regards

    Thread Starter pcde

    (@pcde)

    Hi again! Sorry for the delay replying… life got fin the way. Not to mention I am SO tired of researching this! ??

    Re your previous message: yes, the cookie shows both “http only” and “secure” checked.

    Re the SALT postfix: Yes, I have that turned on. But I previously went through a troubleshooting process where I turned that off and it made no difference to CBBFP. Should I turn it off now? It is on and working fine on my staging site with no CBBFP issues. But there may be some differences between my staging server and live server. I don’t know if some other plugins may use SALT.

    Thanks for following up on this!

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    Yes, keep the SALT postfix off, Recently identified it makes an issue if it is updated.

    Regards

    Thread Starter pcde

    (@pcde)

    Ok, SALT is off. Here’s hoping it does the trick! I waited overnight after turning it off, cleared all caches/cookies etc, and just now tried logging in using CBBFP and… it worked!! I am both shocked and delighted. lol ??

    Really hoping this fix sticks and it is still working a few days from now! I will keep you posted. Thank you!

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    Ok, keep me posted.

    I have created an internal ticket to solve this conflict with salt. The upcoming release will have it solved.

    Regards

    Thread Starter pcde

    (@pcde)

    Very happy to say that it’s 3 days later and everything is still working!

    I’m not sure if this tells you anything significant, but when I first turned SALT off I got locked out of the website entirely (redirected to 127.0.0.1) for a period of time. Turning off CBBFP in wp-config made no difference. I am not sure why this happened, or how I eventually started being able to login again, but it seems it was just a temporary thing. This also happened when I turned off SALT on my staging website (where somehow CBBFP had always been working even with SALT on).

    Other than this one temporary thing following turning off the SALT feature, everything is now working as it should again.

    I wonder why when I turned SALT off while troubleshooting things CBBFP didn’t start working again then? Odd.

    All I know is I am so glad everything is working again! Thanks for sticking with this. Cheers.

    • This reply was modified 1 year ago by pcde.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pcde,

    Once you change the salt postfix settings it will make all the logged user sessions invalid and make all users log out. here in extra of that to the cookie’s value used that AUTH key and salt so it is making the cookie value also invalid so it starts to redirect to 127.0.0.1.

    So you have to once deactivate the CBBFP and save settings ( which saves the correct Key,SAL for cookie to be used and then after it will be working.

    https://snipboard.io/hon67p.jpg

    I am going to work on a fix for this and the upcoming release will have it so salt postfix and CBBFP both can be used.

    Regards

    Thread Starter pcde

    (@pcde)

    Ahhh, that explains it.

    Thanks so much again for helping figure this out. (Thanks especially for figuring it out before I went ahead and did all the work creating a new WordPress installation to troubleshoot! lol).

    I think now we can very happily mark this as resolved. Cheers.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘IP Detection Error; Cookie Based Brute Force Lockout’ is closed to new replies.