Article delegate-en/93 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]
[Reference:<_A92@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problems with sslway using a proxy
14 Sep 1998 13:03:21 GMT ysato@etl.go.jp (Yutaka Sato 佐藤豊)


Hi Piero,

In message <_A92@delegate-en.ML_>
on 09/14/98(19:17:46)
you "Piero Berritta" <plqaabdyi-rn3efjjgkilr.ml@ml.delegate.org> wrote:
 |Client side:
 |delegated -P21 FSV="sslway -co" SERVER=ftp://ftp_server_name:8022
 |PROXY=proxy_name:8021
 |
 |Proxy
 |delegated -P8021 FSV="sslway -co" FCL="sslway -ac -cert certficate.pem"
 |SERVER=ftp
...
 |The very strange thing is that dumping both client and server channel, data
 |are not encrypted, even if the sslway initialize perfectly. Sslway starts

I suppose the key point is "MODE XDC", which enables transmission of
data on control channel (which is encrypted by SSLway in your case).
If MODE XDC is enabled, you will see a line in the log of client side
DeleGate like:

  ... --- I'm clientWithXDC

To make DeleGate use this mode, a server side DeleGate must show

  220-extended FTP [MODE XDC]

in its opening message.  The following is a quick hack for it.

*** ../dist/delegate5.6.6/src/ftp.c	Wed Aug 19 15:40:42 1998
--- ftp.c	Mon Sep 14 21:57:30 1998
***************
*** 865,870 ****
--- 865,871 ----
  
   fprintf(tc,"220- %s PROXY-FTP server (DeleGate %s) ready.\r\n",
  	myhost,DELEGATE_ver());
+  fprintf(tc,"%s\r\n",XDC_OPENING);
   fprintf(tc,"220--  @ @  \r\n");
   fprintf(tc,"220-- ( - ) { %s }\r\n",DELEGATE_version());
   fprintf(tc,"220- You can connect to a SERVER by `user' command:\r\n");


I'm not sure if the above patch is enough to solve your case with
cascaded FTP-DeleGate with SSLway.  But it is necessary anyway.

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_

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