## Porta do Squid http_port 3128 ## Regras ACL padrão/gerais do Squid acl SSL_ports port 443 # https acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https 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 CONNECT method CONNECT ## Regras ACL personalizadas pelo administrador acl stringsblock url_regex "/etc/squid/stringsblock" acl sitesblock url_regex "/etc/squid/sitesblock" acl rede src 192.168.1.0/24 acl host src 192.168.1.11 ## Políticas de permissão e negação das ACL http_access deny host http_access deny stringsblock http_access deny sitesblock http_access allow rede http_access deny all ##http_port 3128 ## Cache de disco do Squid cache_mem MB ## Tamanho máximo de arquivo no cache maximum_object_size_in_memory 512 KB ## Diretório e subdiretórios de cache e tamanho máximo cache_dir ufs /var/spool/squid 64 64 512 ## Logs access_log daemon:/var/log/squid/access.log squid coredump_dir /var/spool/squid refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320 ## Linguagem das páginas de erros do Squid error_log_languages on