Ol� a todos, Configurei o squid como proxy transparente, em princ�pio ele funcionou, entretanto h� momentos que ele est� rodando, mas n�o vejo economia de banda, ou seja, utiliza��o do cache. Utilizo o iptraf para checar o consumo de banda. Abaixo est� o meu squid.conf:
#Tags ACL - Regras de Acesso 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 to_localhost dst 127.0.0.0/8 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 underline url_regex _ acl CONNECT method CONNECT acl intranet_results src 172.16.1.0/24 acl results src 10.10.2.2 acl paulovidigal src 172.16.2.7 acl loft src 172.16.2.3 acl salesvane src 172.16.2.5 acl rafaello src 10.16.2.0/24 acl vilage src 10.16.3.0/24 acl empresa_juninho src 10.16.5.2 acl nova_europa src 10.16.4.0/24 acl lavanderia_paulistana src 10.16.6.0/24 acl jd_vila_real src 10.16.7.0/24 acl morada_sol src 10.16.8.0/24 #acl senha proxy_auth REQUIRED #Tags Http - Permite/Nega acesso http_access allow intranet_results http_access allow results http_access allow paulovidigal http_access allow loft http_access allow salesvane http_access allow rafaello http_access allow vilage http_access allow empresa_juninho http_access allow nova_europa http_access allow lavanderia_paulistana http_access allow jd_vila_real http_access allow morada_sol http_access allow underline http_access allow manager localhost http_access allow manager #http_access deny !Safe_ports #http_access deny CONNECT !SSL_ports http_access allow localhost http_reply_access allow all icp_access allow all coredump_dir /var/spool/squid #Tags - Proxy transparente httpd_accel_host virtual httpd_accel_port 80 #httpd_accel_single_host off httpd_accel_with_proxy on httpd_accel_uses_host_header on tcp_outgoing_address 255.255.255.255 udp_incoming_address 0.0.0.0 udp_outgoing_address 255.255.255.255 ie_refresh on http_port 3128 icp_port 0 #configuracoes de cache cache_mem 500 MB maximum_object_size 32 MB maximum_object_size_in_memory 48 KB cache_swap_low 95 cache_swap_high 98 cache_dir ufs /var/squid/cache 500 16 254 -- Lu�s Henrique de Faria Guimar�es Tecnologia Tel.: 3961-3200 http://www.results.com.br --------------------------------------------------------------------------- Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br Regras de utiliza��o da lista: http://linux-br.conectiva.com.br FAQ: http://www.zago.eti.br/menu.html
