>Покажите версии ОС, программ, конфиги и ошибки в логах. Freebsd 6.3, Havp 0.88, squid 2.6 stable 16, clamav 0.94.
Настраивал в основном по этой статье:
http://www.lissyara.su/?id=1662
Конфиг сквида:
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
auth_param basic program /usr/local/libexec/squid/ncsa_auth /usr/local/etc/squid/passwd
#Recommended minimum configuration:
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
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 slow proxy_auth "/usr/local/etc/squid/slow"
acl medium proxy_auth "/usr/local/etc/squid/medium"
acl fast proxy_auth "/usr/local/etc/squid/fast"
http_access allow slow
http_access allow medium
http_access allow fast
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_port 3128
#cache_peer 127.0.0.1 parent 3127 0 default no-query
#acl FTP proto FTP
#always_direct allow FTP
#always_direct allow SSL_Ports
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_dir ufs /usr/local/squid/cache 100 16 256
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
visible_hostname proxy
delay_pools 3
delay_class 1 1
delay_class 2 2
delay_class 3 2
delay_access 1 allow fast
delay_access 1 deny all
delay_access 2 allow medium
delay_access 2 deny all
delay_access 3 allow slow
delay_access 3 deny all
delay_parameters 1 -1/-1
delay_parameters 2 64000/64000 -1/-1
delay_parameters 3 87500/87500 10000/10000
Конфиг Хавпа:
SERVERNUMBER 2
MAXSERVERS 4
ACCESSLOG /var/log/havp/access.log
ERRORLOG /var/log/havp/error.log
LOG_OKS false
FORWARDED_IP true
PORT 3127
BIND_ADDRESS 127.0.0.1
TEMPLATEPATH /usr/local/etc/havp/templates/en
SCANNERTIMEOUT 5
RANGE true
ENABLECLAMLIB true
CLAMDBDIR /var/db/clamav
CLAMMAXFILESIZE 25
CLAMMAXRECURSION 3
ENABLECLAMD false
ENABLEFPROT false
ENABLEAVG false
ENABLEAVESERVER false
ENABLESOPHIE false
ENABLETROPHIE false
ENABLENOD32 false
ENABLEAVAST false
ENABLEARCAVIR false