Article delegate-en/4514 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:<_A4513@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Error Setting up Delegate to do FTPS -> FTPS Proxying
24 Jul 2009 00:55:22 GMT "Reggie Jackson" <puaiqbdyi-uzuopjcg6whr.ml@ml.delegate.org>


When I switched to the FSV command I am now getting the output:
07/23 18:54:07.07 [6925] 1+0: -- Fork(OnetimeServer): 6924 -> 6925
07/23 19:54:07.07 [6925] 1+0: (0) accepted [35]
-@[10.100.2.2]10.100.2.2:26266 (0.003s)(1)
07/23 19:54:07.07 [6925] 1+0: PATH:
ftps://-:990!10.100.2.12:990!10.100.2.2:26266!anonymous@10.100.2.2;12483
96847
07/23 19:54:07.08 [6925] 1+0: FTP server ftp://-:990/
07/23 19:54:07.08 [6925] 1+0: *** / => ftps://ftp.ezpaycenters.net/ ***
07/23 19:54:07.08 [6925] 1+0: MOUNTED-TO: //ftp.ezpaycenters.net/
07/23 19:54:07.08 [6925] 1+0: -- putBuiltinHTML: empty
ftp-banner-postfix.dhtml
07/23 19:54:07.08 [6925] 1+0: bind_insock(18,10.100.2.12,0) = 0, errno=0
07/23 19:54:07.08 [6925] 1+0: ### IDENT CONNECT(10.100.2.2:113)
TIMEOUT(1000ms) (111)
07/23 19:54:07.08 [6925] 1+0: #### no authorization required
07/23 19:54:07.08 [6925] 1+0/1: Unknown request:

I can also see that I am not getting a good handshake with my client, I
am using filezilla.

My output from my client is: 
19:53:29	Status:	Connecting to 10.100.2.12:990...
19:53:29	Status:	Connection established, initializing TLS...
19:53:29	Trace:	CTlsSocket::Handshake()
19:53:29	Trace:	CTlsSocket::OnSend()
19:53:29	Trace:	CTlsSocket::OnRead()
19:53:29	Trace:	CTlsSocket::Handshake()
19:53:29	Trace:	CTlsSocket::OnRead()
19:53:29	Trace:	CTlsSocket::Handshake()
19:53:29	Trace:	CTlsSocket::OnRead()
19:53:29	Trace:	CTlsSocket::Handshake()
19:53:49	Error:	Connection timed out
19:53:49	Trace:	CControlSocket::DoClose(2050)
19:53:49	Trace:	CFtpControlSocket::ResetOperation(2114)
19:53:49	Trace:	CControlSocket::ResetOperation(2114)
19:53:49	Error:	Could not connect to server

Here is the command i used to start delegate:
./delegated.pre STLS=fsv -P990 SERVER=ftps  MOUNT="/*
ftps://ftp.ezpaycenters.net */" ADMINPASS=<removed> -v

Thank you,

Reggie Jackson
Network Administrator
DCAS Software Solutions
000-000-0006
reggiej@dcas..
http://www.dcas.net


-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Thursday, July 23, 2009 7:07 PM
To: feedback@delegate.org
Cc: Reggie Jackson
Subject: Re: [DeleGate-En] Error Setting up Delegate to do FTPS -> FTPS
Proxying

Hi,

In message <_A4512@delegate-en.ML_> on
07/24/09(01:14:27)
you "Reggie Jackson" <puaiqbdyi-uzuopjcg6whr.ml@ml.delegate.org> wrote:
 |I have updated to the 9.9.4-pre11 code and am trying it out. 
 |
 |the command I am using is: ./delegated.pre STLS=fcl -P990 SERVER=ftps
 |MOUNT="/* ftps://ftp.ezpaycenters.net */" ADMINPASS=<removed> -v
 |
 |I am able to connect, but when it tries to login to the remote server
 |it's going over as FTP (port 21) from what I understand of the output.

 |
 |Can you confirm the command above is correct, or if the command should
 |be different please let me know?
...
 |07/23 11:07:56.20 [6809] 1+0/8: ConnectToServer connected [22]
 |{12.230.146.203:990 <- 172.16.3.21:58597} [0.006s]
 |07/23 11:07:56.20 [6809] 1+0/8: willSTLS_SV: ServerFlags=20000
 |07/23 11:08:16.43 [6809] 1+0/8: ## SSLway FCL S-C:1034/8 C-S:75/8
CS-EOS
 |07/23 11:08:16.43 [6809] 1+0/8: ## left connected but dead [23] <=
 |sslway_dl.c:2838

The log shows that DeleGate connected to the server port :990 (FTPS)
which is expected to be in SSL implicitly.  So you need to add the
following parameter to start SSL unconditionally:

  STLS=fsv

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

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