ftpd: EPSV and SIZE support. Tested to work on IPv6 too.
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 9 Mar 2009 13:01:08 +0000 (13:01 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 9 Mar 2009 13:01:08 +0000 (13:01 -0000)
commit9b2fbda53853ae651349f97bcf86c891cc137f92
tree23dd0fe4e01328899ba94e348a206ecb13ca37ac
parent57a3b174989c7778fb255f716e090d5be807b9b7
ftpd: EPSV and SIZE support. Tested to work on IPv6 too.
libbb: str2sockaddr shuld accept [IPv6] addr without port -
 wget 'ftp://[::1]/file' needs that to work.

function                                             old     new   delta
bind_for_passive_mode                                  -     129    +129
get_nport                                              -      30     +30
ftpd_main                                           1731    1760     +29
str2sockaddr                                         412     431     +19
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 207/0)             Total: 207 bytes
   text    data     bss     dec     hex filename
 808568     476    7864  816908   c770c busybox_old
 808804     476    7864  817144   c77f8 busybox_unstripped
libbb/xconnect.c
networking/ftpd.c