Re: [squid-users] transparent Proxy

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Fri, 2 Nov 2007 09:27:54 +0100

On 01.11.07 13:16, Tarak Ranjan wrote:
> I'm new to this list. i have a question about transparent
> proxy. if i apply an ACL for downloading mp3 and mpeg. but it's not
> working, user's are able to download mp3 or mpeg...
> here is my config..squid.conf file.

> port 8080
> acl blocksites url_regex "/etc/squid/squid-block.acl"
> "quid-block.acl"
> .meebo.coms
> .sex.com

using here dstdomain "file", and not url_regex, would be MUCH more
effective.

> acl blockfiles urlpath_regex ?/etc/squid/multimedia.files.acl?
>
> "multimedia.files.acl"
> \.[Aa][Vv][Ii]$
> \.[Mm][Pp][Gg]$
> \.[Mm][Pp][Ee][Gg]$
> \.[Mm][Pp]3$
>
> please guide me if there is anything wrong

using regexes is quite ineffective in squid and can be avoided, e.g. by
downloading "file.mp3?" or renaming those files. Use some content filters
that can work with squid.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
You have the right to remain silent. Anything you say will be misquoted,
then used against you. 
Received on Fri Nov 02 2007 - 02:28:00 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:01 MST