Include cPhulk whitelist and blacklist to csf
Hello,
I have seen on csf whitelist, there is an include thing like
how i can include cPhulk whitelist to this line without input it one by one?
Include /etc/csf/cpanel.comodo.allowhow i can include cPhulk whitelist to this line without input it one by one?
-
May need some custom scripting as the details of cphulkd are added to a database and not in a simple file. You might need to extract the ip's using ip_lists table and add them to csf. If you are only having fewer entries then better whitelist them directly in csf. 0 -
actualy it only a few IP need to whitelist, but i just courious 0 -
Ok, May be you can add a feature list in cpanel and they might be able to add this or atleast create a command for getting a list of such ip's and then we can easily create a cron to add those ip's to csf witelist and blacklist 0 -
Ok, May be you can add a feature list in cpanel and they might be able to add this or atleast create a command for getting a list of such ip's and then we can easily create a cron to add those ip's to csf witelist and blacklist
I think that was a good idea, i will request it in a few days, perhaps more people vote for it0 -
Hello, There's a post that explains how to view a list of blocked or whitelisted IP addresses from the command line at: cphulk 11.50+ : remove IP via ssh connection You may also find this document helpful: cPHulk Management on the Command Line - cPanel Knowledge Base - cPanel Documentation In addition, feel free to vote for the following feature request: Show all IP addresses listed in cphulk Thank you. 0
Please sign in to leave a comment.
Comments
5 comments