Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cphulk.

Discussion in 'General Discussion' started by 2fast, May 4, 2008.

  1. 2fast

    2fast Member

    Joined:
    Mar 8, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    is there anyways to flush out the banned IP's from within ssh ?
     
  2. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    168
    The IP entries are logged into the cphulkd database, on the 'brutes' and 'logins' tables.

    You can simply clear their values via the CLI.

    Something among the lines of:

    echo "delete from brutes; delete from logins;" | mysql cphulkd
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    mysql asking for password when i try to delete the tables
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. natong

    natong Well-Known Member

    Joined:
    May 17, 2008
    Messages:
    89
    Likes Received:
    1
    Trophy Points:
    56
    It works! Thanks
     
  5. dbchud

    dbchud Registered

    Joined:
    Dec 11, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hi everyone

    Sorry for dragging this old post up, but seems to be what I'm after, well - ish.

    I have a client who is blocked from the server but his IP address is not in the database - in fact, the whole db is empty.

    He can access his site and email from any other location.

    Is there something I have missed? Would really appreciate some advice.

    Cheers
    Gary
     
  6. rsong

    rsong Member

    Joined:
    Sep 5, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    @Gary,

    Do you run any firewall like APF or CSF?
    Ask him to do traceroute from his location to the server, it is easier that way to determine what blocking him.
     
  7. dbchud

    dbchud Registered

    Joined:
    Dec 11, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hi rsong,

    Please forget my "noobish" replies; I normally leave this for my techy guy ;)

    but... looks like there's a firewall up and running ... csf.

    I'll ask him to do a tracert and post the stuff here. Cheers for your help, appreciated.

    Gary
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,516
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you know the IP of the user go to your WHM, at bottom of left menu click "ConfigServer Security&Firewall" > Find button on left, Firewall Deny IPs and open that file to find the IP. Simply highlight that IP(entire line) and delete. Then save/restart firewall.

    Might be as easy as that. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. agentblack

    agentblack Well-Known Member

    Joined:
    Mar 28, 2008
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Indiana
    any thoughts on how to get around this if you are unable to log in via ssh root? somehow i have buggered myself completely and i cant log in via ssh or http.. :-/
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice