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

From: Ricardo Augusto de Souza <ricardo.souza_at_cmtsp.com.br>
Date: Tue, 21 Oct 2008 17:26:41 -0200

Also failed.
I AM still able to open https://imo.im

# cat squid.conf|grep sites_bloque
acl sites_bloqueados url_regex -i "/etc/squid/sites_bloqueados.txt"
http_access deny sites_bloqueados

# cat sites_bloqueados.txt
www.powerscrap.com
au.download.windowsupdate.com
ebuddy.com
webmsn
meebo.com
meebo.com.br
iloveim.com
webmessenger.msn.com
video.globo.com
imo.im
#

-----Mensagem original-----
De: Alejandro Bednarik [mailto:alejandro_at_xtech.com.ar]
Enviada em: terça-feira, 21 de outubro de 2008 17:23
Para: Lucas Brasilino
Cc: Ricardo Augusto de Souza; squid-users_at_squid-cache.org
Assunto: Re: [squid-users] How can I block a https site?

 You can also use url_regex -i

 acl bad_sites url_regex -i "/etc/squid/bad_sites.txt"
 http_access deny bad_sites

Cheers!.

Lucas Brasilino wrote:
>> Hi,
>
> Hi
>
>> How do i block HTTPS sites?
>>
>> I am using this I squid.conf:
>
> acl CONNECT method CONNECT
> acl bad_sites dstdomain "/etc/squid/bad_sites.txt"
> http_access deny bad_sites
> http_access deny bad_sites CONNECT
>
>
> This should work....
>
> regards
> Lucas Brasilino
>
>>
>> # 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
>>
>> How do I block it?
>>
>> thanks
>>
>
>

-- 
 Alejandro Bednarik
 XTech - Soluciones Linux para Empresas
 (011) 5219-0678
 alejandro_at_xtech.com.ar
Received on Tue Oct 21 2008 - 19:27:07 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 22 2008 - 12:00:05 MDT