Search squid archive

Re: transparent Proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux