0
I try to retrieve a folder from a FTP server which I connect to through a SOCKS5 proxy (ssh -D). When configuring Firefox (v20, v22) to use the SOCKS5 proxy I can without problems explore the ftp server's content. However what I need to download is a folder with a lot of content and firefox user interface only provide single file downloading, which is painful in this situation. So I try to connect to this ftp server with filezilla using the passive mode and everything works fine until filezilla issues the MLSD command, at this point the ftp server does not answer.
Status: Connecting to XXX through proxy
Status: Connecting to 127.0.0.1:9999...
Status: Connection with proxy established, performing handshake...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.4a Server (TiNT) [::X]
Command: USER anonymous
Response: 331 Authentification anonyme OK, envoyez votre adresse de courriel complète comme mot de passe
Command: PASS **************
Response: 230 Accès anonyme autorisé, application des restrictions
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: LANG fr-FR.UTF-8*;fr-FR
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: SITE MKDIR
Response: SITE RMDIR
Response: SITE UTIME
Response: SITE SYMLINK
Response: REST STREAM
Response: SITE COPY
Response: SIZE
Response: 211 Fin
Command: OPTS UTF8 ON
Response: 200 UTF-8 activé
Status: Connected
Status: Retrieving directory listing...
Command: CWD Y
Response: 250 Commande CWD exécutée avec succès
Command: PWD
Response: 257 Y" est le répertoire courant
Command: TYPE I
Response: 200 Type paramétré à I
Command: PASV
Response: 227 Entering Passive Mode (X,224,74).
Command: MLSD
Status: Connecting to 127.0.0.1:9999...
Status: Connection with proxy established, performing handshake...
Error: Connection timed out
Error: Failed to retrieve directory listing
Sniffing firefox with wireshark told me firefox uses LIST instead of MLSD as first command but I could not find a dedicated ftp client sniffer giving me a clean list of commands used by firefox and I don't know what to look at in wireshark.
Any ideas on how to make filezilla work? On what to look in wireshark to try to understand the difference of behavior of firefox and filezilla?
(I am not an administrator of the ftp server so I cannot see its logs/change its configuration. This ftp server is on the same sub-network than the machine I ssh -D into.