ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Вадим Илларионов" <master@usib.irkps.ru>
To: community@altlinux.ru
Subject: Re: [Comm] privoxy and squid
Date: Fri, 28 Jan 2005 14:51:07 +0800
Message-ID: <200501281451.08006.master@usib.irkps.ru> (raw)
In-Reply-To: <41F7669F.50304@voliacable.com>

В сообщении от 26 Январь 2005 17:45 Yuri Horoshkov написал(a):
> Хочу снизить трафик, но не могу сообразить, как идеологически правильно
> выстроить связку прокси, так:
> privoxy -> squid
> или так:
> squid ->privoxy
> Понимаю, что надо форвардить один из прокси-серверов, но меня смущает
> необходимость ссылки на 127.0.0.1:port, является ли это корректным,
> например, для squid.
> Спасибо.

Цитата из мануала:
==========================
If you intend to chain Privoxy and squid locally,
then chain as browser -> squid -> privoxy is the recommended way. 

Assuming that Privoxy and squid run on the same box, your squid configuration 
could then look like this:

  # Define Privoxy as parent proxy (without ICP) 
  cache_peer 127.0.0.1 parent 8118 7 no-query 

  # Define ACL for protocol FTP 
  acl ftp proto FTP 

  # Do not forward FTP requests to Privoxy
  always_direct allow ftp 

  # Forward all the rest to Privoxy
  never_direct allow all

You would then need to change your browser's proxy settings to squid's address 
and port. Squid normally uses port 3128. If unsure consult http_port in 
squid.conf.
==========================
________________________
С уважением,
Вадим Илларионов
системный администратор
Усолье-Сибирский почтамт
Jabber: see <mailto:>
ICQ: suxx


  parent reply	other threads:[~2005-01-28  6:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-26  9:45 Yuri Horoshkov
2005-01-26 10:00 ` [Comm] " Konstantin A. Lepikhov
2005-01-26 11:07   ` Yuri Horoshkov
2005-01-26 11:28     ` Alexey Morsov
2005-01-26 11:49       ` Konstantin A. Lepikhov
2005-01-26 12:14         ` Alexey Morsov
2005-01-26 12:22           ` Konstantin A. Lepikhov
2005-01-26 12:26             ` Alexey Morsov
2005-01-26 19:24               ` Kolotov Alexandr
2005-01-26 13:46         ` Mike Lykov
2005-01-26 14:20           ` Konstantin A. Lepikhov
2005-01-26 14:32             ` Mike Lykov
2005-01-26 14:44               ` [Comm] [JT] " Konstantin A. Lepikhov
2005-01-27  7:38             ` [Comm] " Беляев Владимир Николаевич
2005-01-27  8:08               ` [Comm] Проблемы обновления firefox и krusader из Сизифа max
2005-01-27  9:19               ` [Comm] Re: privoxy and squid Konstantin A. Lepikhov
2005-01-27 10:05                 ` Sergey Golovin
2005-01-27 11:20                   ` Konstantin A. Lepikhov
2005-01-26 11:59       ` Yuri Horoshkov
2005-01-26 11:51     ` Konstantin A. Lepikhov
2005-01-26 12:10       ` Yuri Horoshkov
2005-01-28  6:51 ` Вадим Илларионов [this message]
2005-01-28  8:23   ` [Comm] " Yuri Horoshkov

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=200501281451.08006.master@usib.irkps.ru \
    --to=master@usib.irkps.ru \
    --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