Search squid archive

Re: How can I block a https site?

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

 



On 21.10.08 16:23, Alejandro Bednarik wrote:
>  You can also use url_regex -i
> 
>  acl bad_sites url_regex -i "/etc/squid/bad_sites.txt"
>  http_access deny bad_sites

using regexes is very ineffective and may lead to problems if you don't
count with:
- dot matching ANY character
- regex matching the middle of string, not just the end of it (like
  dstdomain does)

> >> # cat bad_sites.txt
> >> .youporn.com
> >> .rapidshare.com
> >> .googlevideo.com
> >> .photobucket.com
> >> .dailymotion.com
> >> .logmein.com
> >> .megavideo.com
> >> .audio.uol.com.br
> >> .imo.im
> >> #
> >>
> >> But I am able to connect https://imo.im
> >> I only got access denied when I  access http://imo.im

-- 
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.
Eagles may soar, but weasels don't get sucked into jet engines. 

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

  Powered by Linux