=?iso-8859-1?q?=5BComm=5D_Re=3A_Squid_=D7=CF=D2=CF=D3_=CB_=CD=C1=CA=CE=D4?= =?iso-8859-1?q?=C5=CA=CE=C5=D2=C1=CD_=D0=C1=CB=C5=D4=C1?=

Serhii Hlodin =?iso-8859-1?q?hlodin_=CE=C1_lutsk=2Ebank=2Egov=2Eua?=
Чт Сен 11 19:30:58 MSD 2003


Специально для тебя не поленился, поставил squid и настроил его. Все
работает. Держи файл конфигурации и марш читать документацию!
Чтобы ты не говорил -- эта конфигурация _полностью_ _рабочая_!

http_port 3128
ssl_unclean_shutdown off
icp_port 3130

cache_replacement_policy heap GDSF

cache_dir ufs /var/spool/squid 100 16 256

emulate_httpd_log off
log_ip_on_direct on

debug_options ALL,1
log_fqdn on

ftp_user Squid@
ftp_passive on
ftp_sanitycheck on

diskd_program /usr/lib/squid/diskd
unlinkd_program /usr/lib/squid/unlinkd

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

authenticate_ttl 1 hour
authenticate_ip_ttl 30 seconds

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320

connect_timeout 5 minutes
peer_connect_timeout 600 seconds
read_timeout 10 minutes
request_timeout 5 minutes

half_closed_clients off
pconn_timeout 600 seconds
shutdown_lifetime 10 seconds

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 Jabber_ports port 5222
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 users proxy_auth REQUIRED

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports !Jabber_ports
http_access deny to_localhost
http_access allow localhost
http_access allow all users
http_access deny all
http_reply_access allow all
icp_access allow all

coredump_dir /var/spool/squid


-- 
With best regards,
                Serhii Hlodin



Подробная информация о списке рассылки community