Article delegate-en/2702 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] FTP/tls tunneling
07 Jul 2004 14:43:47 GMT "cdwriter" <pryfabdyi-rcwevebroulr.ml@ml.delegate.org>


Hello,
I was wondering if you could help me with a DeleGate problem.

In short, I am attempting to connect through DeleGate to a glFTPd FTP
server (http://www.glftpd.com/), with these objectives:

1) Both SSL control *and data* connection;
2) Support for PORT commands, since the server is NATted and does not
   support PASV (if I understand correctly, DeleGate takes care of this
   by translating to PASV).

Here are my results so far:

./delegated -v -P35000 CMAP="sslway -st:FSV:ftp" CMAP="sslway -st:FCL:ftp-data" SERVER=ftp

I manage to login correctly, but with only SSL control, not SSL data, as shown by the
following glFTPd custom command, SITE SWHO:

200- | PiD     User        Ident/IP                        Online     Idle       SSL
200- |-------+-----------+-------------------------------+----------+----------+-----------|
200- | 15378 | myname    | *@41.8.11.107                 | 0m 9s    | 0m 3s    | ctrl

(When it works correctly, glFTPd displays "ctrl&data" in the last column).

My problem is that I am not able to *list* now, since the server is configured to strictly
allow only 100% SSL (ctrl&data SSL) clients to issue commands like ls.

In thanking you for your time and patience, I'll paste some more logs if they might help.

Regards.

## SSLway[4409](localhost) STARTTLS got binary [0] from client
07/07 16:20:44.57 [4403] 4+0/6/6: ## viaCFI [mkPASV]: fileno(ts)=15 ToSX=16
07/07 16:20:44.57 [4403] 4+0/6/6: ftp_conndata: connected
                 127.0.0.1:47942->localhost/127.0.0.1:47955 [18]
07/07 16:20:44.57 [4403] 4+0/6/6: PORT [127,0,0,1,187,82] >> 200 PORT command
                 successful [translated to PASV by DeleGate].^M
07/07 16:20:44.61 [4403] 4+0/7/7: FTP-CACHE: LIST [] = [][]:0
07/07 16:20:44.61 [4403] 4+0/7/7: ftp_conndata: connected
                 127.0.0.1:34999->localhost/127.0.0.1:47954 [19]
07/07 16:20:44.61 [4403] 4+0/7/7: DATA 127.0.0.1:47955 -> 127.0.0.1:47942 ..
                 127.0.0.1:34999 -> 127.0.0.1:47954
07/07 16:20:44.61 [4410] 4+0/7/7: -- Fork(FCL): 4403 -> 4410
07/07 16:20:44.61 [4410] 4+0/7/7: #### execFilter[FCL] sslway -st




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