TooTallNate / node-pac-proxy-agent

A PAC file proxy `http.Agent` implementation for HTTP and HTTPS
59 stars 57 forks source link

Add support for Web Proxy Autodiscovery via DNS. #7

Closed rustyconover closed 2 years ago

rustyconover commented 9 years ago

This PR implements WPAD or Web Proxy Autodiscovery via DNS as documented here:

https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol

There is a test case, that is enabled if the environment variable USE_PROXY_AUTODETECT is set.

Also add an example of how to enable Kerberos authentication for the proxy agent.

Signed-off-by: Rusty Conover rusty@twosigma.com

TooTallNate commented 8 years ago

Sorry for the delay on this. Autodiscovery is an awesome addition :)

Can you explain the Kerberos stuff a bit more though? I don't quite understand how it works since you're just setting an option that doesn't appear to be used anywhere in the codebase.

rustyconover commented 8 years ago

Hi,

The Kerberos feature is defined here: TooTallNate/node-http-proxy-agent#3.

Kerberos is an authentication mechanism that many corporate proxy servers require to be used to authenticate requests out over the network. See https://en.wikipedia.org/wiki/SPNEGO

Rusty