LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-06-2006, 03:21 AM   #1
L1nuxbug
Member
 
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Rep: Reputation: 15
Problem with Firewall!!!


Hi guyz..
i have RH AS 4, have configured FTP (vsftpd) server. when ever i enable firewall and custamize its setting for FTP allow, its ok...
and when i try to connect to FTP from other machine. it gives following Error.
Access Denied, you do not have enuff permissions..
when its not enabled thn ftp works fine...

i want to enable firewall and run FTP and HTTP servers.

Any help ??
 
Old 10-06-2006, 06:38 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
do you have the ip_conntrack_ftp module loaded??
 
Old 10-07-2006, 12:45 AM   #3
L1nuxbug
Member
 
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Original Poster
Rep: Reputation: 15
shud i load it through vsftpd.conf file ??
tell me how to check...if its loaded or not... and whats its purpose..?
 
Old 10-09-2006, 01:37 AM   #4
L1nuxbug
Member
 
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Original Poster
Rep: Reputation: 15
???????.............???
 
Old 10-09-2006, 03:49 AM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by L1nuxbug
shud i load it through vsftpd.conf file ??
tell me how to check...if its loaded or not... and whats its purpose..?
it's purpose is to allow the kernel to track FTP connections (on the state table)... it's a kernel module, so you'd load it with the modprobe command... you can check if the module is loaded by doing a:
Code:
lsmod | grep ip_conntrack_ftp
if it's not loaded, you can load it with a:
Code:
modprobe ip_conntrack_ftp
keep in mind that if you compiled support for this into your kernel (instead of as a module) then this wouldn't be necessary at all... also keep in mind that i'm NOT saying this is definitely the cause of your problem...
 
Old 10-09-2006, 05:34 AM   #6
L1nuxbug
Member
 
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Original Poster
Rep: Reputation: 15
lsmod | grep ip_conntrack_ftp
does not show any output...
now what ? nor the second one...
 
Old 10-09-2006, 05:37 AM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by L1nuxbug
lsmod | grep ip_conntrack_ftp
does not show any output...
now what ? nor the second one...
check with lsmod again after having done the modprobe...

make sure you are doing this as root...

BTW, the "Access Denied" message you get isn't being generated by a Squid cache by any chance is it??

Last edited by win32sux; 10-09-2006 at 05:39 AM.
 
Old 10-09-2006, 06:24 AM   #8
L1nuxbug
Member
 
Registered: Feb 2004
Location: Quetta
Distribution: RedHat
Posts: 54

Original Poster
Rep: Reputation: 15
[root@localhost ~]# lsmod | grep ip_conntrack_ftp
ip_conntrack_ftp 76273 0
ip_conntrack 45957 2 ip_conntrack_ftp,iptable_nat

Yes thats what i get after modprob....
 
  


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
problem with my first firewall.... andra Linux - Security 6 09-20-2005 11:17 AM
Firewall problem Pedroski Linux - Security 2 06-27-2004 11:37 PM
firewall problem ? CavRider Slackware 4 12-13-2003 06:17 PM
firewall problem lyceum Linux - Networking 8 08-23-2003 12:03 PM
Problem Firewall ... ?! dancindoc Linux - Networking 1 02-11-2002 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:38 PM.

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
Open Source Consulting | Domain Registration