Article delegate-en/2391 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] Problem using SOCKS-Server with a MASTER and UDP
03 Sep 2003 12:17:15 GMT Torsten Gesang <pk4eqbdyi-tqqtzdznazfr.ml@ml.delegate.org>
SZM Studios


Hi!

I encountered the following problem with delegate 8.5.9:

When using delegate as SOCKS-Server with a MASTER, there is a client (aka 
"bloomberg") that uses UDP for it's communication over SOCKS. When this 
client tries to connect, the requests aren't forwarded to the master. I 
verified the functionality of the proxy-chain with yahoomessenger and several 
other clients. Is it a delegate's Problem or is the client using the proxy 
wrong?

Here's the startup line:
-----------------
DGROOT="/export/proxy/delegated"
BINARY="$DGROOT/bin/delegated8.5.9"
MASTER="proxy-ext:2424" 
AllowSrcBloomberg="172.20.94.254,172.20.76.252"
AllowDstBloomberg="*"
$BINARY DGROOT=$DGROOT -Psocksproxy:13080 OWNER=root SERVER=socks  \
	MASTER=$MASTER PERMIT="*:$AllowDstBloomberg:$AllowSrcBloomberg" \
	LOGDIR='log[date+/Old/%Y/%m/%d]'

Here's the logfile
------------
***** (failing client) ******
09/03 13:25:27.94 [20024] 1+29: (0) accepted [36] 
-@[172.20.94.254]c402071.belgium.fhm.de:8277 (0.006s)(1)
09/03 13:25:27.94 [20024] 1+29: PATH: 
socks://-:1080!app-proxy:13080!c402071.belgium.fhm.de:8277!anonymous@c402071.belgium.fhm.de;1062588327
09/03 13:25:27.94 [20024] 1+29: [SocksV5-serv] VER[5] NMETHODS[1] [0][0]
09/03 13:25:27.94 [20024] 1+29: [SocksV5-serv] VER[5] CMD[3] ATYP[1] 
0.0.0.0:48129
09/03 13:25:27.94 [20024] 1+29: server_open(VSocket,0.0.0.0:48129,listen=-1)
09/03 13:25:27.94 [20024] 1+29: server_open: 0.0.0.0:48129
09/03 13:25:27.94 [20024] 1+29: server_open(VSocket,0.0.0.0:48129) BOUND
09/03 13:25:27.94 [20024] 1+29: VSocket BIND/SocksV5 0.0.0.0:48129 *:* 
protocol=udp,noreuseaddr = 13
09/03 13:25:27.94 [20024] 1+29: VSocket Q/SocksV5 172.21.5.12:13080 
172.20.94.254:8277  = 36
09/03 13:25:27.94 [20024] 1+29: [SocksV5-serv] resp 0 [172.21.5.12:48129]
09/03 13:25:27.94 [20024] 1+29: VSocket Q/SocksV5 172.21.5.12:13080 
172.20.94.254:8277  = 36
09/03 13:25:27.94 [20024] 1+29: UDP/SocksV5 C-S client set < 
172.20.94.254:4812909/03 13:25:27.94 [20024] 1+29: UDP/SocksV5 C-S 18 ATYP[1] 
> 206.156.53.131:48129
09/03 13:25:35.47 [20024] 1+29: UDP/SocksV5 C-S 18 ATYP[1] > 
206.156.53.131:48129
09/03 13:25:42.99 [20024] 1+29: UDP/SocksV5 C-S 18 ATYP[1] > 
206.156.53.131:48129
09/03 13:25:50.51 [20024] 1+29: UDP/SocksV5 GOT CONTROL
09/03 13:25:50.51 [20024] 1+29: UDP/SocksV5 C-S:24 S-C:0
09/03 13:25:50.51 [20024] 1+29: disconnected [36] 
-@[172.20.94.254]c402071.belgium.fhm.de:8277 (22.583s)(0)

**** (successful client for comparison) ******

09/03 13:57:07.31 [27237] 4+1: (0) accepted [32] 
-@[172.20.76.252]c301216.belgium.fhm.de:3563 (0.009s)(1)
09/03 13:57:07.31 [27237] 4+1: PATH: 
socks://-:1080!app-proxy:13080!c301216.belgium.fhm.de:3563!anonymous@c301216.belgium.fhm.de;1062590227
09/03 13:57:07.32 [27237] 4+1: [SocksV5-serv] VER[5] NMETHODS[1] [0][0]
09/03 13:57:07.38 [27237] 4+1: [SocksV5-serv] VER[5] CMD[1] ATYP[3] 
scs.msg.yahoo.com:5050
09/03 13:57:07.39 [27237] 4+1: MasterOpen connected [13] {proxy-ext:2424 <-
172.21.5.13:41405} [0.001s]
09/03 13:57:07.41 [27237] 4+1: MASTER[1] says(1): DeleGate-HELLO 8.5.9 
<19625.1062590235@prag>^M
09/03 13:57:07.41 [27237] 4+1: forwarding to [13] 
delegate://proxy-ext.fhm.de:2424
09/03 13:57:07.60 [27237] 4+1: MASTER[1] says(2): 200 OK: good^M
09/03 13:57:07.60 [27237] 4+1: VSocket CNCT/SocksV5 172.21.5.13:41405 
scs.msg.yahoo.com:5050  = 13
09/03 13:57:07.60 [27237] 4+1: [SocksV5-serv] resp 0 [172.21.5.13:41405]
09/03 13:57:07.60 [27237] 4+1: relays(2) start: timeout=600000msec

Regards
Torsten

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