[squid-users] ACL problems

From: Herve DEGROOT <hd@dont-contact.us>
Date: Wed, 24 Apr 2002 10:26:43 +0200 (CEST)

Hi,

I'm a newbie in Squid.

What I've done :

   - install Squid 2.4 on RedHat 7.2
   - made a .pac autoconfig file
   - tests

All seems OK.

But I don't manage to only cache gouv.fr web site.

If browser is configured to read the .pac file, it's OK. They only use the
proxy for gouv.fr web site. I don't see any traffic for other sites.

But, if I specifie the proxy in browser, "problems" appear. Even if it's
not a gouv.fr web site, I see IP packet going throught the proxy.

If I dump packet on port 80, on my proxy, I see trafic for all web pages.
In my squid.conf, the acl I made is :

acl gouvf dstdomain gouv.fr

And the test are :

test 1 : always_direct allow !gouvfr
test 2 : always_direct deny gouvfr
test 3 : never_direct allow gouvfr
test 4 : never_direct deny !gouvfr

(I made a squid -k reconfigure each time)

What I like to see is trafic between the client and the proxy, only for
the first "connection" to the web site. Just the time to squid to say to
the client that the acces to this site is direct.

Is this possible ?

How can I do that ?

Thank in advanced for any help.

Regards.

-- 
            Hervé Degroot         /            C R I H A N
Mail  : Herve.Degroot@crihan.fr   /     745, Avenue de l'Université   
Phone : (33 2)/(02) 32 91 42 91   / 76800 Saint Etienne du Rouvray-France
Fax   : (33 2)/(02) 35 91 42 92   /        http://www.crihan.fr
Received on Wed Apr 24 2002 - 02:29:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:40 MST