Massimo B.  wrote:

> Actually I would go the lazy transparent proxy (intercepting) way like
> this: I would not set parentProxy at all for Polipo, but forward all
> leaving traffic for 80 (http) to some 3128 of the outside proxy. That
> always worked the same as setting a proxy for all clients. That would give
> the opportunity to add some exception rules for that transparent
> forwarding.

I think I have my setup now:
https://www.mail-archive.com/[email protected]/msg00476.html

[Polipo-users] HowTo use polipo as a intercepting (transparent) proxy :)

I just use privoxy in front of polipo. This is configured with

,----[ /etc/privoxy/config ]
| accept-intercepted-requests 1
| forward / localhost:812
`----

Now I'm able to have simple REDIRECT and no http_proxy environment at all.

shorewall-rules:

,----[ /etc/shorewall/rules ]
| REDIRECT fw 8118 tcp http - !172.14.0.0/12,192.168.0.0/16,127.0.0.1
`----

                               /---> parentProxy#2
                               |(URL: http://gitrepo)
wget      |                    |
git       |80->8118            /
firefox   |--------> privoxy ---> polipo ---> parentProxy#1
opera     |   \
etc.      |   |
              |(dst: 192.168.0.1 etc.)
              \----> DIRECT


Using iptable redirects it is possible to set different proxies for 
different destination hosts, which polipo cannot.
Having privoxy first I have also there the option to set different 
parentProxies URL-specific, which polipo cannot.

For some situations I would prefer to have privoxy behind polipo for having 
all data cached. Now for all redirects not going to parentProxy#1 I loose 
the polipo caching. But having privoxy behind polipo I loose the 
intercepting proxy functionality of privoxy.

For now I'm getting used to privoxy with default filter setup. It has little 
performance impact. This could even be reduced by toggling privoxy off and 
use it as forward only intercepting proxy.

Best regards,
Massimo


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to