Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-27-2004, 11:10 AM   #1
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 130

Rep: Reputation: 15
vsftp passive mode breaking

Hey all linuxubervolken. I have a question about vsftp that's driving me a bit batty. I'm hoping you can help.

I'm running vsftpd as my server under RH9. My config file has the following lines in my attempt to enable passive mode to funciton:

But ftp clients in passive mode seem to be breaking. Windows 2000 ftp seems to function in active mode by default and works. But WindowsXP, MacOSX (command line ftp), SunOS (not sure version, can check if someone's curious), and Linux (RH9) all are able to login, pwd, cd but listing directories (ls) breaks the connection. This does not happen if passive mode is disabled on the client side.

Locally, on the same network as the ftp server another linux boxen can login to the ftp server with passive mode enabled. So, I'm thinking that it might be my router and is not likely to be my configuration that's at fault.

I am using a Linksys BEFSX41 Firewall/Router. I went into the "Port Forwarding" page. I set the port range to enable 62000 to 64000. I enabled both UDP and TCP. Does anyone know these Linksys routers or have any advice to offer?

Old 02-23-2004, 10:59 PM   #2
LQ Newbie
Registered: Sep 2003
Location: Minneapolis
Distribution: Redhat9, FedoraC1
Posts: 20

Rep: Reputation: 0
I'm having a very similar problem.
I can log in from anywhere, and everything appears normal from a windows XP, or OSX machine here, or when connecting from the server itself. However the connection will break in same manner from remote linux machines when I do an 'ls'. HOWEVER a 'dir' will work.
I dont think its an issue with the router, (in my case at least) cause it happens on my local network as well.
Also vsftpd seems to be ignoring the conf file any way. Despite my /etc/vsftpd/vsftpd.conf settings, local users cannot log in, and anonymous upload seems to be broken.
Are you having this config file issue as well?

I use the same router, and that should be all you need to do, to the best of my knowledge.

Any thoughts?
Old 02-24-2004, 07:13 AM   #3
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
MMmm this is a very long story, ive covered in this link...

I hope that will answer some of your questions... It's about that passive thingie and what "actually" happens.... This can be related to your problem, nd you might figure the solution... If not, just post, and i will see if i can help you... Im not too familiar with vsftp though....

Last edited by Satriani; 02-24-2004 at 07:18 AM.


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
ProFTPd, Redhat 8.0 and passive mode Slasher Linux - Networking 10 05-09-2008 04:08 PM
proftpd, passive mode, and a router.... apberzerk Linux - Networking 2 07-11-2004 07:05 PM
ftp passive mode ? lenlutz Linux - Networking 1 11-05-2003 01:11 PM
How to have passive mode off by default in wu-ftpd alisajjad Linux - Networking 0 07-30-2003 06:34 AM
kermit in passive mode? bbeers Linux - Software 1 08-23-2002 07:53 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 AM.

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