OSCommerce Product Manager for Windows
FS#255 - Support WPAD for proxy configuration.
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 29 August 2005, 01:51 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 26 July 2007, 10:57 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 29 August 2005, 01:51 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 26 July 2007, 10:57 GMT
|
DetailsCurrently, the proxy settings can be autodetected only if they are set explicitly in the Windows proxy settings without using a configuration script and without using automatic proxy discovery.
It would be very nice if the oscpmwin application could support WPAD for proxy automatic discovery. The WPAD mechanism is described in the following URL: http://www.web-cache.com/Writings/Internet-Drafts/draft-ietf-wrec-wpad-01.txt It would be good to support both DHCP and DNS-based mechanisms. If only one, I think DHCP is the preferred one. Anyway, to support this, the application would require to run a Javascript script to decide what proxy server to use for a given URL. Very nice for the network admin but a bit complicated for us the developers. Pending to figure out how to do each thing (JS runtime, DHCP query and DNS query). |
This task depends upon
By reading the RFC I think we can build a class 0 compliant client code (just like Mozilla), which is really a DNS (A record) only implementation.
I think we can just query the http://wpad/wpad.dat URL and if correct, cache the file and use it to decide what proxy to use.
As the script will be run only once, we can even use an external application, with little overhead.