hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Understanding 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

Understanding 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 11-07-2007, 10:43 PM
wingtip wingtip is offline
WHT Addict
 
Join Date: Aug 2005
Location: South West US
Posts: 102

Understanding APF


Ok, I know this is a dumb question, but I'm rather new to having my own dedicated server. I have apf installed and I wanted to see how it blocked IPs so I had a friend, whoes IP I knew, help me. I added his IP to the deny_hosts.rules, thinking that would block him from my server, but it did not. Now, mind you, the way I added his IP was to simply use an editor and add his IP to the bottom of the list. Then I got to thinking, does teh apf only load the rules every so often? If so, how can I tell when or how often the rules load? ALso, do I need to add an IP using apr -d IPNUMBER in order for the apf to recognize it? I'd appreciate some info on how the apf works and how I can add IPs myself that I want to add and be sure that they are being blocked.

Thanks,
WT

Reply With Quote


Sponsored Links
  #2  
Old 11-07-2007, 10:53 PM
layer0 layer0 is offline
Performance Specialist
 
Join Date: Dec 2004
Location: New York, NY
Posts: 10,339
If you edit deny_hosts.rules manually you'll need to restart APF "apf -r" to have it generate and apply the necessary iptables rule.

If you don't edit anything and just run the command:

apf -d IP it will take into effect right away.

Reply With Quote
  #3  
Old 11-07-2007, 11:10 PM
wingtip wingtip is offline
WHT Addict
 
Join Date: Aug 2005
Location: South West US
Posts: 102
Ah! Thanks very much, I was thinking it might be something like that. Thanks!

Reply With Quote
Sponsored Links
  #4  
Old 11-07-2007, 11:14 PM
net net is offline
Community Liaison
 
Join Date: Mar 2003
Posts: 8,046
Read the readme file again and understand it carefully :-)


Net

__________________
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
Reply

Related posts from TheWhir.com
Title Type Date Posted
Sign Up for Wednesday's Webinar on Evaluating Lead Generation Opportunities Blog 2012-09-11 11:29:35
WHD 2012 -- How Web Hosts Can Use Migration Services to Win Customers Web Hosting News 2012-03-22 11:57:18
Yahoo! Names Former PayPal President its New CEO Web Hosting News 2012-01-05 19:17:16
What or Who is Anonymous? Blog 2011-11-17 15:47:49
Cloud Computing Firm CloudBees Names Former Oracle Executive to SVP of Products Web Hosting News 2011-09-27 13:53:21


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?