Re: [squid-users] how do I ensure that my request is passing through squid proxy

From: jyothi <jyothi_at_cse.iitm.ac.in>
Date: Sat, 15 May 2010 16:05:08 +0630

The following lines I have added to the squid.conf file

cache_peer 10.65.0.32 parent 3128 3128 no-query login=PASS
prefer_direct off

My institution proxy also connects to the port 3128. A window keeps appearing for
authentication even after entering the username and password.

Is there any thing with the lines I have added?

On Sat, 15 May 2010 19:28:12 +1200, Amos Jeffries wrote
> jyothi wrote:
> > Thanks! I got your point. I have one more doubt, my institution proxy needs
> > authentication. When I configured my browser with squid proxy, it was asking me for
> > uname and password. when I enter my institution username and password it is not
> > accepting. When I saw in FAQ it shows how to authenticate for squid, now I have to
> > forward to other other proxy so how can I resolve this? ( means how my insti proxy
> > resolves the authentication when the request is coming from squid)?
>
> The cache_peer option in squid.conf which points Squid to the
> institution proxy will need to have the "login=PASS" (exact text) option
> set.
>
> >
> > On Sat, 15 May 2010 18:14:30 +1200, Amos Jeffries wrote
> >> jyothi wrote:
> >>> Thanks for the quick reply. I am using firefox, there I can only specify one proxy
(that
> >>> is presently institution proxy), may be I don't know, could you please elaborate?
> >>>
> >> Perhapse I misunderstood you.
> >> You said you already read the FAQ titled "How do I configure Squid
> >> forward all requests to another proxy?"
> >>
> >> That FAQ explains how to configure Squid to use the institution proxy.
> >>
> >> Your browser only needs to be configured for the one single proxy it is
> >> talking to. Squid.
> >>
> >>> On Fri, 14 May 2010 23:26:25 +1200, Amos Jeffries wrote
> >>>> jyothi wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I have a doubt, I am using a proxy enabled network (which is provided by my
> >>> institution).
> >>>>> My browser is configured with the corresponding proxy in order to access the web
> > pages.
> >>>>> I want to use squid proxy in order to serve some of my needs. I can't configure
> > browser
> >>>>> with the squid as I need to my institution proxy to access the web. So all my
requests
> >>>>> first should go to squid proxy then to the institution proxy. I did this by
> > reading the
> >>>>> faq (How do I configure Squid forward all requests to another proxy?). But now my
> > doubt
> >>>>> is how would I ensure that first my request is going to squid and then to my insti
> > proxy
> >>>>> (as my browser is not configured with the squid)?
> >>>>>
> >>>> Since that Squid is using the Institution proxy you should configure
> >>>> your browser to use the Squid.
> >>>>
> >>>> So you end up with this:
> >>>> Browser -> Squid -> Institution Proxy -> Internet
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Sat May 15 2010 - 09:42:40 MDT

This archive was generated by hypermail 2.2.0 : Sat May 15 2010 - 12:00:05 MDT