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