Article delegate-en/1366 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]
[Reference:<_A1365@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Proxy HTTP problem with authenticated data FTP connection
16 Oct 2001 09:53:18 GMT pjucqbdyi-p5lznxiu4zxr.ml@ml.delegate.org
CANAL+ Technologies


> Could you show me the detailed log of DeleGate on the access?
> I expected it would be like enclosed one but it was not in
> your case.

Hello Yukata,

Here are all my logs when trying to retrieve the file index_v9.htm.

From 8021.http log file :
pc4243 - - [16/Oct/2001:11:22:16 +0100] "GET ftp://user:passwd@mysite/html/index_v9.htm HTTP/1.0" 404 0 0*0.000+0.931:W:0g

From 8021 log file :
10/16 11:22:15.51 [10468] 0+0: dirfopen(/usr/local/delegate/dgroot/act/locks/PORT/8021.0,w+): 15dca8 [14]
10/16 11:22:15.52 [10495] 1+0: -- Fork(SequentialServer): 10468 -> 10495
10/16 11:22:15.52 [10495] 1+1: -- SockHost: [192.168.240.188] proxy-test:8021
10/16 11:22:15.52 [10495] 1+1: *** gethostbyaddr(192.168.244.243): pc4243 / 0.00 secs. has_alias:0
10/16 11:22:15.53 [10495] 1+1: HOSTS[3]=pc4243/192.168.244.243
10/16 11:22:15.53 [10495] 1+1: SPECIALIST: http
10/16 11:22:15.53 [10495] 1+1: #### newRoute[USERIDENT] 0/16
10/16 11:22:15.53 [10495] 1+1: [0] USERIDENT=://:0-_-{}:{}
10/16 11:22:15.53 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/clients/19/192.168.244.243:pc4243,r+): 0 [-1]
10/16 11:22:15.53 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/clients/19/192.168.244.243:pc4243,w+): 15dca8 [14]
10/16 11:22:15.53 [10495] 1+1: (0) accepted [48] -@[192.168.244.243]pc4243:1309 (0.012s)(1)
10/16 11:22:15.53 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/adm/shutout/192.168.244.243,r): 0 [-1]
10/16 11:22:15.53 [10495] 1+1: KeepAlive[48] = 8
10/16 11:22:15.53 [10495] 1+1: execGeneralist->execSpecialist
10/16 11:22:15.53 [10495] 1+1: PATH: http://-:80!proxy-test:8021!pc4243:1309!anonymous@pc4243;1003224135
10/16 11:22:15.53 [10495] 1+1: HTTP Relay_request_head (141 bytes/4 lines)
10/16 11:22:15.53 [10495] 1+1: Proxy: host=pc4243; User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; C+); DIRECT
10/16 11:22:15.53 [10495] 1+1: HCKA:[0] Keep-Alive; host=pc4243; (User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; C+))
10/16 11:22:15.53 [10495] 1+1: HTTP Relay_request done (141 bytes/4 lines)
10/16 11:22:15.53 [10495] 1+1: REQUEST - GET ftp://user:passwd@mysite/html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.53 [10495] 1+1: ImMaster? 0 <http://-:80> <http://mysite:21/>
10/16 11:22:15.53 [10495] 1+1: To another server or proxy, THRU >>> ftp://user:passwd@mysite/html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.53 [10495] 1+1: gethostbyname(mysite).
10/16 11:22:15.53 [10495] 1+1: *** gethostbyname(mysite): mysite / 0.00 secs. has_alias:0
10/16 11:22:15.55 [10495] 1+1: HOSTS[4]=mysite/x.x.x.x
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: mysite += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (CMAP/DST mysite)
10/16 11:22:15.55 [10495] 1+1: [1/4] ADDR MATCH: 192.168.244.243 += 127..0.0.1 ?
10/16 11:22:15.55 [10495] 1+1: [1/4] ==> 0 (CMAP/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: [2/4] ADDR MATCH: 192.168.244.0 += 192.168.240.0 ?
10/16 11:22:15.55 [10495] 1+1: [2/4] ==> 0 (CMAP/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: [3/4] .i (IncomingIF) = 192.168.240.188
10/16 11:22:15.55 [10495] 1+1: [3/4] ADDR MATCH: 192.168.244.0 += 192.168.240.0 ?
10/16 11:22:15.55 [10495] 1+1: [3/4] ==> 0 (CMAP/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: ## hostIFto 192.168.244.243 < 192.168.240.188 (ffffff00)
10/16 11:22:15.55 [10495] 1+1: [4/4] .o (OutgoingIF) = 192.168.240.188 -> 192.168.244.243
10/16 11:22:15.55 [10495] 1+1: [4/4] ADDR MATCH: 192.168.244.0 += 192.168.240.0 ?
10/16 11:22:15.55 [10495] 1+1: [4/4] ==> 0 (CMAP/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: mysite += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (CMAP/DST mysite)
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: pc4243 += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (CMAP/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: REMOTE > GET /html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.55 [10495] 1+1: **** add_input: GET /html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.55 [10495] 1+1: HTTP GateWay > ftp://user:passwd@mysite:21/GET /html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.55 [10495] 1+1: PATH> ftp://mysite:21!proxy-test:8021!pc4243:1309!anonymous@pc4243;1003224135
10/16 11:22:15.55 [10495] 1+1: REQUEST = [ftp://user:passwd@mysite:21/] GET /html/index_v9.htm HTTP/1.0^M
10/16 11:22:15.55 [10495] 1+1: #### newRoute[REACHABLE] 0/16
10/16 11:22:15.55 [10495] 1+1: [0] REACHABLE=://:0-_-{}:{}
10/16 11:22:15.55 [10495] 1+1: #### newRoute[RELIABLE] 0/16
10/16 11:22:15.55 [10495] 1+1: [0] RELIABLE=://:0-_-{}:{}
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: mysite += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (PERMIT/DST mysite)
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: pc4243 += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (PERMIT/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: PERMITTED: ftp://mysite
10/16 11:22:15.55 [10495] 1+1: HCKA:[0] g:gateway for: ftp
10/16 11:22:15.55 [10495] 1+1: XHost: (1,0,0) mysite <= mysite:21
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: mysite += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (PERMIT/DST mysite)
10/16 11:22:15.55 [10495] 1+1: [1/1] REGEXP NAME MATCHING: pc4243 += * ?
10/16 11:22:15.55 [10495] 1+1: [1/1] ==> 1 (PERMIT/SRC pc4243)
10/16 11:22:15.55 [10495] 1+1: PERMITTED: ftp://mysite
10/16 11:22:15.55 [10495] 1+1: tryProxyOnly:NO PROXY/MASTER
10/16 11:22:15.55 [10495] 1+1: FTP/HTTP: GET ftp://mysite:21/html/index_v9.htm HTTP/1.0
10/16 11:22:15.58 [10495] 1+1: authorization user[user] pass[********]
10/16 11:22:15.58 [10495] 1+1: [1/1] REGEXP NAME MATCHING: mysite += * ?
10/16 11:22:15.58 [10495] 1+1: [1/1] ==> 1 (PERMIT/DST mysite)
10/16 11:22:15.58 [10495] 1+1: [1/1] REGEXP NAME MATCHING: pc4243 += * ?
10/16 11:22:15.58 [10495] 1+1: [1/1] ==> 1 (PERMIT/SRC pc4243)
10/16 11:22:15.58 [10495] 1+1: PERMITTED: ftp://mysite
10/16 11:22:15.58 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/servers/cc/ftp-anonymous-mysite-21-0,r+): 0 [-1]
10/16 11:22:15.58 [10495] 1+1: ConnectToServer connect ftp://mysite:21
10/16 11:22:15.66 [10495] 1+1: ConnectToServer connected [14] {x.x.x.x:21 <- proxy-test:48387} [0.076s]
10/16 11:22:15.66 [10495] 1+1: KeepAlive[14] = 8
10/16 11:22:15.66 [10495] 1+1: FTP/HTTP: server opened [14]
10/16 11:22:15.72 [10495] 1+1: FTP-SERVER-SAYS: 220  ^M
10/16 11:22:15.72 [10495] 1+1: I-SAY: USER user^M
10/16 11:22:15.72 [10495] 1+1: I-SAY: PASS ********
10/16 11:22:15.72 [10495] 1+1: I-SAY: TYPE I^M
10/16 11:22:15.72 [10495] 1+1: I-SAY: SYST^M
10/16 11:22:15.72 [10495] 1+1: I-SAY: PWD^M
10/16 11:22:15.80 [10495] 1+1: FTP-SERVER-SAYS: 331 Password required for user.^M
10/16 11:22:15.92 [10495] 1+1: FTP-SERVER-SAYS: 230 User user logged in.^M
10/16 11:22:15.92 [10495] 1+1: FTP-SERVER-SAYS: 200 Type set to I.^M
10/16 11:22:15.92 [10495] 1+1: FTP-SERVER-SAYS: 215 UNIX Type: L8^M
10/16 11:22:15.92 [10495] 1+1: SYST = UNIX Type: L8^M
10/16 11:22:15.92 [10495] 1+1: FTP-SERVER-SAYS: 257 "/html" is current directory.^M
10/16 11:22:15.92 [10495] 1+1: I-SAY: PASV^M
10/16 11:22:16.04 [10495] 1+1: FTP-SERVER-SAYS: 227 Entering Passive Mode (x,x,x,x,128,113).^M
10/16 11:22:16.15 [10495] 1+1: ftp_conndata: connected 192.168.240.188:48386->mysite/x.x.x.x:32881 [16]
10/16 11:22:16.15 [10495] 1+1: KeepAlive[16] = 8
10/16 11:22:16.15 [10495] 1+1: I-SAY: CWD html/index_v9.htm^M
10/16 11:22:16.24 [10495] 1+1: FTP-SERVER-SAYS: 550 html/index_v9.htm: No such file or directory^M
10/16 11:22:16.24 [10495] 1+1: I-SAY: CWD html^M
10/16 11:22:16.31 [10495] 1+1: FTP-SERVER-SAYS: 550 html: No such file or directory^M
10/16 11:22:16.31 [10495] 1+1: I-SAY: RETR html/index_v9.htm^M
10/16 11:22:16.39 [10495] 1+1: FTP-SERVER-SAYS: 550 html/index_v9.htm: No such file or directory^M
10/16 11:22:16.39 [10495] 1+1: FTP/HTTP: negotiation with the server failed^M
10/16 11:22:16.39 [10495] 1+1: E-U: Unknown: pc4243:1309 => GET ftp://mysite21/html/index_v9.htm HTTP/1.0
10/16 11:22:16.39 [10495] 1+1: ####LS cannot open /usr/local/delegate/dgroot/act/delay/19/192.168.244.243:pc4243
10/16 11:22:16.39 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/errors/unknown/19/192.168.244.243:pc4243,r+): 15dd08 [16]
10/16 11:22:16.48 [10495] 1+1/1: HCKA:[1] closed -- g:gateway for: ftp
10/16 11:22:16.48 [10495] 1+1/1: LINGER: [48] 30 8{128,30}
10/16 11:22:16.49 [10495] 1+1/1: dirfopen(/usr/local/delegate/dgroot/act/clients/19/192.168.244.243:pc4243,r+): 15dca8 [14]
10/16 11:22:16.49 [10495] 1+1/1: disconnected [48] -@[192.168.244.243]pc4243:1309 (0.973s)(0)
10/16 11:22:16.49 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/pid/8021,r+): 15dc98 [13]
10/16 11:22:16.49 [10495] 1+1: dirfopen(/usr/local/delegate/dgroot/act/locks/PORT/8021.0,w+): 15dca8 [14]
10/16 11:22:16.49 [10495] 1+1: StickyServer: start accept()
10/16 11:22:30.56 [10468] 1+0: AcceptByMain: TIMEOUT(children=1, timeout=15)
10/16 11:22:46.52 [10495] 1+1: StickyServer done [acceptFailed] 1 req / 1 conn / 31 sec
10/16 11:22:46.52 [10468] 1+0: AcceptByMain: got Sticky REPORT 1/1
10/16 11:22:46.56 [10468] 1+0: (0) process [10495] dead

From errors.log log file :
10/16 11:22:16 [10495]-P8021 E-U: Unknown: pc4243:1309 => GET ftp://www..canalplus-technologies.com:21/html/index_v9.htm HTTP/1.0

> Normally, the current directory at the start, or the login directory
> of a user, which is "/home/user" typically, is not visible to (proxy)
> HTTP client.  To make this work, URL for FTP resouses must be
> interpreted as relative path, as defined in the standard of URL.
> So the problem is why "/html" or "html" is shown to the client.
>
>  |There is maybe a misunderstanding between delegate and ie5.5...
>
> Since I've not heard about this kind of problem, it might occur
> only in something complex situation.  By the way, what version of
> DeleGate are you using?

I am using delegate version 7.5.4.
It seems clear that my ie HTTP client requests /html/index_v9 and that
delegate takes it as a relative path...
What do you think about that ?

Thanks for all,
David

--
David FOURNIER
Direction Informatique
Service R駸eaux et T駘馗oms
Tel : (33) 1 71 71 50 28
Fax : (33) 1 71 71 55 77

CANAL+ Technologies
34, Place Raoul DAUTRY
75906 PARIS Cedex 15
www.canalplus-technologies.com



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