removido
(usa Nenhuma)
Enviado em 22/02/2012 - 23:13h
Vou enviar o Squid para verificar mais creio que não vamos resolver tão fácil ..
################# SQUID PROXY ############
http_port 3128 transparent
visible_hostname fredoom
cache_mem 64 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 700 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 2048 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 21 80 443 563 70 210 280 488 59 777 901 1025-65535
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
####################### HORARIO LIBERADO #####################
#### HORARIO LIVRE PARA NAVEGAO #####
acl liberado time MTWHF "/etc/squid/relogio"
acl h_rede src 172.16.1.0/16
acl p_libera dstdom_regex "/etc/squid/libera_palavra_almoco"
acl horario dstdomain "/etc/squid/site.almoco"
http_access allow liberado h_rede horario
http_access allow liberado p_libera
http_access allow liberado horario
#### NAVEGAO LIBERADA NO FIM DE SEMANA ####
acl fim_de_semana time SS
http_access allow fim_de_semana
######################### GRENTE INFORMATIZADO ###############
#### EXCECAO SOCIAIS C/ DOWNLOADS VIDEOS #### > Faz download porém nao acessa pornografia
acl excecao_ip2 src "/etc/squid/ip_excecao2"
acl excecao2 url_regex "/etc/squid/excecao"
http_access allow excecao2 excecao_ip2
#### LIBERANDO DOWNLOAD ####
acl exc_dow src "/etc/squid/ip_excecao2"
acl downloads2 url_regex -i "/etc/squid/downloads"
http_access allow downloads2 exc_dow
#### PALAVRAS EXCECOES REDES SOCIAIS ####
acl execoes_plv src "/etc/squid/ip_excecao2"
acl palavras_exc dstdom_regex "/etc/squid/palavras_ecessoes
http_access allow execoes_plv palavras_exc
#### LIBERANDO VIDEOS ####
#acl exc_dow src "/etc/squid/ip_excecao1"
#acl downloads2 url_regex -i "/etc/squid/downloads2"
#http_access allow downloads2 exc_dow
######################### GERENTE NAO CONFIAVEL ###############
#### EXCECAO REDES SOCIAIS E VIDEOS #### > Nao faz download e nao acessa pornografia
acl excecao_ip src "/etc/squid/ip_excecao1"
acl excecao url_regex "/etc/squid/excecao"
http_access allow excecao excecao_ip
#### PALAVRAS EXCECOES REDES SOCIAIS ####
acl execoes_plv src "/etc/squid/ip_excecao1"
acl palavras_exc dstdom_regex "/etc/squid/palavras_ecessoes
http_access allow execoes_plv palavras_exc
#### LIBERANDO VIDEOS ####
#acl exc_dow src "/etc/squid/ip_excecao1"
#acl downloads2 url_regex -i "/etc/squid/downloads2"
#http_access allow downloads2 exc_dow
##############################################################
#### GRUPO DE IP LIBERADO ####
acl liberados src "/etc/squid/liberados"
http_access allow liberados
##############################################################
#### GRUPO DE IP NEGADO ####
acl negados src "/etc/squid/negados"
http_access deny negados
########################## DOWNLOADS #########################
#### BLOQUEIA DOWNLOADS ####
acl downloads url_regex -i "/etc/squid/downloads"
deny_info
http://www.xxx.com.br/squid/downloads.html">
http://www.xxx.com.br/squid/downloads.html downloads
http_access deny downloads
############################ REDES SOCIAIS #################
#### BLOQUEIA REDES SOCIAIS ####
acl redes_sociais url_regex -i "/etc/squid/redes_sociais"
deny_info
http://www.xxx.com.br/squid/sociais.html">
http://www.xxx.com.br/squid/sociais.html redes_sociais
http_access deny redes_sociais
############################### SITES PROIBIDOS ###############
#### SITES PROIBIDOS ####
acl sites_proibidos url_regex -i "/etc/squid/sites_proibidos"
deny_info
http://www.xxx.com.br/squid/proibidos.html">
http://www.xxx.com.br/squid/proibidos.html sites_proibidos
http_access deny sites_proibidos
########################### PORNOGRAFIA ########################
#### SITES PORNOGRAFICOS ####
acl pornografia url_regex -i "/etc/squid/pornografia
deny_info
http://www.xxx.com.br/squid/[*****].html pornografia
http_access deny pornografia
#### PALAVRAS PORNOGRAFICAS ####
acl palavras_porn dstdom_regex "/etc/squid/palavras_porn
deny_info
http://www.xxx.com.br/squid/pporn.html palavras_porn
http_access deny palavras_porn
########################### PALAVRAS PROIBIDAS ##################
#### PALAVRAS PBOIBIDAS ####
acl palavras dstdom_regex "/etc/squid/palavras"
deny_info
http://www.xxx.com.br/squid/palavras.html palavras
http_access deny palavras
######################### GOOGLE IMAGENS E VIDEOS ##############
#### GOOGLE IMAGENS ####
acl google_imagens url_regex "/etc/squid/google_imagens"
deny_info
http://www.xxx.com.br/squid/imagens.html google_imagens
http_access deny google_imagens
##################### MAC BLOQUEIA OU NEGA #####################
acl mac_libera arp "/etc/squid/mac_libera"
http_access allow mac_libera
acl mac_nega arp "/etc/squid/mac_nega
http_access deny mac_nega
############################### GERAIS ########################
acl redelocal src 172.16.1.0/16
http_access allow localhost
http_access allow redelocal
http_access deny all