Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In Progress [CPANEL-23096] Display a warning when cPHulk brute force protection periods are higher than 1440

Discussion in 'General Discussion' started by Daniel Villela, Mar 2, 2018.

Tags:
  1. Daniel Villela

    Daniel Villela Registered

    Joined:
    Oct 4, 2017
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    I´m trying to disable cPHulk´s Username-based Protection.
    cphulk_01.gif

    But when i click the disable button
    cphulk_02.gif

    and save,the settings are not saved.
    cphulk_03.gif


    I reload the page and Username-based Protection continue enabled.

    Is there any way to repair the cPHulk installation or any command line to disable Username-based Protection?

    Thanks in advance!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you let us know of any specific output to /usr/local/cpanel/logs/error_log after clicking the "Save" button?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Daniel Villela

    Daniel Villela Registered

    Joined:
    Oct 4, 2017
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    I did the procedure by clicking the save button but analyzing the log file and did not generate information about this action and no evidence of error.

    I got the information from the log file with today's date (2018/03/02).
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. raysolomon

    raysolomon Member

    Joined:
    Oct 12, 2006
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    151
    It took me some time to figure this out by finally experimenting with all the options.

    The problem for me is that long ago I had set the "Brute Force Protection Period (in minutes)" to a value higher than 1440. Make sure that value is 1440 or lower.

    Make sure you do the same with the "IP Address-based Brute Force Protection Period (in minutes)" too.

    After that, the save button should work again.

    I think prior to WHM version 68, it allowed for any value higher above 1440, but not anymore.

    Currently the cphulk configuration page doesn't check for invalid values on page load.

    Hope that helps someone else out. I couldn't find anybody else talking about this issue.
     
    #5 raysolomon, Sep 13, 2018
    Last edited: Sep 13, 2018
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @raysolomon,

    Thank you for your report. With that information, I was able to reproduce the issue and open internal case CPANEL-23096 to report the problem. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, as you noted the workaround is to enter a value less than or equal to 1,440 in fields related to the brute force protection period.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice