Article delegate-en/4620 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] odst.- & proxy issue
05 Nov 2009 11:18:52 GMT NoSFeRaTU <peihqbdyi-p5lznxm62jxr.ml@ml.delegate.org>


When using SERVER="http://odst.-:-/" and PROXY="x.x.x.x:3128" together request
going with ip address, not a domain name. This cause troubles on virtual hosting servers.

For example for http://delegate.org/delegate/Manual.htm request which sended to upstream proxy is http://210.155.199.28/delegate/Manual.htm
Log:

11/05 13:31:12.69 [17047] 0+0: --INITIALIZATION DONE-09110513+0300: 9.9.1 on FreeBSD/6.4-RELEASE-p7--
11/05 13:31:12.72 [17047] 0+0: logMMap: 28649000 1332
11/05 13:31:12.72 [17047] 0+0: LOG-Socketpair[18,19]
11/05 13:31:16.13 [17057] 1+0: -- Fork(SequentialServer): 17047 -> 17057
11/05 13:31:16.18 [17057] 1+1: ##NAT clif/ganjanetwork.pgnet:3128 odst/c199028.ppp.asahi-net.or.jp:80 clnt/n100.p100.internet.gnet:44766
11/05 13:31:16.18 [17057] 1+1: (0) accepted [40] -@[10.1.100.100]n100.p100.internet.gnet:44766 ##NAT210.155.199.28/c199028.ppp.asahi-net.or.jp:80 (0.056s)(1)
11/05 13:31:16.19 [17057] 1+1: ##NAT (3) redirect: 210.155.199.28:80 (odst.-:80)
11/05 13:31:16.19 [17057] 1+1: ##NAT mapped port 80 <- 80 80 [0](3)
11/05 13:31:16.21 [17057] 1+1: IGNORE request: Keep-Alive: 300^M
11/05 13:31:16.21 [17057] 1+1: Proxy: host=n100.p100.internet.gnet; User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox; DIRECT
11/05 13:31:16.21 [17057] 1+1: HCKA:[0] keep-alive; host=n100.p100.internet.gnet; (User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox)
11/05 13:31:16.21 [17057] 1+1: REQUEST - GET /delegate/Manual.htm HTTP/1.1^M
11/05 13:31:16.21 [17057] 1+1: PATH> http://delegate.org:80!c199028.ppp.asahi-net.or.jp:80!n100.p100.internet.gnet:44766!anonymous@n100.p100.internet.gnet;1257417076
11/05 13:31:16.21 [17057] 1+1: REQUEST = [http://delegate.org:80/] GET /delegate/Manual.htm HTTP/1.1^M
11/05 13:31:16.21 [17057] 1+1: ##NAT forwarding by ORIGDST [210.155.199.28:80] <= [c199028.ppp.asahi-net.or.jp:80]
11/05 13:31:16.21 [17057] 1+1: ##NAT mapped port 80 <- 80 80 [0](3)
11/05 13:31:16.21 [17057] 1+1: ## hostIFto 10.1.100.100 < 10.1.100.1 (ff000000)
11/05 13:31:16.21 [17057] 1+1: ROUTE: http://x.x.x.x:3128//
11/05 13:31:16.31 [17057] 1+1: ConnectToServer connected [12] {y.y.y.y:3128 <- z.z.z.z:63431} [0.079s]
11/05 13:31:16.31 [17057] 1+1: willSTLS_SV: ServerFlags=0
11/05 13:31:16.31 [17057] 1+1: HTTP => (delegate.org:80) GET /delegate/Manual.htm HTTP/1.1^M
11/05 13:31:16.31 [17057] 1+1: #PROXY REQUEST = GET http://210.155.199.28/delegate/Manual.htm HTTP/1.1^M
11/05 13:31:17.02 [17057] 1+1: E-U: Unknown: n100.p100.internet.gnet:44766 => GET /delegate/Manual.htm HTTP/1.1 [http://210.155.199.28:80]
11/05 13:31:17.02 [17057] 1+1: HTTP error request: GET http://210.155.199.28/delegate/Manual.htm HTTP/1.1^M
11/05 13:31:17.02 [17057] 1+1: HTTP error status: 404 Not found
11/05 13:31:17.03 [17057] 1+1: #HT11 SERVER ver[HTTP/1.1] conn[close]

FreeBSD 6.4 with ipfw if it matters.

PS. Are there any way to transparent also SSL connections?

--
 WBR, NoSFeRaTU.

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