We enabled country blocking on our server and CPhulk blocked everything, web and ssh, even blocked access to hosted sites. I tried the following;
but cphulk would restart. I then tried;
and was able to get access to WHM and SSH again, so I have a few questions.
What did I do wrong? I went to Home > Security Center > Cphulk Brute force protection and selected every nation except the US and chose blacklist. I didn't chose anything else, but I'm sure I probably missed something.
Is there a way to reset cphulk through cli back to its defaults? I would like to restart it and use it again.
What can I do to prevent this from happening again?
Thank you all.
Code:
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
/usr/local/cpanel/etc/init/stopcphulkd
Code:
whmapi1 configureservice service=cphulkd enabled=0 monitord=0
iptables -F cphulk && /usr/local/cpanel/3rdparty/bin/sqlite3 /var/cpanel/hulkd/cphulk.sqlite "DELETE FROM login_track;"
What did I do wrong? I went to Home > Security Center > Cphulk Brute force protection and selected every nation except the US and chose blacklist. I didn't chose anything else, but I'm sure I probably missed something.
Is there a way to reset cphulk through cli back to its defaults? I would like to restart it and use it again.
What can I do to prevent this from happening again?
Thank you all.