Article delegate-en/3540 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] HTTP to HTTPS conversion problem
09 Oct 2006 04:55:11 GMT "Lito Kusnadi" <pzugqbdyi-ktwgyordbmlr.ml@ml.delegate.org>


Hi,

I managed to compile the delegate sourcecode in Linux Centos 4.3.
I used a config file to run delegate as follow:

-P8000
SERVER=http
-v
MOUNT="/* https://online.toll.com.au/*"
STLS=fsv:https
HOSTLIST=.localnet:192.168.2.0/24,192.168.3.0/24
ADMIN=myemail@yahoo..

I opened a browser and type:
http://delegate-ip-address:8000/trackandtrace/b2b and I expect to be
forwarded to https://online.tolls.com.au/trackandtrace/b2b. For some
reason, the connection is terminated and the delegated process often
hangs after several connection attempt.

I wonder if anyone can help. Thank you.

Here's the verbose output:


[root@router ~]# delegated +=DELEGATE/dg.conf
10/09 14:22:13.07 [30852] 0+0: default netmask 127.0.0.1/. = FFFFFF00
10/09 14:22:13.07 [30852] 0+0: [1] HOSLIST=.localnet overwrite
10/09 14:22:13.28 [30852] 0+0: {R} SOA got
[168.192.in-addr.arpa][prisoner.iana.org][hostmaster.root-servers.org]
2002040800 1800 900 604800 604800
10/09 14:22:13.46 [30852] 0+0: ... testing resolver[SYS] with 'WWW.DeleGate.ORG'
10/09 14:22:13.46 [30852] 0+0: ... you can suppress this test by RES_WAIT=0
10/09 14:22:13.46 [30852] 0+0: ... gethostname(router.local)
10/09 14:22:13.46 [30852] 0+0: configuring default RESOLV ...
10/09 14:22:13.46 [30852] 0+0: ... gethostname()='router.local'
10/09 14:22:13.46 [30852] 0+0: ... SYS: router.local -> 127.0.0.1
10/09 14:22:13.47 [30852] 0+0: ... DNS: 127.0.0.1 -> localhost
10/09 14:22:13.47 [30852] 0+0: ... DNS available
10/09 14:22:13.47 [30852] 0+0: ... NIS not available (no default domain)
10/09 14:22:13.47 [30852] 0+0: ... export RES_ORDER=CFD
10/09 14:22:13.47 [30852] 0+0: export RESOLV=cache,file,dns (set by default)
10/09 14:22:13.47 [30852] 0+0: --INITIALIZATION START: 9.2.4 on
Linux/2.6.9-34.EL--
10/09 14:22:13.47 [30852] 0+0: BINSHELL=/bin/sh
10/09 14:22:13.47 [30852] 0+0: scan STLS and FILTERS before beDaemon()...
10/09 14:22:13.47 [30852] 0+0: STLS -> CMAP="sslway:FSV:starttls//{https}"
10/09 14:22:13.47 [30852] 0+0: --- [z] 8476CA8 libz.so
10/09 14:22:13.48 [30852] 0+0: ---- [z] loaded 8 syms, unknown=0, already=0
10/09 14:22:13.48 [30852] 0+0: #### gzip/gunzip = dynamically linked
10/09 14:22:13.48 [30852] 0+0: --- [ssl] 0 libssl.so
10/09 14:22:13.48 [30852] 0+0: --- [ssl] 0 libssl.dylib
10/09 14:22:13.48 [30852] 0+0: --- [ssl] 0 libssl.so.1
10/09 14:22:13.48 [30852] 0+0: --- [ssl] 0 libssl.so.0.9.7
10/09 14:22:13.48 [30852] 0+0: --- [ssl] 0 ssl
10/09 14:22:13.48 [30852] 0+0: ## cannot load ssl
10/09 14:22:13.48 [30852] 0+0: --- [crypto] 0 libcrypto.so
10/09 14:22:13.48 [30852] 0+0: --- [crypto] 0 libcrypto.dylib
10/09 14:22:13.49 [30852] 0+0: --- [crypto] 0 libcrypto.so.1
10/09 14:22:13.49 [30852] 0+0: --- [crypto] 0 libcrypto.so.0.9.7
10/09 14:22:13.49 [30852] 0+0: --- [crypto] 0 crypto
10/09 14:22:13.49 [30852] 0+0: ## cannot load crypto
10/09 14:22:13.50 [30852] 0+0: server_open(delegate,:8000,listen=20)
10/09 14:22:13.50 [30852] 0+0: server_open(delegate,:8000) BOUND
10/09 14:22:13.50 [30852] 0+0: DGROOT=/var/spool/delegate-nobody^M
10/09 14:22:13.50 [30852] 0+0: <DeleGate/9.2.4> [30852] -P8000 READY^M
<DeleGate/9.2.4> [30852] -P8000 READY
Config: Linux/2.6.9-34.EL; FileSize-Bits=32/64,32/32,32
DGROOT=/var/spool/delegate-nobody
ADMIN=myemail@yahoo..
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial
Science and Technology (AIST)
10/09 14:22:13.50 [30852] 0+0: PORT= 8000/8 (31,64)
10/09 14:22:13.50 [30852] 0+0: OWNER=nobody =>
OWNER=nobody/nobody(nobody/nobody)
10/09 14:22:13.51 [30852] 0+0: [1] HOSLIST=.localnet overwrite
10/09 14:22:13.51 [30852] 0+0: STLS -> CMAP="sslway:FSV:starttls//{https}"
10/09 14:22:13.51 [30852] 0+0: REMITTABLE = http,https/{80,443},gopher,ftp,wais
10/09 14:22:13.52 [30852] 0+0: ADMIN=myemail@yahoo.. protocol=http(specialist)
10/09 14:22:13.53 [30852] 0+0: #### CACHE DISABLED #### Cache
directory seems not exist: /var/spool/delegate-nobody/cache
10/09 14:22:13.53 [30852] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default
10/09 14:22:13.53 [30852] 0+0: MOUNT[1]X[4] /-/* =
forbidden,from=!.RELIABLE,default
10/09 14:22:13.53 [30852] 0+0: MOUNT[2]X[0] /-* = default
10/09 14:22:13.53 [30852] 0+0: MOUNT[3]X[1] /=* = default
10/09 14:22:13.53 [30852] 0+0: MOUNT[4]X[5] /favicon.ico
builtin:icons/ysato/default.ico
default,direction=fo,onerror=404,expires=15m
10/09 14:22:13.53 [30852] 0+0: MOUNT[5]X[2] /* https://online.toll.com.au/*
10/09 14:22:13.53 [30852] 0+0: #### stack size limit = A00000 (0000000X)
10/09 14:22:13.53 [30852] 0+0: Stay open PIDFILE for accept() lock[fd=10]
10/09 14:22:13.53 [30852] 0+0: env[21]
LIBPATH=.;/root;/var/spool/delegate-nobody/lib;/usr/local/sbin;/var/spool/delegate-nobody/etc
10/09 14:22:13.54 [30852] 0+0: env[23] RESOLV=cache,file,dns
10/09 14:22:13.54 [30852] 0+0: ext[0] SERVER=http
10/09 14:22:13.54 [30852] 0+0: ext[1] MOUNT=/* https://online.toll.com.au/*
10/09 14:22:13.54 [30852] 0+0: ext[2] STLS=fsv:https
10/09 14:22:13.54 [30852] 0+0: ext[3]
HOSTLIST=.localnet:192.168.2.0/24,192.168.3.0/24
10/09 14:22:13.54 [30852] 0+0: ext[4] ADMIN=myemail@yahoo..
10/09 14:22:13.54 [30852] 0+0: DELEGATE_Modified[1]: 4529ce75 000000000X
10/09 14:22:13.54 [30852] 0+0: --INITIALIZATION DONE: 9.2.4 on
Linux/2.6.9-34.EL--
10/09 14:22:20.20 [30853] 1+0: -- Fork(SequentialServer): 30852 -> 30853
10/09 14:22:20.20 [30853] 1+1: (0) accepted [17]
-@[192.168.3.72]192.168.3.72:3161 (0.008s)(1)
10/09 14:22:20.21 [30853] 1+1: Proxy: host=192.168.3.72; User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322); DIRECT
10/09 14:22:20.21 [30853] 1+1: HCKA:[0] Keep-Alive; host=192.168.3.72;
(User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322))
10/09 14:22:20.21 [30853] 1+1: REQUEST - GET /trackandtrace/b2b HTTP/1.1^M
10/09 14:22:20.21 [30853] 1+1: *** /trackandtrace/b2b =>
https://online.toll.com.au/trackandtrace/b2b ***
10/09 14:22:20.21 [30853] 1+1: REQUEST +M
https://online.toll.com.au/trackandtrace/b2b HTTP/1.1^M
10/09 14:22:20.22 [30853] 1+1: *** /trackandtrace/b2b =>
https://online.toll.com.au/trackandtrace/b2b ***
10/09 14:22:20.22 [30853] 1+1: PATH>
https://online.toll.com.au:443!192.168.2.22:8000!192.168.3.72:3161!anonymous@192.168.3.72;1160367740
10/09 14:22:20.22 [30853] 1+1: REQUEST =
[https://online.toll.com.au:443/] GET /trackandtrace/b2b HTTP/1.1^M
10/09 14:22:20.22 [30853] 1+1: XHost: (0,0,1) online.toll.com.au <=
192.168.2.22:8000
10/09 14:22:20.25 [30853] 1+1: ConnectToServer connected [11]
{203.11.81.104:443 <- 192.168.2.22:1551} [0.029s]
10/09 14:22:20.25 [30854] 1+1: -- Fork(FSV): 30853 -> 30854
10/09 14:22:20.26 [30853] 1+1: willSTLS_SV: ServerFlags=330
10/09 14:22:20.26 [30853] 1+1: HTTP => (online.toll.com.au:443) GET
/trackandtrace/b2b HTTP/1.1^M
10/09 14:22:20.26 [30853] 1+1: ## got SIGPIPE [1] in HTTP:
10/09 14:22:20.26 [30853] 1+1: HTTP relay_response: EOF at start
10/09 14:22:20.26 [30853] 1+1: #HT11 EOF from the client (1)
10/09 14:22:20.26 [30853] 1+1: #HT11 close svsokcs[16,18]
10/09 14:22:20.26 [30853] 1+1/1: HCKA:[1] closed -- ?
10/09 14:22:20.26 [30853] 1+1/1: WaitShutdown 1/0 xpid=30854
errno=0/10 0 8 0 0.000
10/09 14:22:20.27 [30853] 1+1/1: disconnected [17]
-@[192.168.3.72]192.168.3.72:3161 (0.069s)(0)
10/09 14:22:20.27 [30853] 1+1/1: CFI process none (0/1)
192.168.3.72 - - [09/Oct/2006:14:22:20 +1000] "GET
https://online.toll.com.au/trackandtrace/b2b HTTP/1.1" 500 0
0*0.000+0.000:P:0?
10/09 14:22:20.27 [30853] 1+1: StickyServer done
[nonStickyProtocol(http:https:https)] 1 req / 1 conn / 0 sec




-- 
Kindly Regards,
Lito Kusnadi

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