Enviado em 25/06/2013 - 17:49h
Pessoal, tenho instalado ubuntu 13.04 com squid3
http_port 8080
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid3/access.log
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 500 MB
maximum_object_size 256000 KB
cache_dir ufs /var/cache/squid3 500 16 256
# Identificaç de usuario
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/ACLS/passwd
auth_param basic children 5
auth_param basic realm "Servidor linux"
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
refresh_pattern http://windowsupdate.microsoft.com/ 0 80% 2060 reload-into-ims
# Declarando as ACLS
acl usuarios-liberados proxy_auth "/etc/squid3/ACLS/usuarios-liberados"
acl usuarios-bloqueados proxy_auth "/etc/squid3/ACLS/usuarios-bloqueados"
#acl usuarios-liberados proxy_auth REQUIRED
acl sites-bloqueados dstdom_regex -i "/etc/squid3/ACLS/sites-bloqueados"
acl palavras.negar url_regex -i "/etc/squid3/ACLS/palavras.negar"
acl mess url_regex -i .passport.com
acl sites-permitir url_regex -i "/etc/squid3/ACLS/sites-liberados"
acl proibido url_regex "/etc/squid3/ACLS/palavras.negar"
acl extensoes url_regex -i "/etc/squid3/ACLS/extensoes-negar"
#acl all src 192.168.0.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 3060 #
acl Safe_ports port 7434 #
acl Safe_ports port 10000 # webmin
acl CONNECT method CONNECT
###bloqueado ACLS
http_access allow sites-permitir
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow usuarios-liberados
http_access deny proibido all
http_access deny sites-bloqueados
http_access deny extensoes !sites-permitir
http_access allow usuarios-bloqueados
http_access deny all
icp_access allow all
cache_mgr danilo@heytec.com.br
error_directory /usr/share/squid3/errors/Portuguese
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar e Configurar o Slackware Linux em 2025
Como configurar os repositórios do apt no Debian 12 em 2025
Passkeys: A Evolução da Autenticação Digital
Instalação de distro Linux em computadores, netbooks, etc, em rede com o Clonezilla
Configurando o Conky para iniciar corretamente no sistema
3 configurações básicas que podem melhorar muito a sua edição pelo editor nano
Como colorir os logs do terminal com ccze
Instalação Microsoft Edge no Linux Mint 22
Como configurar posicionamento e movimento de janelas no Lubuntu (Openbox) com atalhos de teclado
firefox nao guarda meus logins nos sites (0)
Erro de segmentação «Segmentation fault (core dumped)» ao retornar obj... (1)