VSFTPD anonymous login

Jarkko Elfving jarelf at kotiportti.fi
Sat Nov 12 10:24:51 UTC 2005


Hello

I have an weird problem in VSFTPD anonymous connection. How in earth I
fix this error message: 425 Failed to establish connection.

System status before that seems to be ok. Here is part of the log
(client's IP addres is removed by improving the security):

### LAST ANONYMOUS LOGIN ATTEMPT ###
FTP command: Client "xxx.xxx.xxx.xxx", "USER anonymous"
OK LOGIN: Client "xxx.xxx.xxx.xxx", anon password "<no_password>"
FTP response: Client "xxx.xxx.xxx.xxx", "230 Login successful."
FTP command: Client "xxx.xxx.xxx.xxx", "SYST"
FTP response: Client "xxx.xxx.xxx.xxx", "215 UNIX Type: L8"
FTP command: Client "xxx.xxx.xxx.xxx", "PWD"
FTP response: Client "xxx.xxx.xxx.xxx", "257 "/""
FTP command: Client "xxx.xxx.xxx.xxx", "TYPE I"
FTP response: Client "xxx.xxx.xxx.xxx", "200 Switching to Binary mode."
FTP command: Client "xxx.xxx.xxx.xxx", "PASV"
FTP response: Client "xxx.xxx.xxx.xxx", "227 Entering Passive Mode
(212,246,43,111,53,41)"
"SIZE /pub/hello.txt"
FTP response: Client "xxx.xxx.xxx.xxx", "213 207"
FTP command: Client "xxx.xxx.xxx.xxx", "MDTM /pub/hello.txt"
FTP response: Client "xxx.xxx.xxx.xxx", "213 20051106144056"
FTP command: Client "xxx.xxx.xxx.xxx", "RETR /pub/hello.txt"
FTP response: Client "xxx.xxx.xxx.xxx", "425 Failed to establish
connection."
FAIL DOWNLOAD: Client "xxx.xxx.xxx.xxx", "/pub/hello.txt", 0.00Kbyte/sec
### END ###

And what I'm trying to do here:
I've started the Apache server, which reads from the SQL database an URL
(whis is in this case a ftp based), and creates the url-link to that
address. Everything else goes fine, but this is not working. Why?

I'm trying to find answers from Google and some issue was modifying the
SELinux targeting policies. I've read the vsftpd.conf manuals quite long
time now and not figuring out where is the problem.

I've done an directory permissions to ftp and that was not the answer.
I've checked out that the firewall settings are correct - they are.

What am I missing in here?


Regards,
Jarkko Elfving




More information about the fedora-list mailing list