Re: [squid-users] Block HTTPS website

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 20 May 2011 21:21:10 +1200

On 20/05/11 21:07, Malvin Rito wrote:
> Hi Jason,
>
> I tried it but only block sites using http not https on the URL.

You keep failing to say what your config actually is. Only that the one
way we know *does* work is not working for you. So we cannot really help.

Details please.

>
> Regards,
> Malvin
>
> On 5/20/2011 4:48 PM, Jason Doran wrote:
>> Hi Malvin.
>> we are blocking facebook here with dstdom_regex:
>>
>> acl my-desktop src 10.10.10.10/32
>> acl facebook dstdom_regex -i facebook.com

lol. Visit this URL:
 
http://ffacefaceafacebookfacecfacegebookwfacebookacomacomwwoof.example.com/

go ahead, try it.

A working facebook block will display a pages explaining that
example.com is reserved by IANA.

Hint: use dstdomain to match domain names.
  dstdom_regex is only very useful when fighting random patterned or
multi-TLD domains.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Fri May 20 2011 - 09:21:22 MDT

This archive was generated by hypermail 2.2.0 : Fri May 20 2011 - 12:00:03 MDT