LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2012, 04:02 PM   #1
cheddarcheese
Member
 
Registered: Aug 2011
Location: Massachusetts, USA
Distribution: Fedora; Centos; Puppy
Posts: 116

Rep: Reputation: 7
Fedora 12 | Tor | FoxyProxy | Privoxy | Virtual Machine


Hi,

I just set up a virtual machine with Virtual Box, and installed Fedora 12 on it (v.12 because I already had a CD with it on). My intention was/is to set up Privoxy and Tor to use with Firefox, using the FoxyProxy add-on for Firefox.

I've done this before on Windows, and it worked fine. I guessed I might have some troubles with SELinux, and I did, so for the moment I've disabled SELinux temporarily, so that's not part of this issue.

Anyway, I downloaded and installed Tor and Privoxy, and managed to get them running okay, with no issues. Both start up alright with no errors. I also installed the FoxyProxy Basic addon for FireFox, and went through the Tor Wizard config.

For anyone familiar with FoxyProxy they will know the little orange/blue button to enable/disable FoxyProxy, and how to use it to ensure that all URLs use FoxyProxy, etc. So, when the button is blue, and twirling around, it's meant to be using the proxy which is configured for it.

Well, the button does twirl around, and there is a delay in the page fetching which is approximately equivalent to the usual length of time one waits for Tor requests, but, despite several attempts at configuring it every way I can think of, every time I check my IP address on a remote site it displays my public IP address (i.e. not a Tor address). Yet, no errors are reported anywhere, and Tor and Privoxy are definitely running.

There's also a Tor site where one can confirm, or not, if the browsing session is using Tor, and each time I test it, the site reports that I am not.

If anyone else has suffered through trying to get Tor/FoxyProxy/Privoxy working on Fedora, and has any ideas, then they would be much appreciated.

Might not be able to respond for a few days because I'll be away, but I'll definitely check on any responses when I return, and respond accordingly.

Thanks in advance!
 
Old 06-23-2012, 02:55 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by cheddarcheese View Post
I (..) installed Fedora 12 on it (v.12 because I already had a CD with it on).
Wrong reason. Install a distribution release because it is recent, supported and maintained which is not Fedora 12 but 17 by now.


Quote:
Originally Posted by cheddarcheese View Post
I downloaded and installed Tor and Privoxy, and managed to get them running okay, with no issues. Both start up alright with no errors.
FoxyProxy may make things easier to use but please first ensure requests going through Privoxy actually are routed through and processed by TOR by running 'curl --connect-timeout 25 --max-time 15 -s -x privoxy_addressrivoxy_port -A "Mozilla/4.0" -H 'Cache-Control: no-cache' http://some.site;' and then checking their log file contents. If unsure post, preferably in BB code tags, curl output, log excerpts and configuration file contents, the latter cleaned like this: 'grep -v ^# /etc/privoxy/config|grep .;' and the same for /etc/tor/torrc. Before posting check if you need to obfuscate any unique identifiers.
 
Old 06-25-2012, 09:56 AM   #3
cheddarcheese
Member
 
Registered: Aug 2011
Location: Massachusetts, USA
Distribution: Fedora; Centos; Puppy
Posts: 116

Original Poster
Rep: Reputation: 7
Thanks for the reply. I don't seem to even be able to get Privoxy starting now though, for some reason. The log file doesn't show anything since Thursday, when i first attempted this, which shows:

Quote:
Jun 21 15:13:09.218 b778c6c0 Fatal error: can't bind to 127.0.0.1:8118: The hostname is not resolvable
Privoxy config file is posted below:

Code:
# Tor listens as a SOCKS4a proxy here:
forward-socks4a / 127.0.0.1:9050
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile standard  # Internal purpose, recommended
actionsfile default   # Main actions file
actionsfile user      # User customizations
filterfile default.filter

#logfile logfile
#jarfile jarfile
#debug   0    # show each GET/POST/CONNECT request
debug   4096 # Startup banner and warnings
debug   8192 # Errors - *we highly recommended enabling this*

user-manual /usr/share/doc/privoxy/user-manual
listen-address  127.0.0.1:8118
toggle  1
enable-remote-toggle 0
enable-edit-actions 0
enable-remote-http-toggle 0
buffer-limit 4096
Tor starts okay, but I'm kind of lost with this really. I guess the first thing is to actually get Privoxy running, but I've no idea why it no longer starts.

Last edited by cheddarcheese; 06-25-2012 at 09:57 AM.
 
Old 06-25-2012, 10:25 AM   #4
cheddarcheese
Member
 
Registered: Aug 2011
Location: Massachusetts, USA
Distribution: Fedora; Centos; Puppy
Posts: 116

Original Poster
Rep: Reputation: 7
Actually, I have no need to pursue this any longer, as I managed to get the Tor bundle from the Tor website working properly, as opposed to installing the bits of software separately via yum. Thanks for your help anyway - appreciated.
 
Old 06-25-2012, 10:39 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by cheddarcheese View Post
Thanks for the reply. I don't seem to even be able to get Privoxy starting now though, for some reason. The log file doesn't show anything since Thursday, when i first attempted this, which shows:
Code:
Jun 21 15:13:09.218 b778c6c0 Fatal error: can't bind to 127.0.0.1:8118: The hostname is not resolvable
In /etc/hosts 127.0.0.1 may have an alias but should have the primary name "localhost".


Quote:
Originally Posted by cheddarcheese View Post
Actually, I have no need to pursue this any longer
Thanks for letting us know. But it's a shame really because this way you haven't learned what minimal configuration services require, knowing about it might come in handy later on...
 
  


Reply



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
LXer: How To Set Up A TOR Middlebox Routing All VirtualBox Virtual Machine Traffic Over The TOR Netw LXer Syndicated Linux News 0 02-08-2012 11:30 AM
Using Privoxy and Tor dccombs Linux - Software 6 03-28-2010 02:43 AM
tor and privoxy phantom_cyph Linux - Software 4 10-30-2007 04:25 PM
Tor and privoxy gabsik Linux - Networking 1 12-26-2005 01:57 PM
Privoxy and tor z3nith Linux - Software 2 10-01-2005 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:07 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
Open Source Consulting | Domain Registration