Error message using Sucuri Firewall
-
Hey all,
I am using the ultimate member plugin in combination with the Sucuri Website Firewall.
But I am running into an issue while accessing the page via the mobile browser.
The error code is the following:BlockID: BBOT66
Bloc Reason: Brute force bot was blocked.2001:a62:435:e801:4931:377:4350:f5e4 POST /login/ Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1 24/Nov/2021:07:31:42 -0500
2001:a62:435:e801:4931:377:4350:f5e4 POST /login/ Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1 24/Nov/2021:08:16:25 -0500The same login process via the desktop browser works without issues.
The feedback from the Sucuri Support is the following, can that change be done in the core version sicne I would like to have the possibility to upgrade to new release of the plugin without the need to always change the code.=== Usually, triggering the BBOT66 firewall rule means that your WordPress website is using a non-standard login process and it is failing to set the standard WordPress login cookie that the firewall expects. The firewall then sees this as potential bad bot behavior and blocks the visitor as a result. This can commonly be resolved by adding the following code to your websites functions.php file: add_action('init', 'custom_add_login_cookie', 1); function custom_add_login_cookie(){ if ( $_SERVER['REQUEST_URI'] == '/login/' ) : if ( ! isset( $_COOKIE['login_cookie'] ) ) : setcookie( 'login_cookie', 1234567890, time() + 3600 * 24 * 100, '/', 'dpm.support', false); endif; endif; } This should then set the required cookie that satisfies the firewall. If you get stuck with this, whilst it is a little outside the scope of our support, we may be able to assist if you can provide FTP access. ===
- The topic ‘Error message using Sucuri Firewall’ is closed to new replies.