Hi Everyone,

I'm struggling to understand how to make use of the many proxy libraries 
out there (EG node-http-proxy) to setup a transparent/inline/intercepting 
proxy that would run on a network gateway.
The purpose of the proxy is to determine which upstream proxy (or none) the 
request should go via. Some upstream proxies will need basic auth (details 
to be supplied by the proxy app).
It would essentially follow similar behaviour to an auto proxy pac 
configuration except that it's inline and the authentication is supplied 
directly.

We need to do this because we are testing thick client apps (EG Android) 
that are not forward proxy aware and the network requires different 
upstream proxies depending on the domain.

I think I've confused myself by reading too much and am unsure of which 
libraries can do this. EG node-http-proxy seems to work as a forward proxy 
but I need a transparent/inline proxy.
Also examples for upstream proxies always seem to specify one proxy but I 
would need to determine the proxy at runtime based on the domain name.
This would of course need to work for both http and https - I have no need 
to inspect the body of the request/response and would want to tunnel the 
secure requests as is and not use separate certificates.

I'd appreciate some basic pointers as I just haven't understood how to do 
this.

Client --------> Gateway + iptable rules + nodejs inline proxy (http / 
https) app -----------> direct, via proxy1 (with app supplied basic auth), 
via proxy2 (with separate app supplied basic auth) depending on domain name 
(like proxy.pac behaviour)

Thanks!

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/15e9968d-16be-446d-8ed7-5e8605f3d25a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to