hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Unblock IP from APF
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Unblock IP from APF

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2006, 09:34 PM
sgth sgth is offline
WHT Addict
 
Join Date: Sep 2005
Posts: 140

Unblock IP from APF


Hello,

By an mistake, my server (with APF and BFD installed) is blocking an IP 12.34.56.77 , so anyone please show me with commands that I need to do to unblock this IP ?

Thank so much

Reply With Quote


Sponsored Links
  #2  
Old 02-19-2006, 09:36 PM
sgarbus sgarbus is offline
Disabled
 
Join Date: Jul 2005
Location: Buffalo, NY
Posts: 2,626
/etc/apf/deny_hosts.rules


Reply With Quote
  #3  
Old 02-19-2006, 09:51 PM
sgth sgth is offline
WHT Addict
 
Join Date: Sep 2005
Posts: 140
Quote:
# added xxxxx on 02/17/06 19:50:02 with comment: {bfd.pure-ftpd}
xxxxxx
thanks for help Steve, look like you so active around this room , what I need to do is just remove that line from deny_hosts.rules right ? nothing else with BFD ?

is it relate anything to IP Table ? you think I need to flush it ?

Reply With Quote
Sponsored Links
  #4  
Old 02-19-2006, 09:54 PM
sgarbus sgarbus is offline
Disabled
 
Join Date: Jul 2005
Location: Buffalo, NY
Posts: 2,626
Quote:
Originally Posted by sgth
thanks for help Steve, look like you so active around this room , what I need to do is just remove that line from deny_hosts.rules right ? nothing else with BFD ?

is it relate anything to IP Table ? you think I need to flush it ?
You can just remove those lines and it will be gone.

Reply With Quote
  #5  
Old 02-19-2006, 10:06 PM
sgth sgth is offline
WHT Addict
 
Join Date: Sep 2005
Posts: 140
I did , and he still can not access to his cpanel

Reply With Quote
  #6  
Old 02-19-2006, 10:08 PM
sgarbus sgarbus is offline
Disabled
 
Join Date: Jul 2005
Location: Buffalo, NY
Posts: 2,626
Try to flush it, if that doesn't work post again

Reply With Quote
  #7  
Old 02-19-2006, 10:19 PM
net net is offline
Community Liaison
 
Join Date: Mar 2003
Posts: 8,010
do:

service apf restart

Make sure to add your ip also to the following to avoid being banned again:

/etc/apf/allow_hosts.rules
/usr/local/bfd/ignore.hosts


Goodluck!

__________________
JoneSolutions.Com - Your Number One Choice On The Net - since 2001
----------------------------------------------------------------------------------------
Linux Shared and Reseller Hosting * KVM Fully Managed cPanel VPS * Super Special Servers
USA/EU cPanel Fully Managed Servers * cPanel Server Management * R1Soft/Idera Backup


Reply With Quote
  #8  
Old 02-19-2006, 10:32 PM
sgth sgth is offline
WHT Addict
 
Join Date: Sep 2005
Posts: 140
thanks for help Steve and Net , It works now

Reply With Quote
  #9  
Old 02-20-2006, 04:22 AM
HD Fanatic HD Fanatic is offline
Web Hosting Master
 
Join Date: Jan 2005
Posts: 2,099
Quote:
Originally Posted by net
do:

service apf restart

Make sure to add your ip also to the following to avoid being banned again:

/etc/apf/allow_hosts.rules
/usr/local/bfd/ignore.hosts


Goodluck!
apf -r

that's it? is there a way to restart bfd ?

Reply With Quote
  #10  
Old 02-20-2006, 09:22 AM
layer0 layer0 is offline
Performance Specialist
 
Join Date: Dec 2004
Location: New York, NY
Posts: 10,338
In later APF versions you can do:

apf - u 1.2.3.4



(to unban)

I don't see why you would need to restart BFD - it just runs via cron.

__________________
MediaLayer, LLC - Lightning fast web hosting since 2005. Ask about our new pure SSD storage platform!
›› First and leading provider of LiteSpeed based hosting combined with enterprise grade hardware.
›› Free Account Migrations, Custom Solutions, and Servers in US, EU, and Asia
›› Our Application Hosting plans outperform the typical VPS. Ask us about special offers on yearly plans!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?