The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Include cPhulk whitelist and blacklist to csf

Discussion in 'Security' started by hrace009, Sep 16, 2016.

Tags:
  1. hrace009

    hrace009 Well-Known Member

    Joined:
    Dec 24, 2013
    Messages:
    66
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Root
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,
    I have seen on csf whitelist, there is an include thing like
    Code:
    Include /etc/csf/cpanel.comodo.allow
    how i can include cPhulk whitelist to this line without input it one by one?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    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.
     
  3. hrace009

    hrace009 Well-Known Member

    Joined:
    Dec 24, 2013
    Messages:
    66
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Root
    cPanel Access Level:
    Root Administrator
    Twitter:
    actualy it only a few IP need to whitelist, but i just courious
     
  4. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    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
     
  5. hrace009

    hrace009 Well-Known Member

    Joined:
    Dec 24, 2013
    Messages:
    66
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Root
    cPanel Access Level:
    Root Administrator
    Twitter:
    I think that was a good idea, i will request it in a few days, perhaps more people vote for it
     
    NixTree likes this.
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,833
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page