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
Desktop Linux ganha fôlego enquanto distros refinam experiência e segurança
Wayland em alta, IA em debate e novos ventos para distros e devices
Qt 6.10 e Python 3.14 puxam o ritmo do software livre nesta quarta
Atualizações de Apps, Desktop e Kernel agitam o ecossistema Linux nesta terça-feira
Como mudar o nome de dispositivos Bluetooth via linha de comando
Adicionando o repositório backports no Debian 13 Trixie
Não tenho som no meu Kali linux (0)
Erro ao fazer remaster usando Penguin eggs (2)
Primeiras impressões do Debian 13 (25)
Meu Amigo não consegue entrar em meu mundo, via tailscale, hamachi e z... (1)