LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2005, 01:48 AM   #1
UnforgotteN
LQ Newbie
 
Registered: May 2005
Posts: 16

Rep: Reputation: 0
apf questions


I run a linux server with Cpanel. Recently I installed apf, i created my friend an account so he could upload some of his files to ftp. now my friend's ip was blocked by apf firewall.

i was looking into this file, is this where i unblock and find out why he was blocked?

Code:
cd/etc/apf/ 
pico deny_hosts.rules 

I found his ip here: 

# added XXX.XXX.XXX.XXX on 05/24/05 21:00:00 
# {bfd.proftpd} 
XXX.XXX.XXX.XXX
Why was he blocked? and how do i unblock him?

John,
Thnaks!

Last edited by UnforgotteN; 05-29-2005 at 01:49 AM.
 
Old 05-29-2005, 04:41 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Rough guess: since you found his IP listed in the deny_hosts.rules, that answers your question. Is there an allow_hosts.rules file? Or some equivalent? If so, transfer his IP info to that file, then try again.
 
Old 05-29-2005, 05:28 PM   #3
UnforgotteN
LQ Newbie
 
Registered: May 2005
Posts: 16

Original Poster
Rep: Reputation: 0
done, thanks. i actually just deleted the lines in deny_hosts.rules files. if he gets ban again hopefully we will know why, i just dont want to put him in allow_hosts.rules file when he couldl be trying to do something to harm the system...
 
Old 05-29-2005, 06:09 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Allow_hosts.rules *should* only allow him to connect to the server. It *should not* give him root privileges to do harm to the system. Access to the server *should only* allow him to connect to his own workspace, or the public_html directories in other users directories.

System admisistration can be a daunting task. Perhaps other, more knowledgeable Linux users, could be of greater help. Especially with the implementation of ACL (access control lists) to ease your mind with regard to un-regulated access to the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
APF how to use FILTERED latino Linux - Security 1 09-05-2005 02:22 AM
APF firewall binumvk Linux - Security 2 10-14-2004 06:12 AM
APF Firewall issue nepcw Linux - Security 2 04-27-2004 03:55 PM
apf and nfs engnet Linux - Security 1 12-04-2003 01:30 PM
APF Firewall BlackRain Linux - Security 2 06-12-2003 09:40 AM


All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration