Re: [squid-users] Transparent Proxy & No Caching

From: dev singh <dev.pratap@dont-contact.us>
Date: Wed, 27 Apr 2005 14:12:14 +0530

Hi robert,

Ur acl's tells that ur network ip are of 10.0.0.0 and 10.0.30.0 network
i m running squid 2.5 stable , i also had same problem , when u use
squid in transparent mode u hav to reroute the requests from 80 to
8080 or 3128 what soever port u r running squid , when i define my
network ips in squid.conf it was not caching i removed my network ips
from acl's and allowed all , than it started working quite fine
showing me lots of TCP_HIT.

U can try this , it is quite better .and u can change ips netime
without making ne changes on client side. Coz in transparent proxy u
don hav to specify the proxy settings in ur browser u just hav to
specify the gateway in the clients TCP/Ip properties.

For nething in transparent proxy u can ask .

Regards
Dev

On 4/26/05, Robert Vangel <vangelr@rfgt.net> wrote:
> acl QUERY urlpath_regex
> no_cache deny query
>
> acl blacklist dstdomain -i "/etc/squid/blacklist"
> acl all src 0.0.0.0/0.0.0.0
> acl office src 10.0.0.0/255.255.0.0
> acl localhost src 127.0.0.1/255.255.255.255
>
> acl purge method PURGE
> acl CONNECT method CONNECT
> acl methods method all
>
> acl office0 src 10.0.0.0/255.255.255.0
> ...
> acl office30 src 10.0.30.0/255.255.255.0
>
> http_access deny blacklist
> http_access allow localhost
> http_access deny purge
> http_access allow office
>
> http_access deny all
>
> http_reply_access allow office
> http_reply_access deny all
>
> # 40GB XFS partition
> cache_dir aufs /var/spool/squid 30000 16 256
>
> dev singh wrote:
> > Hi Robert,
> >
> > can u plz post the acl parameter .
> >
> > regards
> > dev
> >
> >
>
>
>
Received on Wed Apr 27 2005 - 02:42:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT