Comment 2 for bug 130682

Revision history for this message
Dwain Blazej (dwain-blazej) wrote :

I'm using Ubuntu 9.10 with vsftpd 2.2.0-1ubuntu1
The explanation Carsten Menke does not apply to my situation.

With:

pasv_min_port=65000
pasv_max_port=65535

I connected with lftp (version 3.6.1-1). Looking in vsftpd.log (I put "x" where IP numbers go) I see:

Wed Jan 13 16:48:38 2010 [pid 32649] [tester] FTP response: Client "x.x.x.x", "227 Entering Passive Mode (x,x,x,x,117,178)."
Wed Jan 13 16:48:38 2010 [pid 32649] [tester] FTP command: Client "x.x.x.x", "LIST"

As noted in http://www.rhinosoft.com/respcode.asp?resp=227&Prod=s
this means the vsftpd *server asked* to be connected to on port 30130; hence Carsten Menke's explanation about a router does not apply to me.

Taking a quick glance at my vsftpd.log, vsftpd seems to have a hard coded pasv_min_port of 30000. As a work around I'll assume pasv_min_port=29952 (256 * 117) for now.

If your vsftpd.log contains a value lower than 117 in "227 Entering Passive Mode (x,x,x,x,117,y)" please leave a comment, it may help in debugging this.