r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Plugin-2] Browser Plugins

Carl
30-Jun-2006
[1576]
Gabriele is the main contact regarding the R2 priorities.  So, you 
must talk to him if there is a critical bug that you need scheduled 
for fixing.
Graham
30-Jun-2006
[1577]
It certainly makes sense to complete those things that can be readily 
done ...given that R3 may be months away
Terry
30-Jun-2006
[1578]
The desktop is nearly dead anyway.
Graham
30-Jun-2006
[1579x5]
Google and Microsoft are battling for ownership of the web space.
Rebol has a chance now that paradigms are shifting into general acceptance.
that the desktop is being superceded by internet applications.
But we need to be there in less than half pie fashion ...
We don't want to be crippled by lack of SSL and other show stoppers
Micha
1-Jul-2006
[1584]
Hi.  location   not work in Firefox  1.5  .  try it  code :    do-browser 
 "location='http://rebol.com'"
JoshM
2-Jul-2006
[1585x3]
Micha: Try this: do-browser "location.href='http://rebol.com'"
Plugin "completion" project: As Carl said, we are going to take the 
steps necessary to make a R2 "complete" plugin.
Based on your feedback, I've divided this project into three areas:
	1. Stability (no bugs, Win2k support, etc.)
	2. Security (signing, program limits, etc.)
	3. Proxy (correct proxy detection)


Is that accurate? Do you think that after addressing those three 
areas, the plugin would be "complete"? If not, what other areas do 
you think we need?
Terry
2-Jul-2006
[1588]
1. IE 
2. Firefox
3. Safari
Pekr
2-Jul-2006
[1589x2]
Opera
But yes, Josh, it seems like correct order. I give my vote to proxy. 
Dunno how many folks work in companies behind the proxy, but because 
there is not user.r by default, nor there is some abilitiy to launch 
desktop, the plug-in should do as much as possible, in regards to 
correctly detect proxy ...
Graham
2-Jul-2006
[1591]
Josh, that looks good to me.  Proxy would be good.
[unknown: 5]
2-Jul-2006
[1592x3]
Josh, I believe the Proxy support is really needed and obviously 
that could be used in REBOL3 for universal use.  I hope you implement 
both kerberos and NT LM Authentication.  I know that Doc Kimbell 
already has a tested Proxy implementation using the NT LM Authentication 
on his website.
If I recall the Kerberos is the default authentication on newer MS 
operating systems and NTLM is the older legacy authentication method 
that should be incorporated to support a more diverse environment 
where Win9x  and NT 3.5-40 machines might be in use.
I know in my environment where we work with multiple customers with 
thousands of workstations in interconnected networks and extranets 
we definately need the proxy support.  We have so much proxy authentication 
going on between internal networks due to acquisitions where segmentation 
and security are still sensitive concerns.
JoshM
3-Jul-2006
[1595]
Proxy: I've broken this sub-project down into two areas:

 1. Detection (auto-proxy, manual proxy, etc.) -- obtaining the correct 
 proxy server address for a given URL.

 2. Authentication (NTLM, Kerberos, etc.) -- authenticating with the 
 proxy server

Are there other areas you see related to proxy support?
Pekr
3-Jul-2006
[1596]
not known to me .... but I know only a little about it ....
DideC
4-Jul-2006
[1597]
For NTLM authentication, isn't there some OS API to do that ?

I can't imagine that each program using Internet has it's own NTLM/Kerberos 
authentication scheme!!
JoshM
4-Jul-2006
[1598x2]
Yes, I'm looking into both OS API and native methods.....
Question: On these systems that need full proxy support, are you 
running the latest OS? (i.e. WinXP SP1+, Win2k3, or WIn2k SP3+)? 
If so, there is OS support in those systems that may make this significantly 
simpler...
Pekr
4-Jul-2006
[1600]
as for me, yes, no W9x machines ...
JoshM
4-Jul-2006
[1601]
Am I correct in assuming that the majority of these proxy scenarios 
are just downloading HTTP/FTP files? Is there a case where you need 
upload support through proxy as well?
Pekr
4-Jul-2006
[1602]
I am not sure what is proxy, but in our case it is kind of web cache 
... we have squid here - it looks at its local cache, and if the 
file is available locally, it is served to you by proxy, not downloading 
it from web once again ...
JoshM
4-Jul-2006
[1603]
OK. I'm thinking about using Win32 HTTP/FTP upload/download API functions, 
which use the proxy settings set in Windows.....
Pekr
4-Jul-2006
[1604]
what for? just to get config?
JoshM
4-Jul-2006
[1605x2]
It's not exactly the REBOL cross-platform way to do things, but it 
seems to make sense for this Win32-specific scenario......
No, getting the config won't be necessary. There is full support 
in Win32 to download and upload files via HTTP and FTP, and these 
API functions automatically use the Internet Configuration in Tools->Internet 
Options, which includes proxy.....
Pekr
4-Jul-2006
[1607]
yes, but I just don't understand, where http/ftp download/upload 
in Windows is related to rebol networking?
JoshM
4-Jul-2006
[1608x2]
I need to run this by Carl, but my thinking is along the lines of 
a new option to 'read and 'write that says "use win32 HTTP/FTP API". 
If you choose that option, you get full proxy support in Windows....
With this approach, we're not building full auto-config/NTLM/Kerberos 
proxy support into REBOL, rather we're utilizing the OS API resources 
to do it all for us.
Pekr
4-Jul-2006
[1610x2]
but does Windows http/ftp API limit rebol free socket capabilities 
or not? :-)
otherwise understandable, although - sockets are sockets, and imo 
similar everywhere .... I prefer the rebol way, cross platform ... 
why is that so difficult to read few registry keys and decide? The 
only problem is the proxy auto-configuration script, which in fact 
is - javascript ...
JoshM
4-Jul-2006
[1612x2]
You would have only the capability of HTTP and FTP requests via Proxy, 
we're not talking about proxy-enabling the whole network stack. I'm 
not sure that makes sense anyway (i.e. if the cache server serves 
you a cached page, you're not going to communicate with the actual 
server anyway).....
The problem involves not just the auto-configuration script....there 
are also options to use multiple proxy servers, exclusion lists, 
etc. In addition, there are custom authentication schemes, i.e. NTLM 
and Kerberos, that REBOL may not fully support natively. With this 
approach, you receive full support for all of the above.
Pekr
4-Jul-2006
[1614x2]
well, I let gurus to decide, maybe I am not correctly understanding 
the issue ...
ok, and what is the option to support proxy in custom build protocols? 
Will it remain?
JoshM
4-Jul-2006
[1616x3]
The problem is that today REBOL is doing everything itself. It is 
making the socket connection, sending the GET command, etc. In the 
process, it has to know everything about the proxy settings and do 
everything natively.


I am proposing adding new HTTP/FTP support that uses the Win32 API. 
No more socket communication within REBOL -- instead, Win32 does 
everything, including interacting with proxies.
(When I say "No more socket communication", I mean that these options 
will not use the REBOL networking stack)
I hope that's clear.
Pekr
4-Jul-2006
[1619]
so native raw rebol socket low-level communication will be still 
possible, right?
JoshM
4-Jul-2006
[1620x2]
Sure. But not with this proxy support.
Maybe we'l fix get-net-info and you can have basic support, but no 
autoconfig or anything like that.
Pekr
4-Jul-2006
[1622x2]
ok, that would be imo better ...
because what you propose is imo big change, and I am not sure it 
is good to introduce it for last R2 incarnations ...
JoshM
4-Jul-2006
[1624x2]
Well, you tell me. Here are your options:

 1. Minor fix to get-net-info that reads correct registry values. 
 Does not handle auto-config, NTLM, or Kerberos.

 2. New refinements to 'read and 'write that use Win32 Internet API 
 to download and upload HTTP/FTP files. Uses whatever is supported 
 by the OS, including auto-config.

Would you prefer (1), (2), or both?
I have to have an answer fairly soon, so everyone who reads this, 
please chime in asap.