[Forwarded on Ian's request]
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
--- Begin Message ---
On Fri, Sep 06, 2002 at 08:42:54AM -0700, Ian Clarke wrote:
> On Fri, Sep 06, 2002 at 10:59:55AM +0200, Volker Stolz wrote:
> > In local.freenet, you wrote:
> > > Those who try the current snapshot will now notice that the=20
> > > gateway.html page is now replaced by an Infolet.
> > 
> > Yeah, great, it's broken. Why do you hardcode the node's IP into
> > the page? Now you can't easily use [ssh] port-frowarding to connect
> > to a remote fproxy. Could you fix this, please?
> 
> Actually, I don't.  The IP address used is the one identified in the 
> URL.  Perhaps if you could be more specific about the problem you are 
> having, and a-little bit more civil, I could help you.

[Sorry, I didn't want to sound too rude, but the coffee hadn't hit yet.
I always wonder why people actually spend time to (unwittingly) 
break things which would work perfectly if not for a contrived solution
in the first place]

The first dump is from a 490 host:

> wget -O- http://192.168.1.1:8888
<a href="/SSK%40npfV5XQijFkF6sXZvuO0o%7EkG4wEPAgM/homepage//">
<a href="/SSK%40kj9mFvMP4IROkObPHFPlapSnjj0PAgM/techgrounds//"> Techgrounds</a></li>
<a href="/SSK%409G4s%7EjLQJB7ALQg-v2q5xKAJy9YPAgM/CofE//">Content of Evil</a> 
<a href="/SSK@rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/TFE//"> The Freedom Engine</a><br>

Host running v.500:
> wget -O- http://lambda.foldr.org:8888
<a 
href="http://198.78.66.36:8888/SSK%40npfV5XQijFkF6sXZvuO0o%7EkG4wEPAgM/homepage//";>Da 
gj</a></li>
<a href="http://198.78.66.36:8888/SSK%40rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/TFE//";>The 
Freedom Engine</a></li>
<a href="http://198.78.66.36:8888/SSK%40rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/FF//";>Freenet 
Forever</a></li>

When I connect to the first one using ssh port-forwarding
(ssh -L 8888:192.168.1.1:8888 ...), the URLs will be relative
to http://192.168.1.1:8888. Everything (ssh forwarding) works
as expected.

But now:
erde:[vs]> ssh -n -f -L 8999:lambda.foldr.org:8888 lambda sleep 10000
erde:[vs]> wget http://localhost:8999
--20:38:16--  http://localhost:8999/
           => `index.html'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:8999... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://198.78.66.36:8890/ [following]
--20:38:17--  http://198.78.66.36:8890/
           => `index.html'
Connecting to 198.78.66.36:8890...

But this is forbidden by the firewall, so won't work.

Okay, next step:
erde:[vs]> ssh -n -f -L 8998:lambda.foldr.org:8888 lambda sleep 10000
erde:[vs]> wget -O- http://localhost:8998
....
<a 
href="http://198.78.66.36:8888/SSK%40npfV5XQijFkF6sXZvuO0o%7EkG4wEPAgM/homepage//";>Da 
gj</a></li>
<a href="http://198.78.66.36:8888/SSK%40rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/TFE//";>The 
Freedom Engine</a></li>
<a href="http://198.78.66.36:8888/SSK%40rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/FF//";>Freenet 
Forever</a></li>

Again, the URLs are not relative to the one I give in the
request and even change the host & port. Also, this cannot
be captured by ssh forwarding.

Regards,
  Volker
-- 
It's your choice babe // just remember // I don't think
you'll be back // in 3 days time // so you choose well

Attachment: msg03954/pgp00000.pgp
Description: PGP signature

--- End Message ---

Reply via email to