Search squid archive

RES: How can I block a https site?

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

 



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@xxxxxxxxxxxx] 
Enviada em: terça-feira, 21 de outubro de 2008 17:23
Para: Lucas Brasilino
Cc: Ricardo Augusto de Souza; squid-users@xxxxxxxxxxxxxxx
Assunto: Re:  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@xxxxxxxxxxxx




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

  Powered by Linux