[squid-users] SQUID + TOR

Amos Jeffries squid3 at treenet.co.nz
Tue Dec 19 10:28:57 UTC 2017


On 19/12/17 21:02, C. L. Martinez wrote:
> Hi all,
> 
>   As Squid's wiki shows: 
> https://wiki.squid-cache.org/ConfigExamples/Strange/TorifiedSquid, is it 
> really needed to install privoxy to use squid as a proxy to access 
> .onion domains?

Or some other HTTP<->TOR gateway proxy.


> Is not possible to install only squid+tor an put the 
> following:
> 
> cache_peer localhost parent 9040 7 no-query default
> 
> in squid.conf (9040 port is the port configured as a transportport in 
> torrc)?


Unless something has changed TOR only presents a SOCKS interface which 
privoxy uses, not an HTTP one. So Squid will need *at least* working 
SOCKS support on peer connections before the above behaviour can happen.

The current state of SOCKS support in Squid is detailed at 
<https://wiki.squid-cache.org/Features/Socks> that project is still 
blocked by the testing issues mentioned at the bottom of the page. 
Mostly due to lack of time availability from myself and some others who 
showed interest over the years.

Amos


More information about the squid-users mailing list