[Comm] privoxy and squid

Вадим Илларионов =?iso-8859-1?q?master_=CE=C1_usib=2Eirkps=2Eru?=
Пт Янв 28 09:51:07 MSK 2005


В сообщении от 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



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