vsftpd 2.2.0 - FTP clients (PASV) not working after upgrade from 2.1.0

Richard Toohey richardtoohey at paradise.net.nz
Thu Aug 20 09:57:20 UTC 2009


Hi, all.  Hopefully this is the right list; apologies if not.

Wondering if anyone else has seen this or if something peculiar to my  
set-up.

Server is i386 FreeBSD 7.2, ports upgraded with portmaster.

vsftpd upgraded from 2.0.5 (or .6) to 2.1.0 no problems.

Upgraded to 2.2.0 and ftp clients have started to fail - first  
noticed on Windows/Internet Explorer, but also OpenBSD/Firefox 3.0.x.

If I try a command line line, no such issues (from the logs, the  
command line clients are using EPSV.)

Firefox 3.5 on Mac gives me 500 OOPS: priv_sock_get_cmd

Google gave me this:  http://www.mail-archive.com/debian-bugs- 
dist at lists.debian.org/msg673507.html

I crank up the logging with log_ftp_protocol=YES and I see the same  
behaviour as reported to the Debian list:

Thu Aug 20 21:10:04 2009 [pid 73929] FTP command: Client "XXX. 
72.27.XXX", "USER xxxxxxx"
Thu Aug 20 21:10:04 2009 [pid 73929] [xxxxxxx] FTP response: Client  
"XXX.72.27.XXX", "331 Please specify the password."
Thu Aug 20 21:10:04 2009 [pid 73929] [xxxxxxx] FTP command: Client  
"XXX.72.27.XXX", "PASS <password>"
Thu Aug 20 21:10:04 2009 [pid 73928] [xxxxxxx] OK LOGIN: Client "XXX. 
72.27.XXX"
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP response: Client  
"XXX.72.27.XXX", "230 Login successful."
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP command: Client  
"XXX.72.27.XXX", "SYST"
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP response: Client  
"XXX.72.27.XXX", "215 UNIX Type: L8"
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP command: Client  
"XXX.72.27.XXX", "PWD"
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP response: Client  
"XXX.72.27.XXX", "257 "/usr/home/xxxxxxx""
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP command: Client  
"XXX.72.27.XXX", "TYPE I"
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP response: Client  
"XXX.72.27.XXX", "200 Switching to Binary mode."
Thu Aug 20 21:10:04 2009 [pid 73933] [xxxxxxx] FTP command: Client  
"XXX.72.27.XXX", "PASV"

... and the log ends there (if I use an FTP command line client,  
there's an EPSV rather than a PASV, and things continue.)

I've gone back to 2.1.0 in the meantime.

Any advice, cluesticks, etc., welcomed.  I appreciate there may be a  
lot more information required, but a "yes, seen this" or a "no, all  
good here, it's something else in your configuration" will help a lot  
at this point.

Thanks.


More information about the freebsd-ports mailing list