Invalid login attempts through cpanel and IP address is blocked by cpHulk Brute force protection

Invalid login attempts through cpanel and IP address is blocked by cpHulk Brute force protection

cPhulk is just like Firewall Protection. In WHM/cPanel server there is a option of Brute Force Protection System under “security centre” option. If you want to protect your server from various unwanted Login attempts then you should enable cpHulk from WHM. cpHulk can be easily configured from WHM Panel.

Error - cPanel Login Invalid :

Sometimes you may see Invalid Login error in cPanel while you are using the correct username and password. This Error occurs due to the cpHulk as the IP Address you are using is blocked by cphulkd for Brute Force so you get the Invalid Login Error.

The Error :

You can see the error by using "/usr/local/cpanel/logs/error_log" Command and the error log will be like the following.

main::badpass('faillog', 'brute force attempt (user iserversupport) has locked out IP xxx.xxx.xxx.xx...', 'skip_hulk', 1, 'msg_code', 'invalid_login') called at cpsrvd-ssl line 5790

main::connect_cphulkd() called at cpsrvd-ssl line 5255

main::handle_form_login() called at cpsrvd-ssl line 1131

main::handle_one_connection() called at cpsrvd-ssl line 996
How To Whitelist an IP Address on cpHulk Service :

To avoid this error detailed above you can disable cpHulk or White-list the IP’s you needed. Disabling cpHulk is not recommended as it will affect Security of your Server thus you should White-list the IP’s to overcome this error. There are two options to White-list IP Address on cpHulk Service:

Using command:


1. You should use the following script -:

Code:
/scripts/cphulkdwhitelist <IP-Address that is to be White-listed>
2. You can also White-list IP from WHM Panel by performing the following steps -:

  • Login to WHM Panel.
  • Here under “Security Center” click on “cPHulk Brute Force Protection”.
brute.png

  • Now select “White/Black List Management”.
bulk.png

  • You can add the desired IP which you want to blacklist or whitelist.
Author
bhawanisingh
Views
5,133
First release
Last update
Rating
0.00 star(s) 0 ratings
Top