LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2005, 01:02 PM   #1
ashokleyland
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
vsftpd + passive ports range connection problem


Hi,

here is the thing: i had set up a ftp server with vsftpd on a Mandrake 10.1 and i am behind a router/firewall (Speedtouch 510v4). Everything's running fine, i can connect to the server without any problem. Here is my problem: from another computer/ip, i can connect (passive mode) the first time, the second time and let say that the third time vsftpd keeps wanting the client to connect on some ports that i didn't put in the conf file. From that time, i can no longer connect to the ftp server in passive mode cause it sends wrong ports (for example 10800, 10801, 10802....)

My router/firewall is forwarding the ports 40500 to 40519 and the port 21 the local machine.

here is my vsftpd.conf file:

Code:
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
anon_world_readable_only=YES

local_enable=YES
write_enable=YES
dirmessage_enable=YES

xferlog_enable=YES
ls_recurse_enable=NO

connect_from_port_20=YES

idle_session_timeout=600
data_connection_timeout=240
accept_timeout=60
connect_timeout=60

ascii_download_enable=NO

banner_file=/etc/banners/ftp.msg

chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list

hide_ids=YES
pasv_enable=YES
pasv_promiscuous=YES
port_promiscuous=YES
pasv_max_port=40519
pasv_min_port=40500
i hope i was clear. So to sum up: i can connect (passive mode) to the server and it uses ports from 40508 to 40516. It lasts 5 minutes then without any reason the server sends passive ports from 10800 to 10815 and i can not connect (the number of the ports are just an example). Also I never had a successful connection with IE, Firefox...(IE gives me a 425...)

Any ideas ? i don't have anymore....

thx for help.

Last edited by ashokleyland; 01-02-2005 at 01:09 PM.
 
Old 01-03-2005, 12:57 PM   #2
ashokleyland
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
anyone ? please ?
 
  


Reply



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
VSFTPD question...active/passive mode lapzlinux Linux - Networking 4 08-06-2011 01:54 AM
Vsftpd + SSL + Passive = Listing problem subspawn Linux - Software 15 08-03-2010 07:19 PM
VSFTPD Passive FTP not working, can't ls severian23 Fedora 1 07-07-2005 07:06 PM
Passive Ports closed on Slackware 10 machine corster Linux - Networking 1 04-18-2005 11:03 PM
vsftpd behind router doing nat - enabling passive alansk Linux - Software 0 07-16-2003 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration