Search squid archive

Re: Is this valid ?

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

 



On 03.04.06 14:01, Peter Marshall wrote:
> Is the following valid syntax ??
> 
> acl CHAT url_regex -i .icq.com
> acl CHAT url_regex -i .msg.yahoo.com
> acl CHAT url_regex -i messenger.yahoo
> acl CHAT url_regex -i webmessenger
> acl CHAT url_regex -i .webmessenger
> acl CHAT url_regex -i .webmessenger.msn.com
> acl CHAT url_regex -i .messenger.*
> acl CHAT url_regex -i gateway.dll
> acl CHAT url_regex -i messenger.msn
> acl CHAT url_regex -i mirc
> acl CHAT url_regex -i icq.com
> acl CHAT url_regex -i go.icq
> acl CHAT url_regex -i miranda-im.org

it is valid (although the dots should be escaped as already pointed out),
but very ineffective and your squid will spend much CPU time when comparing
so many requests.

You should use "dstdomain" at least for some of those and dstdom_regex for
some (all?) others.

Putting domain names into files will make things a bit clearer, as pointed
out, too...

-- 
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.
   One OS to rule them all, One OS to find them, 
One OS to bring them all and into darkness bind them 

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

  Powered by Linux