#1 (permalink)  
Old 05-04-2008, 06:27 PM
Registered User
 
Join Date: Mar 2008
Posts: 16
2fast is on a distinguished road
Cphulk.

is there anyways to flush out the banned IP's from within ssh ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-05-2008, 11:39 AM
Staff
 
Join Date: Jun 2006
Posts: 212
cPanelAlex is on a distinguished road
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
Quality Assurance
cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-29-2009, 11:10 AM
Registered User
 
Join Date: Apr 2004
Posts: 194
markhard
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-01-2009, 06:28 AM
Registered User
 
Join Date: May 2008
Posts: 55
natong is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-28-2009, 03:31 PM
Registered User
 
Join Date: Dec 2005
Posts: 2
dbchud is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-29-2009, 08:43 AM
Registered User
 
Join Date: Sep 2007
Posts: 9
rsong is on a distinguished road
@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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-29-2009, 03:12 PM
Registered User
 
Join Date: Dec 2005
Posts: 2
dbchud is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-29-2009, 08:01 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,498
Infopro is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-05-2009, 02:37 PM
Registered User
 
Join Date: Mar 2008
Location: Indiana
Posts: 30
pbhosting is on a distinguished road
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.. :-/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:46 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc