allainvictor
(usa Ubuntu)
Enviado em 04/02/2011 - 20:42h
No log do squid antes até aparecia alguma coisa, mas agora naum muda nada, nenhum verificação ou mudança!
Será q devo fazer alguma configuração no iptables, regras de firewel? Pq aki no meu pc tah consumindo banda e naum fazendo cache!
segue abaixo meu squid.conf e meu acess.log
SQUID.CONF
##########################################
http_port 3128 transparent
visible_hostname VictorBarroso
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 1024 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 100 MB
minimum_object_size 0 KB
cache_swap_low 95
cache_swap_high 99
cache_dir ufs /var/spool/squid 2048 16 256
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/Portuguese
refresh_pattern -i \.jpeg$ 129600 100% 5781600 override-expire ignore-reload reload-into-ims
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
refresh_pattern -i .flv$ 10080 90% 999999 ignore-no-cache override-expire ignore-private
acl youtube dstdomain .youtube.com
cache allow youtube
acl all src 0.0.0.0/0.0.0.0
cache allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/255.255.255.255
acl Safe_ports port 10000 # webmin
acl Safe_ports port 631 # cups
acl Safe_ports port 901 # samba
acl SSL_ports port 443 563 1834 1863 4242 # SSL
acl Safe_ports port 80 8080 # 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 CONNECT method CONNECT
http_access allow all localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl redelocal src 192.168.2.0/24
http_access allow localhost
http_access allow all
http_access allow redelocal
###################################################
acess.log
1296792729.283 4820 192.168.2.14 TCP_MISS/404 745 GET
http://ppa.launchpad.net/elementaryart/ppa/ubuntu/dists/maverick/main/i18n/Translation-en.bz2 - DIRECT/91.189.90.217 text/html