Добрый день. Настроил прозрачный сквид и каламариз. Все работает, но....
Вот фрагмент отчета каламариза:
Proxy statistics
--------------------------------------------------------- -------------- ------
Total amount: requests 29826
unique hosts/users: hosts 5
Total Bandwidth: Byte 257M
Proxy efficiency (HIT [kB/sec] / DIRECT [kB/sec]): factor 0.00
Average speed increase: % -0.00
TCP response time of 92.72% requests (requests > 2000 msec skipped):
msec 351 И вот так каждый день. А где эффективность прокси? Или слишком маленький объем?
Конфиг сквида:
http_port 3128
icp_port 0
htcp_port 0
dead_peer_timeout 0 seconds
acl QUERY urlpath_regex cgi-bin \\?
no_cache deny QUERY
cache_mem 64 MB
maximum_object_size 100 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
#cache_dir ufs /var/spool/squid 10000 16 256
cache_dir diskd /var/spool/squid 10000 16 256
cache_store_log none
request_body_max_size 0
refresh_pattern ^http: 0 0% 0 override-expire
refresh_pattern -i \.gif$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.png$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.pdf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.zip$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tar$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.gz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tgz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.exe$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.prz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.ppt$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.inf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.swf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mid$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.wav$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mp3$ 43200 100% 43200 override-lastmod override-expire
#reference_age 1 year
negative_ttl 1 minutes
range_offset_limit 0 KB
peer_connect_timeout 3 seconds
read_timeout 5 minutes
request_timeout 60 seconds
half_closed_clients off
acl clients src хххххх
acl clients src хххххх
acl clients src хххххх
acl all src 0.0.0.0/0.0.0.0
http_access allow clients
http_access deny all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
nonhierarchical_direct off
И еще вопрос а как будут работать через прокси всякие онлайн биржи и тд. и тп.