ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serhii Hlodin <hlodin@lutsk.bank.gov.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ
Date: Thu, 11 Sep 2003 15:30:58 -0000
Message-ID: <86n0dbqr3r.fsf@hlodin.lutsk.bank.gov.ua> (raw)
In-Reply-To: <86wucfquwq.fsf@hlodin.lutsk.bank.gov.ua>

Специально для тебя не поленился, поставил 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


  parent reply	other threads:[~2003-09-11 15:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 10:40 [Comm] Squid ворос к майнтейнерам пакета Maxim Ivanov
2003-09-11 10:51 ` [Comm] Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ Serhii Hlodin
2003-09-11 11:03   ` [Comm] Squid ворос к майнтейнерам пакета Maxim Ivanov
2003-09-11 11:07     ` [Comm] " Vitaly Ostanin
2003-09-11 11:16     ` [Comm] " Mike Lykov
2003-09-11 12:49       ` Maxim Ivanov
2003-09-11 13:16         ` [Comm] " Vitaly Ostanin
2003-09-11 13:49           ` Maxim Ivanov
2003-09-11 14:08             ` [Comm] Re: Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ Serhii Hlodin
2003-09-11 14:21               ` [Comm] Re: Squid ворос к майнтейнерам пакета Maxim Ivanov
2003-09-11 14:40                 ` [Comm] Re: Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ Serhii Hlodin
2003-09-11 15:30               ` Serhii Hlodin [this message]
2003-09-11 16:00                 ` [Comm] Re: Squid ворос к майнтейнерам пакета Maxim Ivanov
2003-09-12  6:13                   ` [Comm] Re: Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ Serhii Hlodin
2003-09-12  4:28             ` [Comm] Re: Squid ворос к майнтейнерам пакета Mike Lykov
2003-09-11 13:26         ` [Comm] " Eugene Ostapets
2003-09-11 11:16     ` Sergey Degtyaryov
2003-09-11 11:20     ` Maxim.Savrilov
2003-09-11 11:37     ` Rinat Bikatov
2003-09-11 11:42     ` [Comm] Squid ×ÏÒÏÓ Ë ÍÁÊÎÔÅÊÎÅÒÁÍ ÐÁËÅÔÁ Serhii Hlodin
2003-09-11 11:58 ` [Comm] Squid ворос к майнтейнерам пакета BSW
2003-09-12 12:50 ` [Comm] USB Modem Vitaliy Adamov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86n0dbqr3r.fsf@hlodin.lutsk.bank.gov.ua \
    --to=hlodin@lutsk.bank.gov.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git