Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Installing Tor and Privoxy

  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    100

    Default Installing Tor and Privoxy

    I noticed that these two things were not included in the bt3beta so i was going to go about installing them. I tried using slapt-get, but it did not find either of them ( i was using the new repository that pureh@te talked about in his post). I was just going to download and install them myself, but what type of package do i want? .deb, .rpm, other?

    EDIT: Nevermind, i just downloaded the source tarball and compiled it.

  2. #2
    Member
    Join Date
    Aug 2006
    Posts
    100

    Default

    hmm now that i have tor and privoxy installed and configuered right, i try and click on the torbutton in firefox, but every page i try to go to after that doesnt come up right...it says that the proxy server isnt accepting connections or something...what did i do wrong =p?

  3. #3
    Member
    Join Date
    Dec 2007
    Location
    @InterN0T
    Posts
    315

    Default

    Maybe you didn't configure a proxy server to enter? It's just a wild wild guess..
    [quote][I]I realized, that I had fallen down from the top of the mountain into a deep, terrifying and dark hole, just to find out that another mountain in front of me, much greater than the previous, was the next step in life. I began to wander uphill on the next mountain of life while I knew it would be much harder than the previous mountain. [/I]- MaXe[/quote]

  4. #4
    Member
    Join Date
    Aug 2006
    Posts
    100

    Default

    I looked at the preferences for torbutton and it was set on one that said that it would chose the best one for firefox or something like that, so i assumed that it came preset with one. If not, where can i find a good, fast one?

  5. #5
    Junior Member dapirates1's Avatar
    Join Date
    Nov 2007
    Posts
    88

    Default

    Hello folks Sorry about the long post i am just trying to give as much info as possible.
    I am trying to install tor and privoxy running on my BT3. I cant get it going can anyone advise me if they have it working and how please.
    I followed guide on tor and privoxy website with no luck this may help out other users or maybe just me.

    1: I added torbutton to firefox i dont think anyone could mess that up

    2: I downloaded the Source tarballs or am i supposed to download another package?

    wget http://www.torproject.org/dist/tor-0.1.2.18.tar.gz

    tar xzf tor-0.1.2.18.tar.gz; cd tor-0.1.2.18
    ./configure && make
    make install (as root if necessary) to install it into /usr/local/,
    then start by running tor it says

    output

    bt ~ # tor
    Jan 11 16:43:28.682 [notice] Tor v0.1.2.18. This is experimental software. Do not rely on it for strong anonymity.
    Jan 11 16:43:28.683 [notice] Configuration file "/usr/local/etc/tor/torrc" not present, using reasonable defaults.
    Jan 11 16:43:28.683 [notice] Initialized libevent version 1.3e using method epoll. Good.
    Jan 11 16:43:28.683 [notice] Opening Socks listener on 127.0.0.1:9050
    Jan 11 16:43:28.683 [warn] You are running Tor as root. You don't need to, and you probably shouldn't.
    Jan 11 16:43:30.070 [notice] We now have enough directory information to build circuits.
    Jan 11 16:43:30.999 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.

    3: Privoxy The most recent release is 3.0.7 (beta)

    I download source

    wget http://ovh.dl.sourceforge.net/source...eta-src.tar.gz

    tar xzf privoxy-3.0.7-beta-src.tar.gz; cd privoxy-3.0.7-beta

    it says

    Then, to build from either unpacked tarball or CVS source:

    autoheader
    autoconf
    ./configure # (--help to see options)
    make # (the make from GNU, sometimes called gmake)
    su # Possibly required
    make -n install # (to see where all the files will go)
    make -s install # (to really install, -s to silence output)

    or

    Using GNU make, you can have the first four steps automatically done for you by just typing:

    make i have also tryed this like it says below autoheader && autoconf && ./configure then make

    bt privoxy-3.0.7-beta # make
    ***
    *** To build this program, you must run
    *** autoheader && autoconf && ./configure and then run GNU make.
    ***
    *** Shall I do this for you now? (y/n) y

    then i get these errors then everything seems to be ok for now

    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.

    then i run this

    bt privoxy-3.0.7-beta # make install
    Creating directories, and preparing Privoxy 3.0.7 beta installation
    chmod 0755 ./mkinstalldirs
    Installing privoxy executable to /usr/local/sbin
    /usr/bin/ginstall -c -m 0755 privoxy /usr/local/sbin
    Installing FAQ, Manual, and other docs to /usr/local/share/doc/privoxy
    Installing man page to /usr/local/share/man/man1/privoxy.1
    /usr/bin/ginstall -c -m 0664 privoxy.1 /usr/local/share/man/man1/privoxy.1
    Rewriting config for this installation
    sed 's+^confdir \.+confdir /usr/local/etc/privoxy+' config | \
    sed 's+^logdir \.+logdir /var/log/privoxy+' >config.tmp
    mv config.updated config
    Installing templates to /usr/local/etc/privoxy/templates
    id: privoxy: No such user
    ************************************************** ****************
    WARNING! WARNING! installing config files as root!
    It is strongly recommended to run privoxy as a non-root user,
    and to install the config files as that user and/or group!
    Please read INSTALL, and create a privoxy user and group!
    ************************************************** *****************
    make: *** [install] Error 1
    bt privoxy-3.0.7-beta #

    Then this is from the Tor project website

    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:


    My dirs are in a different place and no config file

    usr/local/share/doc/prixoxy this has doc files
    var/log/privoxy this has log file
    usr/local/etc/privoxy this has template files no config file
    usr/local/sbin/privoxy this has executable file


    I run

    bt ~ # cd /usr/local/sbin
    bt sbin # privoxy
    Jan 11 17:10:40.073 Privoxy(b7d4a6c0) Info: Privoxy version 3.0.7
    Jan 11 17:10:40.073 Privoxy(b7d4a6c0) Info: Program name: privoxy
    Jan 11 17:10:40.073 Privoxy(b7d4a6c0) Fatal error: can't check configuration file '/usr/local/sbin/config': No such file or directory
    bt sbin #

    Help please i must be doing something silly here. I have used search and found this thread that is not really helped me in this battle.

  6. #6
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    15

    Default

    you forgot to install libevent, it must be the first to install.

    After that, install tor like you did it.
    To install privoxy you have to create a user (adduser) called privoxy and a privoxy group for that user. Then install privoxy under that user (it hates to be root...).
    Is that done add the line to the config file and install your tor button, then it should work (so did it for me).

    If you got a malloc() error try starting tor, it is possible that zonealarm or similar firewalls block your 9050 port privoxy needs to work.

    greetz

  7. #7
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    15

    Default Step-By-Step

    1. install Libevent:

    Code:
    wget hXXp://monkey.org/~provos/libevent-1.4.1-beta.tar.gz
    tar xzf libevent-1.4.1-beta.tar.gz
    cd libevent-1.4.1-beta.tar.gz
    ./configure
    make
    make install
    2. install Tor:

    Code:
    wget hXXp://ww w.torproject.org/dist/tor-0.1.2.18.tar.gz
    tar xzf tor-0.1.2.18.tar.gz
    cd tor-0.1.2.18
    ./configure
    make
    make install
    3. install privoxy

    Code:
    groupadd -g [groupid] privoxy
    useradd [-u [UID] -g privoxy -d Home privoxy
    wget hXXp://ovh.dl.sourceforge.net/sourceforge/ijbswa/privoxy-3.0.7-beta-src.tar.gz
    tar xzf privoxy-3.0.7-beta-src.tar.gz
    cd privoxy-3.0.7-beta
    ./config
    make
    make -s install  USER=privoxy GROUP=privoxy
    add

    Code:
    forward-socks4a / localhost:9050 .
    to

    Code:
    /usr/local/etc/privoxy/config
    4. install tor button plugin

    5. start tor

    Code:
    tor
    now it should work.

    if you get an malloc() error while starting tor, it maybe that you are running zonealarm or a similar firewall which blocks port 9050 privoxy needs to run.

    NOTE!

    If you copy the code, be aware to edit the wget url's!

  8. #8
    Member
    Join Date
    Aug 2006
    Posts
    100

    Default

    Hey Seebaer, thanks for the step by step, but when i get to:

    groupadd -g [groupid] privoxy

    it says

    usage: groupadd [-g gid [-o]] group

    what am i doing wrong? thanks

  9. #9
    Phillyblonds
    Guest

    Default same problem as below groupadd

    the command dont seem to work
    groupadd -g [groupid] privoxy
    usage: groupadd [-g gid [-o]] group

  10. #10
    Junior Member
    Join Date
    Nov 2007
    Posts
    33

    Default

    same here.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •