Article delegate-en/2543 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] Still problems with POST and SSL-Tunnel
12 Feb 2004 12:06:16 GMT p54eqbdyi-m6tzzubb6vvr.ml@ml.delegate.org




Hi Yutaka,

we have done some more test during the last days. We tested your example to
prove everything is patched correctly - it worked. Now we turned on more logging
and found the following sequence in the client-delegate:

02/12 11:48:03.61 [14303] 125+0: gethostbyname(-) unknown[0.00s]
02/12 11:48:03.62 [14302] 125+0: PATH: https://-:443!lsux-hal01.ls-d.de:8081!it-
black01.ls-d.de:2168!anonymous@it-black01.ls-d.de;1076582883
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [CONNECT][www.gmx.n
et:443]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [User-Agent:][Mozil
la/4.0]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [Host:][www.gmx.net
]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [Content-Length:][0
]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [Proxy-Connection:]
[Keep-Alive]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [Pragma:][no-cache]
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: C-S: [][]
02/12 11:48:03.63 [14302] 125+0: Proxy: host=it-black01.ls-d.de; User-Agent: Moz
illa/4.0 (compatible; MSIE 6.0; Windows NT 4.0; L&S Gate GmbH); DIRECT
02/12 11:48:03.63 [14302] 125+0: HCKA:[0] Keep-Alive; host=it-black01.ls-d.de; (
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; L&S Gate GmbH))
02/12 11:48:03.64 [14302] 125+0: StickyServer done [httpCONNECT] 1 req / 0 conn
/ 1076582883 sec
02/12 11:48:03.65 [14302] 125+0: SSLtunnel connected [13] {217.111.41.40:8088 <-
 217.111.41.40:47459} [0.009s]
02/12 11:48:03.65 [14302] 125+0: SSL-TUNNEL<< www.gmx.net:443
02/12 11:48:03.69 [14302] 125+0: SSL-TUNNEL>> HTTP/1.1 200 Connection establishe
d.^M
02/12 11:48:03.69 [14302] 125+0: SSL-TUNNEL>> ^M
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: S-C: HTTP/1.1 200 Connec
tion established.
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: S-C: Proxy-Connection: c
lose
## SSLway[14303](it-black01.ls-d.de) STARTTLS prologue: S-C HTTP-CONNECT DONE
02/12 11:48:03.70 [14306] 125+0: -- Fork(FTOSV): 14302 -> 14306
02/12 11:48:03.70 [14306] 125+0: #### execFilter[FTOSV] CFI
02/12 11:48:03.70 [14306] 125+0: ## CFI/https ##
02/12 11:48:03.79 [14302] 125+0: relays(2) start: timeout=600000msec
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[51][CONTENT_LENGTH
=0][CONTENT_LENGTH=5949]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[52][CONTENT_TYPE=t
ext/html][CONTENT_TYPE=multipart/form-data; boundary=---------------------------
7d43924401d0]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[57][HTTP_CONTENT_L
ENGTH=0][HTTP_CONTENT_LENGTH=5949]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[65][REMOTE_IDENT=-
][REMOTE_IDENT=]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[67][REQUEST_METHOD
=CONNECT][REQUEST_METHOD=]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[68][REQUEST_URL=ww
w.gmx.net:443][REQUEST_URL=]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[71][SERVER_NAME=21
7.111.41.40][SERVER_NAME=www.gmx.net]
02/12 11:48:03.80 [14306] 125+0: addEnvf:overwrite sysgem_CGI[72][SERVER_PORT=80
81][SERVER_PORT=80]
02/12 11:48:03.80 [14306] 125+0: systemFilter[with buffered input = 3471]: /tmp/
echocat.cgi
02/12 11:48:03.80 [14306] 125+0: simple_relayf [14 -> 6] = 3471
02/12 11:49:00.86 [14302] 125+0: relays[0]: [9->EOF] 0(0i+0o)
02/12 11:49:00.86 [14302] 125+0: relays[0]: [9->18] 6574 bytes / 2
02/12 11:49:00.86 [14302] 125+0: relays[1]: [13->9] 0 bytes / 0
02/12 11:49:00.86 [14302] 125+0/1: HCKA:[1] closed -- C:CONNECT method
02/12 11:49:00.86 [14302] 125+0/1: disconnected [34] -@[212.6.206.49]it-black01.
ls-d.de:2168 (57.262s)(0)
02/12 11:49:00.86 [14306] 125+0: simple_relay [14 -> 6] = (2478 -> 2478) / 1
02/12 11:49:00.87 [14306] 125+0: simple_relayf [3 -> 1] = 4095
02/12 11:49:00.87 [14306] 125+0: simple_relay [3 -> 1] = (1854 -> 1854) / 1
02/12 11:49:00.88 [14306] 125+0: ## CFI-getBody[5949/5949] EOF=0xFF
02/12 11:49:00.88 [14306] 125+0: Content-Length: 5949 -> 5949 (6636 - 687)
02/12 11:49:00.98 [14302] 125+0/1: CFI process [14306] done (1/2 AFT-1)
02/12 11:49:02.06 [14302] 125+0/1: CFI process remaining (1/2)
02/12 11:55:03.67 [13608] 125+0: DeleGate SERVER EXITS: caught SIGTERM [15]
02/12 11:55:03.67 [13608] 125+0: Killpg(13608,15)

on the master:

02/12 11:48:03.64 [14304] 125+0: -- Fork(OnetimeServer): 13606 -> 14304
02/12 11:48:03.64 [14304] 125+0: (0) accepted [37] -@[217.111.41.40]lsux-hal01.l
s-d.de:47459 (0.007s)(1)
02/12 11:48:03.64 [14304] 125+0: PATH: https://-:443!lsux-hal01.ls-d.de:8088!lsu
x-hal01.ls-d.de:47459!anonymous@lsux-hal01.ls-d.de;1076582883
02/12 11:48:03.65 [14304] 125+0: Proxy: host=lsux-hal01.ls-d.de; User-Agent: ; D
IRECT
02/12 11:48:03.65 [14304] 125+0: StickyServer done [httpCONNECT] 1 req / 0 conn
/ 1076582883 sec
02/12 11:48:03.66 [14304] 125+0: ConnectToServer connected [9] {213.165.65.100:4
43 <- 217.111.41.40:47460} [0.009s]
02/12 11:48:03.66 [14305] 125+0: -- Fork(FSV): 14304 -> 14305
02/12 11:48:03.66 [14305] 125+0: #### execFilter[FSV] /home/ammaramm/delegate/li
b/sslway -cert /home/ammaramm/delegate/lib/server-cert.pem -key /home/ammaramm/d
elegate/lib/server-key.pem  -CApath /etc/ssl/certs -Vrfy
## SSLway[14305](lsux-hal01.ls-d.de) depth=1/-1 ok=1 0:"ok" /C=ZA/ST=Western Cap
e/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawt
e Server CA/Email=server-certs@thawte..
## SSLway[14305](lsux-hal01.ls-d.de) depth=0/-1 ok=1 0:"ok" /C=DE/ST=Bavaria/L=M
unich/O=GMX GmbH/CN=www.gmx.net
## SSLway[14305](lsux-hal01.ls-d.de) server's cert. = **subject<</C=DE/ST=Bavari
a/L=Munich/O=GMX GmbH/CN=www.gmx.net>> **issuer<</C=ZA/ST=Western Cape/L=Cape To
wn/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA
/Email=server-certs@thawte..>>
02/12 11:48:13.67 [14304] 125+0: relays(2) start: timeout=600000msec
02/12 11:49:00.91 [14304] 125+0: relays[0]: [37->EOF] 0(0i+0o)
02/12 11:49:00.91 [14304] 125+0: relays[0]: [37->9] 6636 bytes / 2
02/12 11:49:00.91 [14304] 125+0: relays[1]: [9->37] 0 bytes / 0
02/12 11:49:01.18 [14304] 125+0/1: disconnected [37] -@[217.111.41.40]lsux-hal01
.ls-d.de:47459 (57.544s)(0)
02/12 11:49:02.38 [14304] 125+0/1: CFI process remaining (1/1)
02/12 11:55:03.67 [13606] 125+0: DeleGate SERVER EXITS: caught SIGTERM [15]
02/12 11:55:03.67 [13606] 125+0: Killpg(13606,15)

After 6 Minutes waitung we stopped delegate. As before everything is fine, as
long as a Header-Filter is invoked instead of  CGI-Filter. As far as we
understand the logs, it seems that the attached file (5949 Bytes plus Header) is
 transmitted to gmx, but there is no answer.

Do you have an idea, what might go wrong?

Many thanks from Germany


Peter and Ammar



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