Article delegate-en/3465 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] MLSD vs. LIST when proxying
16 Aug 2006 14:26:56 GMT Steffen Kaiser <p44eqbdyi-bfsye325gr5r.ml@ml.delegate.org>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have a Delegate FTP proxy forwarding requests to a Delegate master.
Both DeleGate/9.2.3-pre12 .

I connect to the proxy anonymously, then issue:


cd //server
dir



using ncftp I get this result (note the last lines)

08/16 16:17:04.23 [7068] 1+1/13/5: PASV [B][127,0,0,1,136,99] >> 227 
Entering Passive Mode (127,0,0,1,136,99).^M
08/16 16:17:04.23 [7072] 2+1/6/6: ftp_conndata: connected 
127.0.0.1:34912->localhost/127.0.0.1:34915 [14](0.0)
08/16 16:17:04.23 [7072] 2+1/6/6: -- with PASV
08/16 16:17:04.23 [7072] 2+1/6/6: PORT [10,20,10,63,129,9] >> 200 PORT 
command successful [translated to PASV by DeleGate].^M
08/16 16:17:04.23 [7072] 2+1/7/7: [0.00,-1][FTP/HTTP cache-NONE] 
/var/spool/delegate/cache/ftp/ftp//.-_-./MLSD::
08/16 16:17:04.23 [7072] 2+1/7/7: FTP-CACHE: MLSD [] = 
[/var/spool/delegate/cache/ftp/ftp//.-_-./MLSD::][]:0
08/16 16:17:04.23 [7068] 1+1/14/6: [0.00,-1][FTP/HTTP cache-NONE] 
/var/spool/delegate/cache/ftp/ftp//.-_-./MLSD::
08/16 16:17:04.23 [7068] 1+1/14/6: FTP-CACHE: MLSD [] = 
[/var/spool/delegate/cache/ftp/ftp//.-_-./MLSD::][]:0
08/16 16:17:04.23 [7068] 1+1/14/6: #### close data connection because of 
error.
08/16 16:17:04.23 [7072] 2+1/7/7: #### close data connection because of 
error.

There is no MLSD file in the directory.

using the stock ftp client I get:

08/16 16:16:32.29 [7068] 1+1/6/6: [0.00,-1][FTP/HTTP cache-NONE] 
/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::
08/16 16:16:32.29 [7068] 1+1/6/6: FTP-CACHE: LIST [] = 
[/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::][]:0
08/16 16:16:32.31 [7068] 1+1/6/6: CACHE: created 
/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::#CREATING
08/16 16:16:32.31 [7068] 1+1/6/6: FTP-CACHE: LIST [] = 
[/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::][/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::#CREATING]:8374a88
08/16 16:16:32.31 [7068] 1+1/6/6: -- PASVserv to XDCclnt
08/16 16:16:32.31 [7068] 1+1/6/6: --- XDC/BASE64 data_relay SERVER (RECV).
08/16 16:16:32.33 [7068] 1+1/6/6: CACHE: got = [583] 
/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::
08/16 16:16:32.33 [7068] 1+1/6/6: FTP-CACHE: written=1 583 bytes 
[/var/spool/delegate/cache/ftp/ftp//.-_-./LIST::]
08/16 16:16:57.11 [7068] 1+1/6/6: ClosedOnTimeout(1): 
time=1155737817/1155737814 ppid=7051/7051 pid=7068/7068

The LIST file is present.

The server in question is wu-ftpd 2.6.2-3woody4

Actually, I have the same problem with any other server I try to connect 
to, e.g. ftp.tu-chemnitz.de and ftp.leo.org. I can connect with ncftp to a 
Delegate origin FTP server though.


For me it looks like, NcFtp is auto-negotiating the existance of MLSD, but 
the final server is not supporting the extension?

Bye,

- -- 

Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE4ysbqkPRRG/0bFIRAvaxAJ9HyFTf+0ZfYzmwgSFxotGceACyBQCbBJuZ
d2JPfYoXETiBw2tDiTtw4QQ=
=TZzd
-----END PGP SIGNATURE-----

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V