Search squid archive

Re: Virtual drives

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

 



I didn´t want to do that, because I´d like to block every URL with matching words on it (such as "briefcase" for example.briefcase.com, briefcase.example.com and www.example.com/briefcase). The ACL is OK in that case, right? What could be causing the behavior I´m experiencing here?

Thanks again!

Regards,

Luis Talora

Andre Fernando Goldacker escreveu:
Hello,

>From my experience, you can achieve better results if you use dstdomain
type acl for blocking an entire domain.

The use of regex acls is much slower and is only effective for matching
things after the domain name (eg: domain.com/blah).

In this case, you have to change your acl to something like:

acl virtualdrv dstdomain "/etc/squid/lists/virtualdrv.url"

And inside the virtualdrv.url file, add your entries to something like:
.idrive.com
.xdrive.com

... and so on

regards,

André



Luís Fernando C. Talora wrote:
Fellows,

I´m having some trouble writing a very basic ACL, but I can´t realize
were´s the catch. The idea is to block virtual drivers (which peolple
use to store all sorts of files). For some sites (such as
"http://www.idrive.com"; or "http://www.freedrive.com";), the blocking
occurs ok; for Yahoo! Briefcase ("http://briefcase.yahoo.com";), the
blocking does not occur. Configuration used follow:

--------------- squid.conf ---------------
acl virtualdrv url_regex -i "/etc/squid/lists/virtualdrv.url"

(...)

# BLOCKING VIRTUAL DRIVES
http_access deny all virtualdrv
---------------------------------------------


------------ virtualdrv.url ------------
yousendit\.com
briefcase
discovirtual
idrive
freedrive
xdrive
imacfloppy
mydocsonline
myspace
driveway
mywebos
all-free-info
---------------------------------------------

Could anybody please give me a clue?

Thanks a lot!

Luís Talora








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

  Powered by Linux