Article delegate-en/1191 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 through SOCKS Delegate
07 Jun 2001 05:49:23 GMT ppmcabdyi-vss2yswdir3r.ml@ml.delegate.org


More detailed description of problem.
I want: Client (IE) for ftp connection use socks to connect to Delegate on
port 1080.
Socks Delegate connect to Master Delegate on port 8128( I read about such
configuration in documentation)
Master Delegate must reach destination ftp server through ftp protocol.
 
Problem: Master Delegate use tcprelay protocol to reach destination ftp
server.
My configurations:
Master: 
+=/etc/delegated/commonconf
CACHE=no
RELIABLE=.
FTPCONF=nopasv:sv
 
Socks:
+=/etc/delegated/commonconf
ROUTE=delegate://172.20.62.100:8128/-_-*:*
 
Commonconf:
ADMIN=vadikm@hsbk..kz
OWNER=nobody/nogroup
RESOLV=file,dns,sys
TIMEOUT=shutout:5
RELIABLE="172.16.0.0/13"
 
Log from Socks:
06/07 10:09:40.97 [1017] 1+0: -- Fork(SequentialServer): 1005 -> 1017
06/07 10:09:40.98 [1017] 1+1: (0) accepted [49]
-@[172.20.32.1]172.20.32.1:2645 (0.009s)(9)
06/07 10:09:40.98 [1017] 1+1: PATH:
socks://-:1080!*****.hsbk.kz:1080!172.20.32.1:2645!anonymous@172.20.32.1;991
883380
06/07 10:09:40.98 [1017] 1+1: [SocksV4-serv] 1 ver[4] com[1/CONNECT]
port[21] host[64.12.168.249][ftpnscp.newaol.com] user[VadikM]
06/07 10:09:40.99 [1017] 1+1: ROUTE: delegate://172.20.62.100:8128/
06/07 10:09:40.99 [1017] 1+1: Forward connected [18] {172.20.62.100:8128 <-
172.20.62.100:32794} [0.001s]
06/07 10:09:40.99 [1017] 1+1: MASTER[-1] says(1): DeleGate-HELLO 7.3.1
<1018.991883380@******.hsbk.kz>^M
06/07 10:09:40.99 [1017] 1+1: forwarding to [18]
delegate://******.hsbk.kz:8128
06/07 10:09:41.35 [1017] 1+1: MASTER[-1] says(2): 200 OK: good^M
06/07 10:09:41.35 [1017] 1+1: VSocket CNCT/SocksV4 172.20.62.100:32794
64.12.168.249:21  = 18
06/07 10:09:41.35 [1017] 1+1: relays(2) start: timeout=600000msec
06/07 10:09:43.91 [1019] 2+0: -- Fork(SequentialServer): 1005 -> 1019
06/07 10:09:43.91 [1019] 2+1: (1) accepted [47]
-@[172.20.32.1]172.20.32.1:2646 (0.009s)(10)
06/07 10:09:43.91 [1019] 2+1: PATH:
socks://-:1080!******.hsbk.kz:1080!172.20.32.1:2646!anonymous@172.20.32.1;99
1883383
06/07 10:09:43.92 [1019] 2+1: [SocksV4-serv] 1 ver[4] com[1/CONNECT]
port[64693] host[64.12.168.249][ftpnscp.newaol.com] user[VadikM]
06/07 10:09:43.92 [1019] 2+1: ROUTE: delegate://172.20.62.100:8128/
06/07 10:09:43.92 [1019] 2+1: Forward connected [18] {172.20.62.100:8128 <-
172.20.62.100:32796} [0.004s]
06/07 10:09:43.92 [1019] 2+1: MASTER[-1] says(1): DeleGate-HELLO 7.3.1
<1020.991883383@******.hsbk.kz>^M
06/07 10:09:43.92 [1019] 2+1: forwarding to [18]
delegate://******.hsbk.kz:8128
06/07 10:10:13.92 [1019] 2+1: MASTER[-1] says(2): 200 OK: good^M
06/07 10:10:13.92 [1019] 2+1: VSocket CNCT/SocksV4 172.20.62.100:32796
64.12.168.249:64693  = 18
06/07 10:10:13.92 [1019] 2+1: relays(2) start: timeout=600000msec
06/07 10:10:13.92 [1019] 2+1: relays[1]: [18->EOF] 0(0i+0o)
06/07 10:10:13.92 [1019] 2+1: relays[0]: [47->18] 0 bytes / 0
06/07 10:10:13.92 [1019] 2+1: relays[1]: [18->47] 0 bytes / 1
06/07 10:10:13.92 [1019] 2+1: disconnected [47]
-@[172.20.32.1]172.20.32.1:2646 (30.017s)(9)
06/07 10:10:43.95 [1019] 2+1: StickyServer done [acceptFailed] 1 req / 1
conn / 60 sec
06/07 10:10:44.01 [1005] 2+0: AcceptByMain: polling timeout = 0 / 15000
06/07 10:18:14.68 [1017] 1+1: relays[1]: [18->EOF] 0(0i+0o)
06/07 10:18:14.68 [1017] 1+1: relays[0]: [49->18] 76 bytes / 7
06/07 10:18:14.68 [1017] 1+1: relays[1]: [18->49] 405 bytes / 10
06/07 10:18:14.68 [1017] 1+1: disconnected [49]
-@[172.20.32.1]172.20.32.1:2645 (513.711s)(8)
06/07 10:18:14.68 [1017] 1+1: StickyServer done [lifeSpan1] 1 req / 1 conn /
514 sec
 
Log from master:
06/07 10:09:40.99 [1018] 1+0: -- Fork(SequentialServer): 1001 -> 1018
06/07 10:09:40.99 [1018] 1+1: (0) accepted [32]
-@[172.20.62.100]******.hsbk.kz:32794 (0.004s)(1)
06/07 10:09:40.99 [1018] 1+1: CLIENT says: DeleGate-HELLO 7.3.1 []
06/07 10:09:40.99 [1018] 1+1: PATH:
tcprelay://64.12.168.249:21!******.hsbk.kz:8128!******.hsbk.kz:1080!172.20.3
2.1:2645!anonymous@172.20.32.1;991883380
06/07 10:09:40.99 [1018] 1+1: ConnectToServer:
DFLT=tcprelay://64.12.168.249:21 REAL=://:0
06/07 10:09:41.35 [1018] 1+1: ConnectToServer connected [20]
{64.12.168.249:21 <- 172.20.62.100:32795} [0.354s]
06/07 10:09:41.35 [1018] 1+1: RETURNED ACK = 200 OK: good^M
06/07 10:09:41.35 [1018] 1+1: relays(2) start: timeout=600000msec
06/07 10:09:43.92 [1020] 2+0: -- Fork(SequentialServer): 1001 -> 1020
06/07 10:09:43.92 [1020] 2+1: (1) accepted [30]
-@[172.20.62.100]******.hsbk.kz:32796 (0.003s)(2)
06/07 10:09:43.92 [1020] 2+1: CLIENT says: DeleGate-HELLO 7.3.1 []
06/07 10:09:43.92 [1020] 2+1: PATH:
tcprelay://64.12.168.249:64693!******.hsbk.kz:8128!******.hsbk.kz:1080!172.2
0.32.1:2646!anonymous@172.20.32.1;991883383
06/07 10:09:43.92 [1020] 2+1: ConnectToServer:
DFLT=tcprelay://64.12.168.249:64693 REAL=://:0
06/07 10:10:13.92 [1020] 2+1: *** CON_TIMEOUT: 29.99/30s ->
64.12.168.249:64693
06/07 10:10:13.92 [1020] 2+1: [20] ConnectToServer connect failed
64.12.168.249:64693 [29.99s] errno=110
06/07 10:10:13.92 [1020] 2+1: ERROR: cannot connect to
tcprelay://64.12.168.249:64693 - -1
06/07 10:10:13.92 [1020] 2+1: E-C: Can't connect: ******.hsbk.kz:32796 =>
tcprelay://64.12.168.249:64693 (timeout)
06/07 10:10:13.92 [1020] 2+1: RETURNED ACK = 200 OK: good^M
06/07 10:10:13.92 [1020] 2+1: disconnected [30]
-@[172.20.62.100]******.hsbk.kz:32796 (30.000s)(1)
06/07 10:10:13.92 [1020] 2+1: StickyServer done
[nonStickyProtocol(tcprelay:tcprelay:tcprelay)] 1 req / 1 conn / 30 sec
06/07 10:10:13.98 [1001] 2+0: AcceptByMain: polling timeout = -10 / 15000
 
I will very appreciate if You help me.
 
Vadim Mironov,  Almaty, Kazakhstan
Design department, Halyk Savings Bank of Kazakhstan.
 


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