cpanel "hulk" login "firewall"

our cpanel servers use two types of firewalls  CSF/LFD which completely blocks an IP address from any access (including viewing web pages), and
"hulk" which just blocks logging in (to email, ftp, cpanel, prot dir, etc.)

from our (separate) support site server, we have JS to test and ascertain if the IP address the customer is viewing from is blocked via LFD (a long equation that tries to dis-ambiguate server down and slow server).  Unfortunately there are no APIs that we can find to test for an IP being on the "deny" list,   so this empirical method gets us 99% there, and is good enough for the effort expended.

However we've not been able to find a way to test for an IP being on the HULK (login) block list.  (again, we cannot find any APIs that our support server can cURL-check an IP address).
Does anyone know of an (empirical) technique to test for Hulk blocking login from a given IP?
we've tried to think of a way to have a generic test account (that doesn't do anything or have any privs in case a hacker finds out about it), but cannot find a way to have a cURL to attempt login and determine success.

any ideas?

thanks

(there used to be a cPanel category in EE, but cannot find it any longer)
willsherwoodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MazdajaiCommented:
Have you examine the brute history report? If an ip address is logged on the report, I would assume it has been blocked.

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/CPHulk
0
willsherwoodAuthor Commented:
but i don't know how to circumvent cPanel's not allowing executing scripts when i try to make my own API, for example to execute this script (to be from a cURL call in order to scrape the results to find an IP addr that is blocked)

/scripts/cphulkdblacklist

thanks
0
willsherwoodAuthor Commented:
p.s.   i'm familiar with how to manually view the white/black lists and log from WHM
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

MazdajaiCommented:
I suggest contacting  cPanel about this, I don't have an environment in cPanel to test and I don't see much documentation regarding custom API that fits your scenario .
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
willsherwoodAuthor Commented:
thank you
0
MazdajaiCommented:
Did cPanel able to help on this?
0
willsherwoodAuthor Commented:
still waiting...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.