LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-08-2004, 11:12 PM   #1
animehair
Member
 
Registered: Sep 2004
Location: NJ
Distribution: Gentoo
Posts: 104

Rep: Reputation: 15
VSFTP on Gentoo - directory listing failed


Here is the setup:
VSFTP on Gentoo using a chosen listen port, and defined passive ports. The defined listen port and passive ports are all fowarded on my router ot the private IP that my server set to. Furthermore the server is setup on the DMZ (also configured on my router).

My problem is:
I can ftp correctly within my private network, however whenever someone tries to ftp from outside my network they recieve an error message that the directory listing failed. The ftp client logs confirm that they are authenticating (username and password are accepted) but i cant figure out the problem from here. Interesting enough, the ftp client (outside my network) is showing my internal server IP address in the error message. This dosnt seem right to me.

I have googled for a while, and the message board is my last hope. If any further information is needed let me know, ill work with you. Thank you in advance.
 
Old 12-09-2004, 09:02 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Make sure that the clients use passive mode for connecting. Also set pasv_address= in your vsftpd.conf to your public IP (the address of the router's external interface), if you don't do this the transfer will fail.

Commands aren't sent through the data channel so usually you can log in but get no dir listing or download anything if the command channel is OK but the data transfer channel is not.


Håkan
 
Old 12-09-2004, 05:18 PM   #3
animehair
Member
 
Registered: Sep 2004
Location: NJ
Distribution: Gentoo
Posts: 104

Original Poster
Rep: Reputation: 15
BINGO!

wow, this worked! Oddly in the past i never had to configure this....then again this is the first time ive used VSFTP., before i used ProFtp. But may i pick your brain once more?......

May i use a Domain Name instead of the IP address? I plan to purchase a domain name, however currently Im just using the IP provided from my ISP (which isnt static). Thanks very much for your help....take care.
 
Old 12-10-2004, 04:01 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
I think it has to be a numerical IP address...but then again I have never tried using a DNS name - and trying it won't hurt.


Håkan
 
Old 12-10-2004, 10:07 AM   #5
tcma
Member
 
Registered: Aug 2004
Distribution: gentoo, Fedora Core
Posts: 54

Rep: Reputation: 15
Konqueror - ftp and web browser program

Another program to try is Konqueror which is a ftp and web browser program running on KDE.
You type the ftp address with user id and IP addresses like this on the location box:
ftp://tcma@192.168.2.180
 
  


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
vsftp 550 failed to change directory? swatward Linux - Software 2 08-25-2010 07:10 PM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
directory size listing with ls mikemrh9 Linux - General 2 01-05-2005 12:04 PM
apache - directory listing thejackal13 Linux - Software 1 01-05-2005 10:31 AM
Directory Listing mattbeekler Linux - Software 8 07-22-2003 02:27 PM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration