You are not logged in.

#1 2010-03-10 13:41:27

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Tor can't reach local HTTP proxy after Polipo

I'm clueless about this. I've installed Tor and Polipo, configuring them both as ArchWiki says.

The message Torbutton gives me is the next:

Tor proxy test: Local HTTP Proxy is unreachable. Is Polipo running properly?

I'm thought that it may be some permission problem. I've /etc/polipo/config belonging to polipo user and polipo group, with 775 permissions. My user is in polipo group. I've tried to with normal root permissions for the file, but it doesn't changes anything.

Offline

#2 2010-03-10 14:02:13

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Tor can't reach local HTTP proxy after Polipo

you might have more luck with foxyproxy basic than torbutton - I've never gotten torbutton to work on linux before

also make sure that the local ports are configured properly (firefox ---> polipo/privoxy ---> tor)

Offline

#3 2010-03-10 15:10:19

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Tor can't reach local HTTP proxy after Polipo

Do you have polipo set up to properly forward to tor?

Something like:

# Uncomment this if you want to use a parent SOCKS proxy:

socksParentProxy = "localhost:9050"
socksProxyType = socks5

Then make sure polipo is set to use port 8118 (I believe polipo by default uses port 8123 while I believe torbutton assumes 8118 by default)

something like:

proxyAddress = "127.0.0.1"
proxyPort = 8118

If both polipo and tor as well as the machine making the request are nto all on the same machine you also need to be aware of possible access restriction issues with both polipo and also I believe tor itself.

# If you do that, you'll want to restrict the set of hosts allowed to
# connect:

# allowedClients = "127.0.0.1, 134.157.168.57"
# allowedClients = "127.0.0.1, 134.157.168.0/24"

allowedClients = 127.0.0.1
allowedPorts = 1-65535

Last edited by davidm (2010-03-10 15:16:03)

Offline

#4 2010-03-10 15:12:44

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Tor can't reach local HTTP proxy after Polipo

thestinger wrote:

you might have more luck with foxyproxy basic than torbutton - I've never gotten torbutton to work on linux before

also make sure that the local ports are configured properly (firefox ---> polipo/privoxy ---> tor)

Strange. I've had really good luck with torbutton on Linux and haven't had an issue.

Offline

#5 2010-03-12 23:05:57

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Tor can't reach local HTTP proxy after Polipo

No case davidm. I checked everything. The error message is the same, and on a console it gives this:

[03-11 23:03:30] Torbutton WARN: Test failed! HTTP proxy down or request blocked!

Thanks for the recomendation thestinger! I'll try it, but right now I want to get this working.

Offline

#6 2010-03-14 14:32:13

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Tor can't reach local HTTP proxy after Polipo

Someone knows how can I diagnose this?

Offline

#7 2010-03-14 21:49:44

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Tor can't reach local HTTP proxy after Polipo

JMO wrote:

Someone knows how can I diagnose this?

I was wondering the same thing...

Edit: nvm, I didn't notice that after some update or whatever "Use Polipo" was checked. tor/privoxy work fine according to the wiki, I haven't tried polipo yet. Is polipo worth using?

Last edited by 1LordAnubis (2010-03-14 22:10:40)


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#8 2010-03-14 23:32:57

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Tor can't reach local HTTP proxy after Polipo

@1LordAnubis

polipo is a caching proxy and it has http pipelining so it's worth using if you want the extra speed - but you can do a lot more security/privacy stuff with privoxy

I recommend switching to polipo if you aren't using all the extra features privoxy offers

Offline

#9 2010-03-15 02:17:16

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Tor can't reach local HTTP proxy after Polipo

Interesting, I guess I'll stick to privoxy for now since I don't use tor all that much.

@JMO Something peculiar that happened to me that you might want to try is starting privoxy *then* tor
For some reason if I start tor then privoxy, torbutton doesn't seem to work...


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#10 2010-03-15 21:02:34

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Tor can't reach local HTTP proxy after Polipo

Well, here are some clues.

Starting polipo daemon as root, I receive always this message:

rm: «/var/run/polipo/polipo.pid» can't be deleted: There is not such file or directory

And as user, running polipo gives me always:

Couldn't determine host name -- using ``polipo''.

Offline

#11 2010-03-15 21:03:37

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: Tor can't reach local HTTP proxy after Polipo

1LordAnubis wrote:

@JMO Something peculiar that happened to me that you might want to try is starting privoxy *then* tor
For some reason if I start tor then privoxy, torbutton doesn't seem to work...

Privoxy isn't working now either. That's weird, but points that the problem probably isn't with Privoxy or Polipo, but something else.

Offline

Board footer

Powered by FluxBB