Re: [squid-users] Squid parent proxy authentication

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Sat, 19 Jun 2010 17:02:29 -0500

Le samedi 19 juin 2010 14:59:42, Susmit Saraswat a �crit :
> Hi!
>
> I'm trying to set up Squid to tunnel requests through a parent proxy
> that requires authentication. I am aware that an entry to the squid
> configuration file, with something along the lines of
>
> cache_peer ip-to-parent-proxy parent 8080 0 default
> no-query login=squid:password
>
> would do the trick. However, is there any way for Squid to prompt the
> user for the login credentials that it would pass to the parent proxy?
> The parent proxy itself uses HTTP authentication.
>
> Thanks
http://www.squid-cache.org/Doc/config/cache_peer/
Did you try this?

        login=PROXYPASS
                        Send login details received from client to this peer.
                        Authentication is not required, nor changed.
                        
                        Note: This will pass any form of authentication but
                        only Basic auth will work through a proxy unless the
                        connection-auth options are also used.
        
        login=PASS Send login details received from client to this peer.
                        Authentication is not required by this option.
                        If there are no client-provided authentication headers
                        to pass on, but username and password are available
                        from either proxy login or an external ACL user= and
                        password= result tags they may be sent instead.
                        
                        Note: To combine this with proxy_auth both proxiesmust
                        share the same user database as HTTP only allows for
                        a single login (one for proxy, one for origin server).
                        Also be warned this will expose your users proxy
                        password to the peer. USE WITH CAUTION

Let us know what did work for you

LD
Received on Sat Jun 19 2010 - 22:01:43 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 20 2010 - 12:00:03 MDT