Ask your questions here.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Quick setup tor on refracta?

Sun Mar 24, 2013 2:36 am

Nadir, have you written instructions on installing tor in refracta? I got a request for a personalized live usb with tor. I want to use wheezy. Any tips? I've done it in the past on squeeze, I think with privoxy and torbutton, but I don't remember what I did.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 7:40 am

There is a lot to be said about, but in general it is easy.
torbutton is still in the debia repos, but no more at firfox-addons. It's gone.
As far i can see right now it doesn't make any sense to install or use it.
Recommendation of the tor gang is to use the tor browser bundle.
Just download and run. Comes with tor, the browser and vidalia.
Nothing needs to be configured.
There are lots of ways to leak info, so that is really the recommended way
==== What i do ====
I am using privoxy and make the settings in browser to use it.
apt-get install tor privoxy
iceweasel-> Edit -> Advanced -> Network -> Settings:
127.0.0.1 and port 8118
set it to use for all connections
That is pretty much all about using tor.
If you ask for more settings how to _not_ leak info, i can add what i know (and lots i don't know. Most is what common sense tell us)
==== ==== ==== ====
You might ask: Why not simply use the tor-browser-bundle? I couldn't find a comfortable way to run tor and i2p from one single browser. I am a bit touchy with bookmarks and such, hence i don't want to change browser all the time.
a) Else the tor browser-bundle might be an option and
b) there are discussions in i2p right now (about exactly that subject).
I think that now one can use Tor directly. Like the previous paragraph, but use port 9050.
I have heard that, but did never do it.
PS: I awoke 5 minutes ago. I wrote the above from the top of my head. If in doubt i have made errors.
Last edited by nadir on Sun Mar 24, 2013 7:48 am, edited 1 time in total.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 7:45 am

http://ip-check.info/?lang=de
Run the test and there will be a few tips.
As far it's me:
DNS ( /etc/dhcp/dhclient.conf, for example)
and
http-headers
are a big problem.
You sure want to disable:
browser.cache.memory.enable and
browser.cache.disk.enable
DNS i really got no clue how to solve that problem. I am not sure if tor-browser-bundle solves them.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 8:08 am

The most short you could try:
install tor
point the browser to the proxy localhost or 127.0.0.1 and port 9050
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 11:44 am

https://panopticlick.eff.org/
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 11:45 am

First I tried the tor-bundle. The gpg signature was good. It wouldn't run for me. (Apps/Vidalia: no such file or directory. Even though I see the file exists.)
I installed tor, torbutton (it has a longer name), and privoxy.
I added the line

Code:
  `forward-socks4a / localhost:9050 .`

to etc/privoxy/config
In the browser Advanced, Network Settings, the SOCKS Host is 127.0.0.1 Port 9050 (not sure if I did that or if it was automatic.)
Turned on tor with the button, went to the ip-check linked above, and it looks pretty good.
In about:config, browser.cache.disk.enable was already set to false, and I set browser.cache.memory.enable to false. I don't see any difference in the result at ip-check.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 11:50 am

Cool you figured it out.
I forgot to add the config for privoxy, sorry.
No idea why the browser bundle does not work
(if tor is already running one will need to init.d tor stop it. That is not your problem, it seems, i just add it as a reminder for me)
You got a tip for me what to do about user-agent?
I'm searching and fiddling for hours now, but get from no-where to no-where.
At the test site i get a big fat red warning about that ....
Oh? PS: If you have set iceweasel to use 9050 you are not running over privoxy (Not bad or such, just saying. And you could init.d privoxy stop). Like always: i think. For me it is a bit of trying, a bit of headaches and a bit of cursing. In the end it works, but i am never sure why.
If (?) you care for such you might test a bit how exactly you connect
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 12:04 pm

OK, the login problem was partly solved by allowing javascript on this site. It seems that you have to do that when tor is on, even if you already did it when tor is off. Only partly solved, because I have to keep logging in for each task that requires login.
ip-check shows my user-agent as Windows. I'm not using user-agent-switcher. I think you can change the user-agent directly in about:config.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Quick setup tor on refracta?

Sun Mar 24, 2013 3:15 pm

More notes -
Torbutton (xul-ext-torbutton) is in sid, not wheezy. The version of tor is the same in sid and wheezy.
I made a VM with refracta-beta10, did a dist-upgrade, rebooted (because there were kernel updates), added sid repo, and ran:
apt-get update
apt-get install tor xul-ext-torbutton
Opened a browser, clicked on the onion, went to ip-check.info and saw that I forgot to disable cookies. That's it. Simple, and it works. I still failed on fonts and tab name. Not sure if that matters much.
Edit: This should be followed by commenting out sid repo in sources.list and running 'apt-get update' again.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Quick setup tor on refracta?

Tue Apr 16, 2013 11:07 pm

So, who downloaded it? I'm one of the ten who did. Who are the other nine?
(Thought I put it where you wouldn't noticet.)
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.