[freenet-dev] Fproxy changes

2002-09-08 Thread Dan Merillat

Matthew Toseland writes:

> Just allow access to : AND :8890. The code does not make it
> absolute, it takes the hostname from the query.

Let's see.  I access via http://free/

It redirects me to http://:8890/

--Dan


___
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl



[freenet-dev] Fproxy changes

2002-09-07 Thread Robert Bihlmeyer
Ian Clarke  writes:

> Now, we could - say - set it up so that going to :
> 
> http://localhost:8890/fproxy/CHK%40...
> 
> Works like going to:
> 
> http://localhost:/CHK%40...
[...]
> I guess we could also determine in real-time whether the URL looks like an 
> FProxy link, or whether it looks like a NodeInfoServlet link.

Would it be too restricting to specify freenet keys to either start with
an upcase letter (C, S, or K at the moment), or with "freenet:"?
Anything else is a special command, for example a nodeinfo servlet,
something that modifies fproxy behaviour, or whatever.

This may allow us to migrate away from the ugly 
to e.g .

On the downside, we'd have to implement more filtering to avoid links to
the "/shutdown" servlet.

-- 
Robbe
-- next part --
A non-text attachment was scrubbed...
Name: signature.ng
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



Re: [freenet-dev] Fproxy changes

2002-09-07 Thread Dan Merillat


Matthew Toseland writes:

 Just allow access to : AND :8890. The code does not make it
 absolute, it takes the hostname from the query.

Let's see.  I access via http://free/

It redirects me to http://ipaddress:8890/

--Dan


___
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl



Re: [freenet-dev] Fproxy changes

2002-09-06 Thread Matthew Toseland

On Wed, Sep 04, 2002 at 11:27:22PM -0400, Dan Merillat wrote:
 
 Ok, let it be said I love the new UI.  However, since : is just redirecting
 to :8890, can't we just merge the two interfaces?
 
 It screws up my setup of using squid to redirect freenet requests, but I think I
 can work around it.  Perhaps.  It's a pain to rewrite URLs on the fly, so I may have
 to maintain diffs to the source (UGH).
Just allow access to : AND :8890. The code does not make it
absolute, it takes the hostname from the query.
 
 --Dan
 

-- 
Matthew Toseland
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Freenet/Coldstore open source hacker.
Looking for $coding (I'm cheap)



msg03851/pgp0.pgp
Description: PGP signature


[freenet-dev] Fproxy changes

2002-09-05 Thread Dan Merillat

Ian Clarke writes:
> 
> --S1BNGpv0yoYahz37
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> Well, in theory - yes, in practice, it ain't so easy.
> 
> The NodeInfoServlet resides on port 8890, that is the thing that draws the =
> nice=20
> menu to the left, and can't really support controlling of the entire=20
> web-browser window, which is why we need FProxy.
> 
> Now, we could - say - set it up so that going to :
> 
> http://localhost:8890/fproxy/CHK%40...
> 
> Works like going to:
> 
> http://localhost:/CHK%40...
> 
> does now - however we would no-longer be able to take advantage of links to=
>  the=20
> server root (ie. hyperlinks which begin with "/").  That would be unfortuna=
> te.
> 
> I guess we could also determine in real-time whether the URL looks like an=
> =20
> FProxy link, or whether it looks like a NodeInfoServlet link.

???(@|%40).* is a damm good guess it's a FProxy link.  Basically, if it's not
an infolet, it's a key.  If the keyparse fails, it's a 404.

--Dan


___
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl



Re: [freenet-dev] Fproxy changes

2002-09-05 Thread Dan Merillat


Ian Clarke writes:
 
 --S1BNGpv0yoYahz37
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Well, in theory - yes, in practice, it ain't so easy.
 
 The NodeInfoServlet resides on port 8890, that is the thing that draws the =
 nice=20
 menu to the left, and can't really support controlling of the entire=20
 web-browser window, which is why we need FProxy.
 
 Now, we could - say - set it up so that going to :
 
 http://localhost:8890/fproxy/CHK%40...
 
 Works like going to:
 
 http://localhost:/CHK%40...
 
 does now - however we would no-longer be able to take advantage of links to=
  the=20
 server root (ie. hyperlinks which begin with /).  That would be unfortuna=
 te.
 
 I guess we could also determine in real-time whether the URL looks like an=
 =20
 FProxy link, or whether it looks like a NodeInfoServlet link.

???(@|%40).* is a damm good guess it's a FProxy link.  Basically, if it's not
an infolet, it's a key.  If the keyparse fails, it's a 404.

--Dan


___
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl



[freenet-dev] Fproxy changes

2002-09-04 Thread Ian Clarke
Well, in theory - yes, in practice, it ain't so easy.

The NodeInfoServlet resides on port 8890, that is the thing that draws the nice 
menu to the left, and can't really support controlling of the entire 
web-browser window, which is why we need FProxy.

Now, we could - say - set it up so that going to :

http://localhost:8890/fproxy/CHK%40...

Works like going to:

http://localhost:/CHK%40...

does now - however we would no-longer be able to take advantage of links to the 
server root (ie. hyperlinks which begin with "/").  That would be unfortunate.

I guess we could also determine in real-time whether the URL looks like an 
FProxy link, or whether it looks like a NodeInfoServlet link.

Ian.

On Wed, Sep 04, 2002 at 11:27:22PM -0400, Dan Merillat wrote:
> Ok, let it be said I love the new UI.  However, since : is just 
> redirecting
> to :8890, can't we just merge the two interfaces?
> 
> It screws up my setup of using squid to redirect freenet requests, but I 
> think I
> can work around it.  Perhaps.  It's a pain to rewrite URLs on the fly, so I 
> may have
> to maintain diffs to the source (UGH).

-- 
Ian Clarkeian at freenetproject.org
Founder & Coordinator, The Freenet Projecthttp://freenetproject.org/
Chief Technology Officer, Uprizer Inc.   http://www.uprizer.com/
Personal Homepage   http://locut.us/
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 



[freenet-dev] Fproxy changes

2002-09-04 Thread Dan Merillat


Ok, let it be said I love the new UI.  However, since : is just redirecting
to :8890, can't we just merge the two interfaces?

It screws up my setup of using squid to redirect freenet requests, but I think I
can work around it.  Perhaps.  It's a pain to rewrite URLs on the fly, so I may have
to maintain diffs to the source (UGH).

--Dan


___
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl



Re: [freenet-dev] Fproxy changes

2002-09-04 Thread Ian Clarke

Well, in theory - yes, in practice, it ain't so easy.

The NodeInfoServlet resides on port 8890, that is the thing that draws the nice 
menu to the left, and can't really support controlling of the entire 
web-browser window, which is why we need FProxy.

Now, we could - say - set it up so that going to :

http://localhost:8890/fproxy/CHK%40...

Works like going to:

http://localhost:/CHK%40...

does now - however we would no-longer be able to take advantage of links to the 
server root (ie. hyperlinks which begin with /).  That would be unfortunate.

I guess we could also determine in real-time whether the URL looks like an 
FProxy link, or whether it looks like a NodeInfoServlet link.

Ian.

On Wed, Sep 04, 2002 at 11:27:22PM -0400, Dan Merillat wrote:
 Ok, let it be said I love the new UI.  However, since : is just redirecting
 to :8890, can't we just merge the two interfaces?
 
 It screws up my setup of using squid to redirect freenet requests, but I think I
 can work around it.  Perhaps.  It's a pain to rewrite URLs on the fly, so I may have
 to maintain diffs to the source (UGH).

-- 
Ian Clarke[EMAIL PROTECTED]
Founder  Coordinator, The Freenet Projecthttp://freenetproject.org/
Chief Technology Officer, Uprizer Inc.   http://www.uprizer.com/
Personal Homepage   http://locut.us/



msg03795/pgp0.pgp
Description: PGP signature