Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    16

    Default Cphulk.

    is there anyways to flush out the banned IP's from within ssh ?

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    212

    Default

    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
    Alex Villegas

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    mysql asking for password when i try to delete the tables
    HalfDedi.com : Half Dedicated Half Price
    We Provide Affordable VPS hosting solution in US and Singapore

  4. #4
    Member
    Join Date
    May 2008
    Posts
    83

    Default

    Quote Originally Posted by cPanelAlex View Post
    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
    It works! Thanks

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Default

    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. #6
    Member
    Join Date
    Sep 2007
    Posts
    12

    Default

    @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. #7
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Default

    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. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,884
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    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.

  9. #9
    Member
    Join Date
    Mar 2008
    Location
    Indiana
    Posts
    58

    Default

    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.. :-/

Similar Threads & Tags
Similar threads

  1. cPHulk and botnet
    By Esky in forum Security
    Replies: 2
    Last Post: 06-24-2010, 04:27 PM
  2. cphulk and apf
    By denisdekat09 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-13-2009, 09:43 AM
  3. cphulk
    By offline in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-13-2009, 01:52 PM
  4. cphulk configuration
    By erinspice in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-25-2008, 07:18 PM
  5. cphulk protection
    By k1k in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-25-2008, 03:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube