Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 20, 2010 9:14 am 
Offline
Senior Member

Joined: Tue Dec 07, 2010 10:18 am
Posts: 65
Hi,

I am using CentOS 5.5 [Latest 2.6 Stable (2.6.18)]

Installed vsftpd with TLS.

I am able to connect to FTP site but LIST command is failing. If I disbale my iptables then the LIST command works fine.

I tried following command

modprobe ip_conntrack
modprobe ip_conntrack_ftp

But it says no such module.

I do not want to open port above 1024 for passive FTP to work.

Filezilla status
18:38:37 Status: Retrieving directory listing...
18:38:37 Command: PWD
18:38:37 Response: 257 "/"
18:38:37 Command: TYPE I
18:38:37 Response: 200 Switching to Binary mode.
18:38:37 Command: PASV
18:38:38 Response: 227 Entering Passive Mode (121,121,198,152,255,8)
18:38:38 Command: LIST
18:38:59 Error: GnuTLS error -53: Error in the push function.
18:39:38 Response: 425 Failed to establish connection.


What can be done?


Richard
http://www.vasaiflowers.com


Top
   
 Post subject: Fixed ...
PostPosted: Mon Dec 20, 2010 2:35 pm 
Offline
Senior Member

Joined: Tue Dec 07, 2010 10:18 am
Posts: 65
I used following rule in iptables

-A INPUT -p tcp -s 0/0 --source-port 1024: --destination-port 64100:64200 --syn -j ACCEPT


and I mentioned above ports in vsftpd as min and max ...

pasv_enable=YES
pasv_min_port=64100
pasv_max_port=64200


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: sjnorton and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group