Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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.
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.
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
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.