Re: [squid-users] How can I block a https site?

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Thu, 23 Oct 2008 12:20:17 +0200

> 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@fantomas.sk ; 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 
Received on Thu Oct 23 2008 - 10:20:22 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 23 2008 - 12:00:04 MDT