Article delegate-en/2152 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 Proxy doesn't work in tunneled mode (was Re: [DeleGate-En] Bug in FTP proxy)
05 Mar 2003 19:00:26 GMT "Dameon D. Welch-Abernathy" <plueabdyi-4z7oftawab5r.ml@ml.delegate.org>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yutaka Sato wrote:
| On 03/05/03(08:26) you "Dameon D. Welch-Abernathy"
<plueabdyi-4z7oftawab5r.ml@ml.delegate.org> wrote
| in <_A2148@delegate-en.ML_>
|  |1. Using the "tunnel" method described on
|  |http://www.delegate.org/delegate/ssh, an http delegate process won't
|  |work. It always comes back and says "malformed URL request" or something
|  |similar. If I switch to tunneling my delegate speciailists through an
|  |SSH tunnel to a master delegate, http works just fine.
|
| Could you show me your LOGFILE ?

This is on the remote end. It looks like it's trying to serve the URL
itself instead of connecting where it's supposed to go.

03/05 00:08:57.62 [22095] 0+0: {T}.SET(1) a_path=[2!2]
03/05 00:08:57.62 [22095] 0+0: [14] callbackDelegate1 connect failed
255.255.255.255:0 [0.00s] errno=49
03/05 00:08:57.62 [22095] 0+0: [14] callbackDelegate1 connect failed
127.0.0.1:0 [0.00s] errno=49
03/05 00:08:57.63 [22095] 0+0: {T}.NEW AGENT#2[22101](15)(-1): 2!2
03/05 00:08:57.63 [22095] 0+0: put to Teleport: =<!2
WhereIs/gnats.iprg.nokia.com =0D=0A=QZ
03/05 00:08:57.63 [22101] 0+0: -- Fork(newAgent): 22095 -> 22101
03/05 00:08:57.63 [22101] 0+0: {T}.callbackDeleGate: NOWAIT=0 NOFLUSH=0
03/05 00:08:57.74 [22101] 0+0: CLIENT says: DeleGate-HELLO 8.3.4 []
03/05 00:08:57.87 [22101] 0+0: RETURNED ACK = 200 OK: http^M
03/05 00:08:58.00 [22101] 0+0: Proxy: host=Cant-GetPeerName; User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210;
Via: 1.1 - (DeleGate/8.3.4), 1.1 - (DeleGate/8.3.4);
03/05 00:08:58.00 [22101] 0+0: REQUEST - GET / HTTP/1.1^M
03/05 00:08:58.00 [22101] 0+0: PATH>
http://gnats.iprg.nokia.com:80!0.0.0.0:0!localhost:4269!chef.phoneboy.com:8080!Lava.Opua.Org:4597!anonymous@Lava.Opua.Org;1046851150
03/05 00:08:58.00 [22101] 0+0: REQUEST =
[http://gnats.iprg.nokia.com:80/] GET / HTTP/1.1^M
03/05 00:08:58.00 [22101] 0+0: checking delegate-internal: self=0 GET /
HTTP/1.1^M
03/05 00:08:58.00 [22101] 0+0: Unknown internal: [gnats.iprg.nokia.com:80] /
03/05 00:08:58.00 [22101] 0+0: E-U: Unknown: Cant-GetPeerName:0 => GET /
HTTP/1.1 [http://gnats.iprg.nokia.com:80]
03/05 00:08:58.00 [22101] 0+0: ####LS cannot open
/home/dwelch/delegate/act/delay/07/255.255.255.255:Cant-GetPeerName
03/05 00:09:05.06 [22101] 0+0/1: HCKA:[1] closed -- t:timeout: 7
03/05 00:09:05.06 [22095] 0+0: {T}.GOT HARD-EOF local, INFORM remote of
it: =>2!2
03/05 00:09:05.06 [22095] 0+0: {T}.DONE agent[2] 907i+968o

| You will find a line like follows in your LOGFILE:
| ... E-P: No permission: x:d => telnet://pobox... ('telnet' is not
REMITTABLE)
| If so, adding the following line will solve the problem.
|
|   REMITTABLE=+,telnet
|
| Telnet was excluded from the default list of REMITTABLE since 8.0.4.

Hm... the docs don't seem to suggest that. Perhaps an update? Can some
sort of error message be displayed on the client side so they know
something is wrong?

In any case, this solved my problem.

|  |A general comment: one improvement I think that could be made on
|  |http://www.delegate.org/delegate/ssh is some concrete examples (e.g.
|  |what commands might you execute to make all this work).
|
| At least it was a fairly complete example when it was written...

What I mean is including concrete commands to use, especially in the
advanced example. I understood the concept, I just wasn't entirely sure
what commands to use. For example, the commands I'm using now:

delegated -P4269 TUNNEL=tty7:ssh.shio REMITTABLE=+,telnet

delegated -P8080 MASTER=127.0.0.1:4269 SERVER=http REMITTABLE=*
RES_NS=216.47.113.10

delegated -P2121 MASTER=127.0.0.1:4269 SERVER=ftp FTPCONF="forcexdc"

delegated -P2323 MASTER=127.0.0.1:4269 SERVER=telnet

- -- Dameon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows 2000)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+ZkoXCdClwVl/XSoRAi7oAJ9KWtpXut0avMj2caDa2w1PGyxg2gCfSDON
bxw0yvXggv+BEXwAT+cBnec=
=ccT+
-----END PGP SIGNATURE-----


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