Re: [squid-users] "Bypassing" Squid

From: Daniel Gary <dgary1980_at_gmail.com>
Date: Tue, 08 Feb 2011 21:10:22 -0800

if its over HTTP, squid will touch it and log it, though it might not
cache it if you tell it not to, but it will still log it

otherwise, look into iptables

or some sort of sed based cronjob to prune lines from the logs that you
don't want

On 2/8/2011 5:49 PM, Jobst Schmalenbach wrote:
> Hi
>
> How can I let packages/sites "bypass" Squid?
>
> I do not mind if people listen to online stuff, what I mind is that I end up with loads of entries in the squid log and in the cache.
>
> For example I want squid not to touch/log/cache/whatever any packet that is "application/x-fcs" (and other media stuff)
>
>
> Is this correct, i.e. it will allow it through but not log nor cache it?
>
> Also is my understanding correct that ACL are cumulative (as below) so I can use multiple lines for the same ACL name?
>
>
> acl media urlpath_regex \.(afx|asf)(\?.*)?$
> acl media urlpath_regex \.flv(\?.*)?$
> acl media urlpath_regex \.swf(\?.*)?$
> acl media rep_mime_type x-fcs
>
> cache deny media
>
>
>
> Jobst
>
>
>
Received on Wed Feb 09 2011 - 05:10:46 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 09 2011 - 12:00:02 MST