[BusyBox 0000636]: ftp does not use correct paths AND ftp does not work with servers that do not support the ALLO cmd

bugs at busybox.net bugs at busybox.net
Thu Feb 14 19:36:23 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=636 
====================================================================== 
Reported By:                bakaitee
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   636
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             01-10-2006 15:35 PST
Last Modified:              02-14-2008 11:36 PST
====================================================================== 
Summary:                    ftp does not use correct paths AND ftp does not work
with servers that do not support the ALLO cmd
Description: 
Some ftp servers (vsftpd) do not support the ALLO cmd, while all servers
handle a ftp STOR without a preceeding ALLO cmd.  So the ALLO cmd seems to
be a hinderance and might as well be taken out.

Also, ftp does not handle the local and remote pathnames correctly, and
sometimes use the basename of one of them as the basename of the other!! 


A patch file that fixes both these issues is attached.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 02-14-08 11:36  
---------------------------------------------------------------------- 
vsftpd does support ALLO. The bugs in ftpput were fixed. Just tested it
today.
Captured by tcpflow:

# cat 127.000.000.001.44473-127.000.000.001.00021
USER anonymous
TYPE I
PASV
ALLO 8927
STOR /incoming/README
QUIT

# cat 127.000.000.001.00021-127.000.000.001.44473
220 (vsFTPd 2.0.5)
230 Login successful.
200 Switching to Binary mode.
227 Entering Passive Mode (127,0,0,1,122,212)
202 ALLO command ignored.
150 Ok to send data.
226 File receive OK.
221 Goodbye. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-10-06 15:35  bakaitee       New Issue                                    
01-10-06 15:35  bakaitee       Status                   new => assigned     
01-10-06 15:35  bakaitee       Assigned To               => BusyBox         
01-10-06 15:35  bakaitee       File Added: busybox-1.00_ftpput.patch            
       
02-14-08 11:36  vda            Status                   assigned => closed  
02-14-08 11:36  vda            Note Added: 0004764                          
======================================================================




More information about the busybox-cvs mailing list