Skip to main content

how to export cPHulk blacklist

Comments

6 comments

  • kazar
    update: I see now that cPHulk does still use mysql. The table is now called ip_lists with blacklisted addresses indicated by "2" in the "TYPE" column. There is no longer a column that stores a single value for IP range (such as 107.150.53.0/24) but instead there are STARTADDRESS and ENDADDRESS columns with the IP # in the format such as "00000000000000000000ffffd9aecaff" I have no idea how to print this in the shell in the same human-readable IP address range format that I use to input blacklisted addresses. I have opened a support ticket and will post back here when I receive a response.
    0
  • cPanelMichael
    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 Thank you.
    0
  • shoutandecho
    Hi! Is there a way to view, manipulate, and export the cPHulk list without using the command line? In the old system, I could just grab the list, use a text editor to manipulate the list, and then paste it back in. Now there doesn't seem to be a way to even view the entire list within the WHM interface at all. I did view the document Michael helpfully provided, but it doesn't seem to deal with manipulating or viewing the entire cPHulk blacklist. It looks like the web interface now only allows for entering and scrolling through a big list; you can't select all and export or select all and delete or search for a range, etc, and the command line can't do any sort of bulk editing either. Anyway, i was wondering if anything has changed because the new interface has take an enormous step back in terms of blacklist management.
    0
  • cPanelMichael
    Hi! Is there a way to view, manipulate, and export the cPHulk list without using the command line? In the old system, I could just grab the list, use a text editor to manipulate the list, and then paste it back in. Now there doesn't seem to be a way to even view the entire list within the WHM interface at all. I did view the document Michael helpfully provided, but it doesn't seem to deal with manipulating or viewing the entire cPHulk blacklist. It looks like the web interface now only allows for entering and scrolling through a big list; you can't select all and export or select all and delete or search for a range, etc, and the command line can't do any sort of bulk editing either. Anyway, i was wondering if anything has changed because the new interface has take an enormous step back in terms of blacklist management.

    Hello, It's not possible to export or search the blacklist via WHM, but please continue to vote and add your feedback to the existing feature request located at: Show all IP addresses listed in cphulk Thank you.
    0
  • shoutandecho
    Hello, It's not possible to export or search the blacklist via WHM, but please continue to vote and add your feedback to the existing feature request located at: Show all IP addresses listed in cphulk Thank you.

    Thank you for the quick response. I wonder why the change was made to take away that functionality? It was in previous versions...
    0
  • cPanelMichael
    Thank you for the quick response. I wonder why the change was made to take away that functionality? It was in previous versions...

    It happened when cPHulk was overhauled in cPanel version 11.48. You can find a reference to improvements to cPhulk in the cPanel version 11.48 release notes:
    0

Please sign in to leave a comment.