LinuxQuestions.org
Review your favorite Linux distribution.
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 03-27-2010, 12:33 PM   #1
dccombs
LQ Newbie
 
Registered: Jan 2008
Location: New Jersey USA
Distribution: Mandriva 2009.1/PCLOS LXDE
Posts: 23

Rep: Reputation: 15
Using Privoxy and Tor


I am using Mandriva Spring 2009.1.

I have installed both Privoxy, Tor, and both are running.

I installed the "Tor Button" extension for firefox

When I right click the Tor Button and select preferences, under the proxt settings tab:

I checked : use custom proxy settiing

HTTP Proxy: 127.0.0.1 Port: 8118
SSL proxy: 127.0.0.1 Port: 8118
FTP Proxy: (blank) Port: 0
Gopher Proxy: (blank) Port:0
SOCKS Host: 127.0.0.1 Port: 9050
*SOCK v5 is checked
No Proxies for: 127.0.0.1

When I click the "test settings" button, I get a message saying the settings failed. This happens using the custom proxy settings, and alos when using "the recommended settings for my version of Firefox (3.0.18)

Any help would be appreciated. I'm no genius, so please be detailed with any instructions....Thanks in advance.
 
Old 03-27-2010, 01:27 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
If TOR and Privoxy are configured OK then you could do without TOR button and just configure settings manually?
 
Old 03-27-2010, 03:36 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
First see if tor is started correctly, and if the circuits are created.
Take a look at the log files for errors.

Also you need to add
Code:
forward-socks4a / localhost:9050 .
at the end of
Code:
/etc/privoxy/config
Don't forget the . add the end

Last edited by repo; 03-27-2010 at 03:50 PM.
 
Old 03-27-2010, 05:59 PM   #4
dccombs
LQ Newbie
 
Registered: Jan 2008
Location: New Jersey USA
Distribution: Mandriva 2009.1/PCLOS LXDE
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
First see if tor is started correctly, and if the circuits are created.
Take a look at the log files for errors.

Also you need to add
Code:
forward-socks4a / localhost:9050 .
at the end of
Code:
/etc/privoxy/config
Don't forget the . add the end

Thanks for the reply.

I am confused. When I go to etc/logrotade.d/tor :
Code:
/var/log/tor/*.log {
        daily
        rotate 5
        compress
        delaycompress
        missingok
        notifempty
        sharedscripts
        postrotate
                service tor reload > /dev/null
        endscript
}
As I wrote earlier, I am no Linux Genius.

How can I edit /etc/privoxy/config to add the line at the end you mention? Mandriva doesn"t have an option to log in as root, and I have forgotten how to edit a file as root.

Thanks again....sorry for the stupid qustions.
 
Old 03-27-2010, 09:49 PM   #5
dccombs
LQ Newbie
 
Registered: Jan 2008
Location: New Jersey USA
Distribution: Mandriva 2009.1/PCLOS LXDE
Posts: 23

Original Poster
Rep: Reputation: 15
When I open a console, then su, and my root password, then tyope: /etc/privoxy/config.....i get permission denied.....why would that be when doing this as root?
 
Old 03-27-2010, 11:01 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Because you are asking the shell to execute a configuration file. Better you edit it.
 
Old 03-28-2010, 02:43 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
open a terminal and login as root, using su
then type
Code:
nano /etc/privoxy/config
or, if nano isn't installed
Code:
vi /etc/privoxy/config
make the changes and restart privoxy
For the logfiles,open a terminal, login as root, using su and type
Code:
cat /var/log/tor/notices.log
However, the place and names of the logfiles depend on the configuration in
Code:
/etc/tor/torrc

Last edited by repo; 03-28-2010 at 02:45 AM.
 
  


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 04:25 PM
Squid,Tor,Privoxy gabsik Linux - Networking 1 08-07-2006 10:51 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
Tor & Privoxy esage Linux - Software 3 07-25-2005 10:35 PM

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

All times are GMT -5. The time now is 01:16 PM.

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