Fedora Core 3 and vsftpd

Posted on 2005-02-27
Medium Priority
Last Modified: 2013-12-06

i have set up the vsftpd service on the fedora core 3 giving anonymous user access rights

i can type >ftp localhost
give userid >anonymous
give pwd   > 

type  >ls
and i get a directory listing

on a winxp machine i am trying tp use wsftppro and i cannot get a listing( there should be a file shown.
here what i get in the event box at bottom of wsftppro

USER anonymous@
331 Password required for anonymous@
PASS ****
230 Login successful.
215 UNIX Type: L8
Host type (2): UNIX (standard)
211 End
257 "/"
200 Switching to ASCII mode.
227 Entering Passive Mode (192,168,0,1,12,254).
connecting data channel to
data channel connected to
425 Failed to establish connection.
PORT 192,168,0,50,7,178
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
transferred 0 bytes in 65.531 seconds, 0.000 bps ( 0.000 Bps), transfer succeeded.
200 Switching to Binary mode.

Question by:cossy74
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 19

Expert Comment

ID: 13416056
It sounds like vsftpd is configured to only bind to localhost and you have some other ftp daemon running on the lan device.  Can you confirm that the vsftpd logs are showing the connections from the XP machine?

Author Comment

ID: 13416095
Barthax: THe log file vsftpd.log in the var/logs directory is blank(empty) am i looking in the wrong place?
LVL 19

Expert Comment

ID: 13416111
Again that depends on the configuration of vsftpd - the configuration may be set to no logging.  From the man page, the default is not to log:

    When enabled, all FTP requests and responses are logged, providing the option xferlog_std_format is not enabled. Useful for debugging.

    Default: NO "

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 13416210
Barthax: Here is an extract from the vsftpsd.log file. I assume that the connection is ok.

Mon Feb 28 09:53:45 2005 [pid 3727] CONNECT: Client ""
Sun Feb 27 22:53:45 2005 [pid 3727] FTP response: Client "", "220 Welcome to Serck controls FTP Server"
Sun Feb 27 22:53:45 2005 [pid 3727] FTP command: Client "", "USER anonymous"
Sun Feb 27 22:53:45 2005 [pid 3727] [anonymous] FTP response: Client "", "331 Please specify the password."
Sun Feb 27 22:53:45 2005 [pid 3727] [anonymous] FTP command: Client "", "PASS <password>"
Mon Feb 28 09:53:45 2005 [pid 3726] [ftp] OK LOGIN: Client "", anon password "wsftp76@"
Mon Feb 28 09:53:45 2005 [pid 3728] [ftp] FTP response: Client "", "230 Login successful."
LVL 19

Expert Comment

ID: 13416293
OK, I'm a little confused over which machine has which IP address, but I'm fairly certain that the log you're showing is only (from what I can see) showing the connection from the localhost.  Get a terminal up on the linux box with "tail -f /var/log/vsftpsd.log" (presuming I've got the correct path) running.  Now make a connection from localhost using a different terminal - you'll see the connection come through the log.  Attempt the same from the XP machine - see if you get the connection in the log at all.

Author Comment

ID: 13416328
Barthax: Hi
when i rang the tali -f /var/log/vsftpd.log and using another terminal i got a client[] blah blah messages comming through the terminal. WHen i went to the winxp client i got client[] blah blah messages coming through the terminal. I therefore asssume i am getting the messages from the winxp machine.
LVL 19

Accepted Solution

Barthax earned 2000 total points
ID: 13416383
Yeah, you are in that case.  Good that it's ruled out the bindings. :)

OK, on the XP machine try telnetting to the ftp port on the other machine:

telnet <ipaddress> 21

See if you can log in that way.  You'll need to type in the commands in their entirety - just copy what you've seen for the working connection from the vsftp log...

USER anonymous

^^ example.

If your ls gets results this way, then I expect it will be down to the difference in user name - from what you've described, the wsftp client is sending "anonymous@" instead of "anonymous".  It's very likely the two are being treated differently.

Author Comment

ID: 13417113
Barthax: I am giving the point to your. I have worked out the proxy sitting on our Windows Network is causing the problem.
LVL 19

Expert Comment

ID: 13418049
Ah, yeah, that'll be problematic - if your client is redirecting the connection elsewhere first. :)

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question