LinuxQuestions.org
Visit Jeremy's Blog.
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 11-03-2007, 01:09 PM   #1
seighalani
Member
 
Registered: Aug 2007
Posts: 101

Rep: Reputation: 15
Question tor confgur


hi everyone

I install tor in my fedora7. but it doesnt work. I started according this:
#yum install tor
#yum install privoxy
install Torbutton plugin
in path /etc/privoxy/config added this line at the top of privoxy:
forward-socks4a / 127.0.0.1:9050 .
http://i3.tinypic.com/66iytl5.png
but it didnt work and showed me an error:
http://i14.tinypic.com/4muhdp2.png

how can i configure tor?

source:http://www.torproject.org/docs/tor-doc-unix.html.en
 
Old 11-04-2007, 05:03 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Have you started tor running? Have you made the other changes to the privoxy config file?
 
Old 11-04-2007, 11:19 AM   #3
seighalani
Member
 
Registered: Aug 2007
Posts: 101

Original Poster
Rep: Reputation: 15
I runned tor from press tor button in my firefox but there was an error.
other changes to the privoxy config file?

Last edited by seighalani; 11-04-2007 at 01:04 PM.
 
Old 11-04-2007, 09:02 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by seighalani View Post
I runned tor from press tor button in my firefox but there was an error.
other changes to the privoxy config file?
The torbutton only configures firefox to connect to an already running instance of tor. The other changes that are reccomended in the privoxy config file are: Comment out logging, comment out java and to comment out one of error reports (I can't remember which line it is at the moment). All the info is on the tor website.
 
Old 11-05-2007, 08:38 AM   #5
seighalani
Member
 
Registered: Aug 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Question

I perform it according :
After installing Tor, you need to configure your applications to use it.

The first step is to set up web browsing. Start by installing Privoxy: click on 'recent releases' and pick your favorite package or install from source. Privoxy is a filtering web proxy that integrates well with Tor.

Once you've installed Privoxy (either from package or from source), you will need to configure Privoxy to use Tor. Open Privoxy's "config" file (look in /etc/privoxy/ or /usr/local/etc/) and add the line
forward-socks4a / 127.0.0.1:9050 .
to the top of the config file. Don't forget to add the dot at the end.

Privoxy keeps a log file of everything passed through it. In order to stop this you will need to comment out three lines by inserting a # before the line. The three lines are:
logfile logfile
and the line
jarfile jarfile
and (on some systems) the line
debug 1 # show each GET/POST/CONNECT request

Depending on which default config file you have for Privoxy, you may also need to turn off enable-remote-toggle, enable-remote-http-toggle, and enable-edit-actions.

You'll need to restart Privoxy for the changes to take effect.

but i confuse in this section.i dont know certainly .do i edit in /etc/privoxy/config ? and where and how should i add these lines?

Last edited by seighalani; 11-05-2007 at 08:40 AM.
 
Old 11-05-2007, 09:42 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,165
Blog Entries: 54

Rep: Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807
The "forward-socks4a" line goes near the bottom of a standard Privoxy config file (yes, /etc/privoxy/config) where you configure parent or upstream proxies. The other options enable-remote-toggle, enable-remote-http-toggle and enable-edit-actions can be found (searched for) in a standard Privoxy config file and edited there or through the web interface (if enabled and when running Privoxy).
If you don't need the filtering capabilities of Privoxy there's a lightweight alternative: Polipo.
 
Old 11-05-2007, 03:49 PM   #7
seighalani
Member
 
Registered: Aug 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Question

hi

I turened off
enable-remote-toggle,enable-remote-http-toggle,enable-edit-actions.I mean change their value to 0.i change all of them.for example:

http://i20.tinypic.com/241ryhf.png
thanks in advance
 
Old 11-05-2007, 06:24 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by unSpawn View Post
The "forward-socks4a" line goes near the bottom of a standard Privoxy config file...
Why is that? The Tor website says to make this entry at the top of the privoxy config file.
 
Old 11-08-2007, 12:18 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,165
Blog Entries: 54

Rep: Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Why is that? The Tor website says to make this entry at the top of the privoxy config file.
I've been using Privoxy since it was called Junkbuster and the top of the config starts with the directory, file and filter locations followed by logging etc, etc and the "forward" lines have *always* been near the bottom of the config as long as I can remember. Maybe they take the "first match wins" thing a bit to literal ;-p Of course it wouldn't hurt placing it at the top since that way you ensure no "forward some.doma.in ." can escape forwarding.
 
  


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 Server mickeyboa Linux - General 3 07-03-2006 08:37 PM
tor transproxy gabsik Linux - Networking 0 05-19-2006 01:58 AM
Tor and privoxy gabsik Linux - Networking 1 12-26-2005 01:57 PM
Help with Tor Please botman Linux - Software 3 08-18-2005 01:17 PM
Help with Tor? botman Suse/Novell 3 08-12-2005 01:36 PM


All times are GMT -5. The time now is 04:57 AM.

Main Menu
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