LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-01-2011, 05:53 PM   #1
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Rep: Reputation: 3
Privoxy + Tor 503 Error in .onion and localhost


Hello!
I've installed and configured TOR and Privoxy in my computer. It works really well, but it has a problem:
I've been trying to access .onion directions and localhost (localhost, 127.0.0.1, 192.168.1.1) and it throws a 503 error:
Code:
503	
This is Privoxy 3.0.17 on localhost (127.0.0.1), port 8118, enabled
Forwarding failure
Privoxy was unable to socks4a-forward your request http://localhost/ through localhost: SOCKS request rejected or failed.

Just try again to see if this is a temporary problem, or check your forwarding settings and make sure that all forwarding servers are working correctly and listening where they are supposed to be listening.
I'd like to enter to localhost because I want to try a script.

I'm using Chromium Browser with the default flags: -proxy-server=127.0.0.1:8118 in a config file (I can't remember now its exact position)

Thank you in advance
 
Old 10-02-2011, 09:04 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,679
Blog Entries: 54

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
AFAIK TOR has no concept of "localhost" because for the TOR end point it resolves to its own localhost. Try setting up your own .onion server address and using that instead?
 
Old 10-02-2011, 01:15 PM   #3
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Original Poster
Rep: Reputation: 3
I think I didn't explain clearly enough.

I'll change my question:

How can I access localhost while my browser is behind TOR and Privoxy in localhost:8118? (forget .onion adresses)
 
Old 10-02-2011, 02:03 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,679
Blog Entries: 54

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
Exclude localhost in your browser?
 
Old 10-02-2011, 02:28 PM   #5
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Original Poster
Rep: Reputation: 3
I tried so, but I wasn't able to omit localhost neither in Privoxy nor Chromium
 
Old 10-02-2011, 04:46 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,679
Blog Entries: 54

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
Dunno about Chrome but Privoxys configuration file does show clear examples how to avoid forwarding regular and SOCKS traffic:
Code:
# Here's your conduit into TOR:
forward-socks4a / localhost:8118
# ...and here excluding HTTP on localhost:
forward localhost:80 .

Last edited by unSpawn; 10-02-2011 at 06:03 PM. Reason: //Example
 
Old 10-04-2011, 12:15 PM   #7
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Original Poster
Rep: Reputation: 3
It works now!

I made a mess because I was trying to apply actions into user.action file, and I wasn't able to configure it properly.

Thank you so much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tor and privoxy phantom_cyph Linux - Software 4 10-30-2007 05:25 PM
Tor and privoxy gabsik Linux - Networking 1 12-26-2005 02:57 PM
Tor Onion Network on SuSE 10.0 GM atlaika Suse/Novell 0 10-19-2005 07:32 PM
Privoxy and tor z3nith Linux - Software 2 10-01-2005 10:31 PM
Tor Onion Router Setup KDE Suse 9.3 botman Suse/Novell 1 08-10-2005 02:42 PM


All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration