[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring Tor and Privoxy in Squeeze [SOLVED]



On Wed, Jun 03, 2009 at 18:31:43 +0100, AG wrote:
>> AG wrote:
>>> Hello
>>>
>>> I am attempting to get Tor and Privoxy working with Iceweasel, but it 
>>> keeps throwing up errors.

[...]

>>> The following is my /etc/privoxy/config file (without the commented  
>>> sections):

[...]

>>> listen-address  localhost:8118

[...]

> I  purged tor and privoxy, adjusted my sources.list to lenny and  
> reinstalled both tor and privoxy, amended privoxy/config and restarted  
> privoxy.  Then I fired up Iceweasel and viola! I now have an active tor  
> and privoxy arrangement.

I have now managed to reproduce your problem by configuring privoxy to
listen on the ipv6 address of localhost, i.e. by making this change to
/etc/privoxy/config:

listen-address  [::1]:8118

As soon as I restart privoxy after that, the iceweasel/privoxy/tor
combination stops working.

This means that the problem is definitely related to the ipv6 patch. The
error message that you posted in one of your previous messages also
suggests that your communictaion problem was between iceweasel and
privoxy.

> So, the version of privoxy that appears to work best for me is 3.0.9-1,  
> whilst the one that didn't was 3.0.12-2_i386  I don't know why or how,  
> but there you go.

That makes sense because the Lenny version does not have the ipv6 patch.
(The patch was disabled in version 3.0.5-beta-3 and reenabled in
3.0.10-2.) I bet that you now find privoxy listening on 127.0.0.1:8118
if you run the "netstat -plant" command again.

It seems that "localhost" resolves to the ipv6 address on your system,
at least as far as the privoxy configuration is concerned, while for me
it still yields the ipv4 address. The following might therefore be a
workaround for the 3.0.12-2 version of privoxy on your installation:

listen-address  127.0.0.1:8118

It would probably be better to find out why "localhost" is interpreted
differently on your box. To this end, I would like to see the output of

getent hosts localhost

and the contents of your /etc/hosts file.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: