Problemas com squid

1. Problemas com squid

Gustavo Carneiro Martins
gustavocarneirom

(usa Slackware)

Enviado em 24/02/2008 - 22:31h

A ai pessoal blz?
Estou com um problema no meu squid, ele está startando, não dá nenhuma mensagem de erro só que ele não grava mais os acessos no access.log e as regras de acesso não funcionam mais. ja vi hd, tem espaço, não sei mais o que fazer.

vai ai meu squid.conf

e o cache.conf

me ajuda aehh

http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
redirect_rewrites_host_header on
maximum_object_size 128 MB
minimum_object_size 4 KB
maximum_object_size_in_memory 8192 KB
cache_swap_low 80
cache_swap_high 85
cache_dir ufs /usr/local/squid/cache 100 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
error_directory /usr/local/squid/share/errors/Portuguese
dns_nameservers 200.253.251.32 200.223.0.84
#debug_options ALL,4
#request_header_max_size 128 KB
#request_body_max_size 4096 KB
#refresh_pattern ^ftp: 1440 20% 10080
#refresh_pattern ^gopher: 1440 0% 1440
#refresh_pattern . 0 20% 4320
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 500
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#BLOQUEANDO MSN
#acl HOST_MSN src 192.168.1.40/255.255.255.255
acl Negar_MSN dstdomain "/squid/msn.txt"
acl Negar_MSN2 url_regex "/squid/msn2.txt"
acl msn url_regex -i /gateway/gateway.dll
acl Negados url_regex -i "/squid/negados.txt"
#http_access allow HOST_MSN
http_access deny Negar_MSN
http_access deny Negar_MSN2
http_access deny msn
http_access deny Negados
http_access allow all
http_access allow manager localhost
#http_access deny manager
#http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
detect_broken_pconn on
pipeline_prefetch on



cache.log
2008/02/22 18:27:24| Starting Squid Cache version 2.6.STABLE18-20080213 for i686-pc- linux-gnu...
2008/02/22 18:27:24| Process ID 2900
2008/02/22 18:27:24| With 1024 file descriptors available
2008/02/22 18:27:24| Using epoll for the IO loop
2008/02/22 18:27:24| Performing DNS Tests...
2008/02/22 18:27:24| Successful DNS name lookup tests...
2008/02/22 18:27:24| DNS Socket created at 0.0.0.0, port 32771, FD 6
2008/02/22 18:27:24| Adding nameserver 200.253.251.32 from squid.conf
2008/02/22 18:27:24| Adding nameserver 200.223.0.84 from squid.conf
2008/02/22 18:27:24| Unlinkd pipe opened on FD 11
2008/02/22 18:27:24| Swap maxSize 102400 KB, estimated 7876 objects
2008/02/22 18:27:24| Target number of buckets: 393
2008/02/22 18:27:24| Using 8192 Store buckets
2008/02/22 18:27:24| Max Mem size: 65536 KB
2008/02/22 18:27:24| Max Swap size: 102400 KB
2008/02/22 18:27:24| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2008/02/22 18:27:24| Using Least Load store dir selection
2008/02/22 18:27:24| Current Directory is /
2008/02/22 18:27:24| Loaded Icons.
2008/02/22 18:27:24| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 1$
2008/02/22 18:27:24| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2008/02/22 18:27:24| WCCP Disabled.
2008/02/22 18:27:24| Ready to serve requests.
2008/02/22 18:27:26| Done scanning /usr/local/squid/cache (0 entries)
2008/02/22 18:27:26| Finished rebuilding storage from disk.
2008/02/22 18:27:26| 0 Entries scanned
2008/02/22 18:27:26| 0 Invalid entries.
2008/02/22 18:27:26| 0 With invalid flags.
2008/02/22 18:27:26| 0 Objects loaded.
2008/02/22 18:27:26| 0 Objects expired.
2008/02/22 18:27:26| 0 Objects cancelled.
2008/02/22 18:27:26| 0 Duplicate URLs purged.
2008/02/22 18:27:26| 0 Swapfile clashes avoided.
2008/02/22 18:27:26| Took 2.2 seconds ( 0.0 objects/sec).
2008/02/22 18:27:26| Beginning Validation Procedure
2008/02/22 18:27:26| Completed Validation Procedure
2008/02/22 18:27:26| Validated 0 Entries
2008/02/22 18:27:26| store_swap_size = 0k
2008/02/22 18:27:27| storeLateRelease: released 0 objects





  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts