freebsd 6.2, squid 2.6.STABLE16, билд стандартный, работает в режиме прозрачного прокси с перенаправлением всех запросов (кроме некоторых айпи) на родительский прокси.
конфиг, за исключением вышеуказанного cache-peer, вроде стандартный.
не кэширует вообще ничего. шо за фигня??
в аксесс.лог - постоянно TCP_MISS, ни одного TCP_HIT, в store.log - одни RELEASE.
каталоги кэша создавались squid -z. где копать, почему не кэширует?конфиг:
http_port 192.168.70.138:3128 transparent
icp_port 0
cache_effective_user squid
cache_effective_group squid
cache_log /usr/local/log/squid/cache.log
access_log /usr/local/log/squid/access.log
# Parent neighbour
cache_peer 195.58.1.134 parent 3128 0 no-query default
prefer_direct off
acl direct_nets dst "/usr/local/etc/squid/direct_nets.txt"
acl local_nets dst 192.168.70.128/26
always_direct allow direct_nets
always_direct allow local_nets
dead_peer_timeout 15 seconds
acl QUERY urlpath_regex cgi-bin \\?
cache deny QUERY
cache_mem 64 MB
maximum_object_size 16 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB
cache_dir ufs /usr/local/squid/var/cache 512 16 256
refresh_pattern ^ftp: &n... 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 60 20% 4320 reload-into-ims override-expire
minimum_expiry_time 60 seconds
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
request_body_max_size 0
negative_ttl 1 minutes
range_offset_limit 0 KB
peer_connect_timeout 15 seconds
read_timeout 5 minutes
request_timeout 60 seconds
half_closed_clients off
ftp_passive on
#acl lists
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 CONNECT method CONNECT
acl clients src "/usr/local/etc/squid/clients.txt"
acl all src 0.0.0.0/0.0.0.0
acl BANNER url_regex banner reklama linkexch banpics us\.yimg\.com[\./\ad[s]?[\./]
acl reklama url_regex -i "/usr/local/etc/squid/banned"
acl unbanned url_regex -i "/usr/local/etc/squid/unbanned"
http_access deny reklama
http_access deny BANNER
http_access allow unbanned
http_access allow clients
http_access deny all
request_entities on