Search squid archive

Re: How can I block a https site?

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

 



> Matus UHLAR - fantomas wrote:
> >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)

On 22.10.08 23:45, Amos Jeffries wrote:
>  - URL parts often included in regex not occuring in CONNECT requests.
>  - neither the http(s):// part.

no, but it can match different hosts it should not mach.

> >>>>.imo.im

will block e.g. www.limolimo.com

-- 
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