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

[DeleGate-En] Re: Regarding using delegate as a proxy to access auth-tls ftp servers
17 Oct 2004 15:40:32 GMT "Jonas Larsen" <pzyfabdyi-t6uzp52wrj3r.ml@ml.delegate.org>
SCT Transport


Hi again i tried using the standard windows ftp commandprompt client instaid 
of flashfxp trying to simplify the setup.

The output is pretty much the same if i try to force it to use START TLS, it 
says its wrong version or something, i have seen that error before when 
trying to connect to ssl irc with the wrong settings, i dunno how to fix it 
though.

Anyway first the log from the ftp client window:
ftp> open nope.no-ip.info 35000
Connected to nope.no-ip.info.
220- nope.no-ip.info PROXY-FTP server (DeleGate/8.9.6) ready.
220-   @ @
220-  ( - ) { DeleGate/8.9.6 (September 15, 2004) }
220- AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165
220- Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
220- Copyright (c) 2001-2004 National Institute of Advanced Industrial 
Science and Technology (AIS
T)
220- WWW: http://www.delegate.org/delegate/
220- --
220- You can connect to a SERVER by `user' command:
220-    ftp> user username@SERVER
220- or by `cd' command (after logged in as an anonymous user):
220-    ftp> cd //SERVER
220- Cache is enabled by default and can be disabled by `cd .' (toggle)
220- This (proxy) service is maintained by 'root@no-ip..'
220-extended FTP [MODE XDC][XDC/BASE64]
220
User (nope.no-ip.info:(none)): E-bola
331 Password required for E-bola.
Password:
230- User E-bola logged in.
230  Now you can select a FTP SERVER by cd //SERVER
ftp> user E-bola@1..:22122
331-- USER for E-bola@1..
220- ftp server ready!
331--  @ @
331  \( - )/ -- { connected to `193.40.1.2' }
Password:
230- User E-bola logged in.
230  Now you can select a FTP SERVER by cd //SERVER
ftp>

As u can see i get the login prompt of the ftp server without any problems. 
But when i type in password it does nothing. but just throws me back on the 
prompt fo the proxy.

> Could you show me the log with the following parameter ?
>
> CMAP="sslway -St:FSV:ftp" CMAP="sslway:FSV:ftp-data"
>


And now i will paste the log fro the server:

[root@episode src]# ./delegated -v -P35000 PERMIT="*:*:*" 
CMAP="sslway -St:FSV:ftp" CMAP="sslway:FSV:ftp-data" SERVER=ftp
10/17 17:15:16.84 [733] 0+0: PORT> -P35000
10/17 17:15:16.84 [733] 0+0: configuring default RESOLV ...
10/17 17:15:16.84 [733] 0+0: ... SYS: nope.no-ip.info -> 213.112.11.13
10/17 17:15:16.85 [733] 0+0: ... DNS: 213.112.11.13 -> 
c-70d5.00-0000-00X.cust.bredbandsbolaget.se
10/17 17:15:16.85 [733] 0+0: ... DNS available
10/17 17:15:16.85 [733] 0+0: ... NIS not available (no default domain)
10/17 17:15:16.85 [733] 0+0: ... export RES_ORDER=CFD
10/17 17:15:16.85 [733] 0+0: export RESOLV=cache,file,dns (set by default)
10/17 17:15:16.85 [733] 0+0: --INITIALIZATION START: 8.9.6 on 
Linux/2.4.20-31.9--
10/17 17:15:16.85 [733] 0+0: BINSHELL=/bin/sh
10/17 17:15:16.85 [733] 0+0: server_open(delegate,:35000,listen=20)
10/17 17:15:16.85 [733] 0+0: server_open(delegate,:35000) BOUND
10/17 17:15:16.85 [733] 0+0: DGROOT=/var/spool/delegate-nobody^M
10/17 17:15:16.85 [733] 0+0: <DeleGate/8.9.6> [733] -P35000 READY^M
<DeleGate/8.9.6> [733] -P35000 READY
DGROOT=/var/spool/delegate-nobody
ADMIN=root@no-ip..
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2004 National Institute of Advanced Industrial Science 
and Technology (AIST)
10/17 17:15:16.85 [733] 0+0: PORT= 35000/0 (000,00X)
10/17 17:15:16.85 [733] 0+0: OWNER=nobody => 
OWNER=nobody/nobody(nobody/nobody)
10/17 17:15:16.85 [733] 0+0: REMITTABLE = ftp,ftps
10/17 17:15:16.85 [733] 0+0: PATH: gzip -> /bin/gzip
10/17 17:15:16.85 [733] 0+0: #### gzip = [/bin/gzip]gzip
10/17 17:15:16.85 [733] 0+0: #### gunzip = [/bin/gzip]gzip -d
10/17 17:15:16.85 [733] 0+0: ADMIN=root@no-ip.. 
protocol=ftp(specialist)
-delegated[733]- WARNING! ADMIN="your_mail_address" should be specified.
-delegated[733]- INFO: using ADMIN=root@no-ip.. given at compile 
time.
10/17 17:15:16.85 [733] 0+0: #### CACHE DISABLED #### Cache directory seems 
not exist: /var/spool/delegate-nobody/cache
10/17 17:15:16.85 [733] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default
10/17 17:15:16.85 [733] 0+0: MOUNT[1]X[3] /-/* = 
forbidden,from=!.RELIABLE,default
10/17 17:15:16.85 [733] 0+0: MOUNT[2]X[0] /-* = default
10/17 17:15:16.85 [733] 0+0: MOUNT[3]X[1] /=* = default
10/17 17:15:16.85 [733] 0+0: MOUNT[4]=[4] //* = default
10/17 17:15:16.85 [733] 0+0: env[25] 
LIBPATH=.;/root/delegate8.9.6/src;/var/spool/delegate-nobody/lib;.;/var/spool/delegate-nobody/etc
10/17 17:15:16.85 [733] 0+0: env[27] RESOLV=cache,file,dns
10/17 17:15:16.85 [733] 0+0: arg[3] PERMIT=*:*:*
10/17 17:15:16.85 [733] 0+0: arg[4] CMAP=sslway -St:FSV:ftp
10/17 17:15:16.85 [733] 0+0: arg[5] CMAP=sslway:FSV:ftp-data
10/17 17:15:16.85 [733] 0+0: arg[6] SERVER=ftp
10/17 17:15:16.85 [733] 0+0: DELEGATE_Modified[0]: 4172dfd6
10/17 17:15:16.85 [733] 0+0: --INITIALIZATION DONE: 8.9.6 on 
Linux/2.4.20-31.9--
10/17 17:15:30.72 [734] 1+0: -- Fork(OnetimeServer): 733 -> 734
10/17 17:15:30.73 [734] 1+0: (0) accepted 
[22] -@[212.242.167.19]port160.ds2-vbr.adsl.cybercity.dk:10534 (0.002s)(1)
10/17 17:15:30.73 [734] 1+0: PATH: 
ftp://-:21!nope.no-ip.info:35000!port160.ds2-vbr.adsl.cybercity.dk:10534!anonymous@port160.ds2-vbr.adsl.cybercity.dk;1098047730
10/17 17:15:30.74 [734] 1+0: FTP server ftp://-:21/
10/17 17:15:30.74 [734] 1+0: bind_insock(14,213.112.11.13,0) = 0, errno=0
10/17 17:15:30.81 [734] 1+0: #### no authorization required
10/17 17:15:47.93 [734] 1+0: gethostbyname(-) unknown[0.00s]
10/17 17:15:47.93 [734] 1+0: ## hostIFto 212.242.167.19 < 213.112.11.13 
(ffffff00)
10/17 17:15:47.93 [734] 1+0: FTP LOGIN FROM 
port160.ds2-vbr.adsl.cybercity.dk TO E-bola@1..
10/17 17:15:47.93 [734] 1+0: PATH: 
ftp://193.40.1.2:22122!nope.no-ip.info:35000!port160.ds2-vbr.adsl.cybercity.dk:10534!anonymous@port160.ds2-vbr.adsl.cybercity.dk;1098047730
10/17 17:15:48.02 [734] 1+0: FTP server ftp://193.40.1.2:22122/
10/17 17:15:48.02 [734] 1+0: FTPHOPS: 1 [8/22 - -1/-1]
10/17 17:15:48.02 [734] 1+0: ConnectToServer: DFLT=ftp://193.40.1.2:22122 
REAL=://:0
10/17 17:15:48.07 [734] 1+0: ConnectToServer connected [15] 
{193.40.1.2:22122 <- 213.112.11.13:50990} [0.049s]
10/17 17:15:48.07 [734] 1+0: LIBPATH: sslway -> 
/root/delegate8.9.6/src/sslway
10/17 17:15:48.07 [736] 1+0: -- Fork(FSV): 734 -> 736
10/17 17:15:48.07 [736] 1+0: #### execFilter[FSV] 
[/root/delegate8.9.6/src/sslway]sslway -St
## SSLway[736](port160.ds2-vbr.adsl.cybercity.dk) STARTTLS to server -- SMTP
## SSLway[736](port160.ds2-vbr.adsl.cybercity.dk) STARTTLS to server -- 500 
'STARTTLS': Command not understood.
## SSLway[736](port160.ds2-vbr.adsl.cybercity.dk) connect failed
736:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:s23_clnt.c:475:
10/17 17:15:48.38 [734] 1+0: FTP-SERVER: 421 server response timedout^M
10/17 17:15:48.38 [734] 1+0: service_ftp: exit PollIns=1[sv=1,cl=0] 
timeout=900
10/17 17:15:49.38 [734] 1+0: fgets(1024) -- IO_TIMEOUT(1)

DeleGate[734] got SIGTERM(15) for server=733
10/17 17:15:56.78 [733] 1+0: Left children: 1
10/17 17:15:56.78 [733] 1+0: FINISH.
[root@episode src]#


Should be noted that the server reports the timeout and SSL errors at the 
bottom even before i finnish typing in the password for the ftp server. 


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