Red Hat Bugzilla – Bug 134541
vsftpd with ipv6 refuses ipv4 "PORT" mode
Last modified: 2007-11-30 17:10:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
Requesting a "PORT" mode data transfer results in commands being
aborted with "425 Failed to establish connection".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.login with ftp, password <email>
3.ensure passive mode is off
Actual Results: 200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
Expected Results: directory listing should be reproduced
The problem appears to be that the "ftpsecure" part of vsftpd is
allocating an IPv6 socket, and handing that socket to the standard
part of vsftpd. This then tries to connect() the IPv6 socket using an
AF_INET address rather than AF_INET6 address, which the kernel rejects.
Please note that I'm getting a number of bugs reports about this from
people using the service, and even one case where they can't access
the site due to a combination of this problem and their local setup
preventing passive mode.
vsftpd 2.0.1-2 also exhibits this problem. (fc-2.91 version)
Likewise the current FC3 package, vsftpd-2.0.1-5.
Clearing my vsftpd bug queue backlog... working on it...
Should be fixed here:
I've put rpms of this prerelease on my personal web page, they should
be found here.
Chris, thanks a lot ..
vsftpd-2.0.3 is now in devel tree.