You are not logged in.

#1 2009-06-03 05:51:26

Czernobog
Member
Registered: 2009-06-01
Posts: 5

Tor - Privoxy

I installed Tor and Privoxy and configured them according to the wiki. I'm using the Arora browser and when I try to navigate to any page I end up with a 503 Forwarding failure.

Forwarding failure
Privoxy was unable to socks4a-forward your request http://check.torproject.org/ through 127.0.0.1: SOCKS request rejected or failed.

Arora is set properly according to everything I could find. Hostname =127.0.0.1 Port = 8118

Tor and Privoxy don't throw any errors when I start them so it looks like I just need to configure something properly but I can't find out what.

All ideas welcome, I've been reading documentation for a couple days now but all most of it says is "Change this, this and this in /etc/privoxy/config/ and everything will work."

Offline

#2 2009-06-03 06:40:03

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Tor - Privoxy

I can't help you with arora since I haven't used it before - can you verify that the problem lies with tor/privoxy by using another browser?  Firefox for example is easily configured to use a proxy and I think it's described on the wiki.  Also, I haven't been able to get tor/privoxy to work on my system following the same wiki article.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2009-06-03 06:54:26

Czernobog
Member
Registered: 2009-06-01
Posts: 5

Re: Tor - Privoxy

graysky wrote:

I can't help you with arora since I haven't used it before - can you verify that the problem lies with tor/privoxy by using another browser?  Firefox for example is easily configured to use a proxy and I think it's described on the wiki.  Also, I haven't been able to get tor/privoxy to work on my system following the same wiki article.

Yes, I get the same error in Firefox whether it's just configured or I use torbutton.

Offline

#4 2009-06-03 07:43:34

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: Tor - Privoxy

You have to modify /etc/hosts.allow to let tor in/out.

Offline

#5 2009-06-03 07:50:54

Czernobog
Member
Registered: 2009-06-01
Posts: 5

Re: Tor - Privoxy

cwjiof wrote:

You have to modify /etc/hosts.allow to let tor in/out.

What do I need to add?

Offline

#6 2009-06-03 17:03:47

Czernobog
Member
Registered: 2009-06-01
Posts: 5

Re: Tor - Privoxy

I read up on /etc/hosts.allow but the man page and whatever I could find on the wiki or through google weren't very helpful. I found some references for other things that need to be added to /etc/hosts.allow so I've been copying those but none of them are working.

So I've added the following things (one of them at a time) to /etc/hosts.allow, then restarted Tor and Privoxy and gotten the exact same error.

#####

ALL: LOCAL
privoxy: 127.0.0.1: ALLOW
tor: 127.0.0.1: ALLOW
#####

ALL: LOCAL
#####

privoxy: 127.0.0.1  
tor: 127.0.0.1
#####

privoxy: 192.168.1.100
tor: 192.168.1.100
#####

privoxy: 192.168.1.100: ALLOW
tor: 192.168.1.100: ALLOW
#####

privoxy: LOCAL
tor: LOCAL
#####

I've mostly been winging it for those entries based on what I read on how to get other daemons working so I've probably been doing it horribly wrong.  Again, all answers appreciated.

Offline

#7 2009-06-03 19:01:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Tor - Privoxy

cwjiof wrote:

You have to modify /etc/hosts.allow to let tor in/out.

Correct me if I'm wrong, but doesn't /etc/hosts.allow only allow incoming stuff?  Outgoing is enabled by default I believe.

@Czernobog - I think you wanna use tcp rather than the names of the software.  See this thread for more.  I dunno which ports you'll need to open up though...?  I would think that the wiki page should tell us, no?  This might not be needed.  I dunno smile

Last edited by graysky (2009-06-03 19:03:20)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2009-06-03 19:20:15

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Tor - Privoxy

graysky wrote:
cwjiof wrote:

You have to modify /etc/hosts.allow to let tor in/out.

Correct me if I'm wrong, but doesn't /etc/hosts.allow only allow incoming stuff?  Outgoing is enabled by default I believe.
...

Requests are forwarded to the proxy server running on localhost and thus incoming from the perspective of the proxy. You thus have to allow incoming requests to the proxy on localhost.

Offline

#9 2009-06-03 19:36:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Tor - Privoxy

@RdN - Ah!  That makes sense.  Thanks for the explanation.  Therefore, the OP does indeed need to add something in the /etc/hosts.allow for it.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2009-06-04 01:40:38

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: Tor - Privoxy

@Czernobog - the simplest way to check if hosts.deny/hosts.allow is a problem is to comment out all entries in hosts.deny and then see if your problem goes away.

I have privoxy/tor installed following the wiki and it works fine BTW.

Offline

#11 2009-06-04 07:36:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Tor - Privoxy

stryder wrote:

@Czernobog - the simplest way to check if hosts.deny/hosts.allow is a problem is to comment out all entries in hosts.deny and then see if your problem goes away.

I have privoxy/tor installed following the wiki and it works fine BTW.

Can you post your /etc/hosts.allow?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#12 2009-06-04 09:03:05

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: Tor - Privoxy

@graysky - I have nothing in hosts.deny (ALL: ALL: DENY commented out) and therefore I don't need anything in hosts.allow. I use a firewall to guard internet access but my lan has no restrictions.

Offline

#13 2009-06-04 18:17:49

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Tor - Privoxy

cwjiof wrote:

You have to modify /etc/hosts.allow to let tor in/out.

Tor/privoxy work on my computer without any modification to my hosts.allow file.

Offline

#14 2009-06-04 18:36:39

Janusz11
Member
Registered: 2007-05-16
Posts: 87

Re: Tor - Privoxy

jt512 wrote:
cwjiof wrote:

You have to modify /etc/hosts.allow to let tor in/out.

Tor/privoxy work on my computer without any modification to my hosts.allow file.

Same here. I never had to make any modifications to the /etc/host.allow file. I just installed privoxy & tor, configured IceCat (HTTP & SSL proxy 127.0.0.1:8118, SOCKS host 127.0.0.1:9050) and added the following line for tor to the /etc/privoxy/config file:

forward-socks4a / 127.0.0.1:9050 .

Never had any problems.

Offline

Board footer

Powered by FluxBB