ACL + proxy_auth problem!

From: David Richards <dj.richards@dont-contact.us>
Date: Fri, 09 May 1997 12:07:23 +1000 (EST)

Hi,

        I am implementing acl + proxy authentication. The scenario is
like this: I plan on having a list of sites that are freely accessible by
anyone, but as soon as someone tries to go somewhere else, they must
authenticate. Here is my current config:

        #Defined acl that deal with authentication.
        acl qut_domain dst 131.181.0.0/255.255.0.0
        acl uq_domain dst 130.102.0.0/255.255.0.0
        acl password proxy_auth /usr/local/squid/auth/passwd.squid 10

        #Which sites to allow without a password, all others authenticate!
        http_access allow qut_domain
        http_access allow uq_domain
        http_access allow !qut_domain password
        http_access allow !uq_domain password
        http_access deny all

My local domain is qut.edu.au ( 131.181.0.0 ), therefore the local_domain
tag is set to "qut.edu.au". I want this site to be free! The other
domain ( uq_domain -> 130.102.0.0 ) is a site that I want people to access
without authenticating aswell.

It all works great for my local domain ( 131.181.0.0 ), i can go to any
machine on our network without authenticating.

Now the problem is: When I try to go to a machine on the "uq_domain" for
the first time, I get a box asking me to authenticate. But, when I go
there the second time ( without authenticating on the first time ) I get
the page I asked for without a box coming up to ask me to authenticate.
Once, I go to that domain after the first time, I can get around that
domain without a problem.

I believe this to be a bug, who is going to fix it for me?? :-)

Dave.

----------------------------------------------------------------------
David Richards Ph: +61 7 3864 4354
Computing Services e-mail: dj.richards@qut.edu.au
Queensland University of Technology
----------------------------------------------------------------------
Received on Thu May 08 1997 - 19:25:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:09 MST