You are here

Portable versions of Tor and Vidalia

23 posts / 0 new
Last post
ryan-
Offline
Last seen: 17 years 4 months ago
Joined: 2007-07-08 08:29
Portable versions of Tor and Vidalia

I compiled Tor and Vidalia (GNU GPL) on a Linux (Ubuntu 7.04) system and the binaries seem to be pretty portable. The run off of a USB key with no issues.

This site has a precompiled win32 version that works as a portable app http://sourceforge.net/projects/portabletor/

jps
Offline
Last seen: 15 years 8 months ago
Joined: 2007-06-09 13:23
I don`t suggest using

I don`t suggest using that.

People are using tor because them have needs of security (/are paranoid). The offical tor website and their pgp keys have a level of trust. Although your builds are hosted at sf.net and source can be downloaded the binarys could be still hacked. Nothing personal against you...

But at portablefreeware.com, enter tor, you will find instructions to make a portable version of tor. Or John T. Haller could host that here because he could have a level of trust too.

zikarus
Offline
Last seen: 13 years 1 month ago
Joined: 2006-10-10 16:32
I think you have gotten

I think you have gotten something quite wrong here.

1. This actually is the Request App forum.

2. If you would have followed the sourceforge link you'd might have discovered the PortableTor project page. The PortableTor file on sourceforge has been compiled by some silivrenion - not ryan.

And another hint before you might become paranoid (or at least suspicious of sourceforge) Wink : there is a link on the project page that leads to another description of how to build your own PortableTor. And hey, this page is part of the Wiki-Tor. Now guess who the author is?

ryan-
Offline
Last seen: 17 years 4 months ago
Joined: 2007-07-08 08:29
Ok, trying again :-)

I didn't compile/support/write PortableTor, although I can see how my post was confusing.

I meant to say: I'd like to see a trusted portable version of portable tor/vidalia offered by portableapps.com

The regular tor package works pretty well on a USB key (http://tor.eff.org/download.html.en) but some optimizations could be made (see the sourceforge portable tor project).

I did compile tor/vidalia for Linux, but only to see how portable they were (they do work on a USB key).

Silivrenion
Offline
Last seen: 14 years 1 month ago
Joined: 2007-05-12 07:56
Authenticity and User Comments

Hello, I am Silivrenion, author of PortableTor. I see comments on the authenticity of PortableTor versus trusted sites. In your opinion, how can I better make my software trustable? What kinds of things do you look for in choosing software as far as legitimacy and trustworthyness?

The instructions on the Wiki for building PortableTor were old, and a lot of improvements have been made that I just haven't gotten around to updating there. Maybe I will soon. Smile

The entire program, PortableTor, is exactly the same to the downloadable install version's output, except paths are changed and executables are packed with upx. Aside from some minor configuration changes to get it to work, the only program I added was the launcher, PortableTor.exe. This file has source available, but is really a converted .bat file that launches the two elements of the software. I wanted to try to find a way to authenticate this software after finding several virus scanners false positive it. (they came back to email me that it was a false positive, and some of them removed it.)

Anyway, what kinds of things would you like to see for this software, authenticity wise or otherwise?

jps
Offline
Last seen: 15 years 8 months ago
Joined: 2007-06-09 13:23
Well, please update the

Well, please update the instructions to make tor/videla/privoxy portable.

Then create a beta version and post in beta forum. We hope john will host it on this site.

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
TorPortable changes

Hi again. I sent you an email sometime back with some suggestions/changes for your project. I was just wondering if you still had that and just haven't updated your site, or if I should try to dig it up again? It was mostly changes to paths and some configuration changes.

Undintel
Offline
Last seen: 12 years 11 months ago
Joined: 2006-07-08 11:41
Hello, I suggest you take

Hello,

I suggest you take look at this site that have PortableTOR regular update ( last version is dated 05th August 2007 ) as :

http://portabletor.sourceforge.net/

Silivrenion
Offline
Last seen: 14 years 1 month ago
Joined: 2007-05-12 07:56
PortableTor changes

Hi! Yes, your changes were used in the then-next build of portabletor from that date. Thanks again!

In other response, I haven't been releasing PortableTor beta builds because I don't know how often they are released. If there's one every night, I'd have to be compiling every night, and I am in college. I don't know how much time I have really, and the occasional official build is fine. I'll look into it though.

I will update the instructions on the wiki to fully explain the process though. Documentation is a nice thing to have!

As for John putting it on this site, do I need to make a version with a different path structure or something? Or submit as-is? What are the guidelines for that?

Questions/Comments can be made on the support forums at http://sourceforge.net/projects/portabletor .

Thanks,
Steve Morley

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
If you wanna put it here

it has to comply to the paf format specs.
Thats a certain folder structure so it works with the menu-integrated backup feature.
But the paf specs are changing atm cause of a new version of the menu being developped.
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
Changes

I see my changes made it in, very cool. I haven't checked the manual install page in a while. There's one more bug fix for it though. For the batch file commands, they need to be in the form -

start "" /b /min 'privoxy stuff'
start "" /b 'vidalia stuff'

You need the "" or it won't work right. The start command expects a "title" declaration as the first parameter.

Nice job, seems like you've been busy.

Silivrenion
Offline
Last seen: 14 years 1 month ago
Joined: 2007-05-12 07:56
Really? I never encountered

Really? I never encountered any problems running it without the "". Don't forget, there is no visible console with the launcher... its all encrypted in the .exe. I'll take a look at it and see what I can find out.

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
That may be the case with

That may be the case with the launcher (I haven't used it), but I was referring to the "Build PortableTor Yourself" instructions page where you specify the commands for the BAT file. If you run the 'start' command without "" from a BAT file, it won't work right. Basically it'll take the first non-switch parameter after 'start', which in your case is '.\PortableTor\Privoxy\privoxy.exe' as the console window title parameter, and then shift everything after it to the left.

For example if you run your privoxy start command from a BAT file as it's written, it'll open the config.txt file for editing Wink

Silivrenion
Offline
Last seen: 14 years 1 month ago
Joined: 2007-05-12 07:56
Nice catch!

Nice catch!

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
Some useful torrc settings

I found a few useful settings (at least for myself) in the torrc documentation.

http://tor.eff.org/tor-manual.html.en

Here is one you might consider at least mentioning on your project page. I use tor here at work for things like messaging programs that are otherwise blocked. I know that our firewall only allows HTTP traffic, so this setting speeds things up tremendously and doesn't hammer the firewall on ports that are blocked (possibly alerting someone to some strange traffic). It can of course be configured to your needs. It tells tor to what addresses and ports it can connect for directory information and entry nodes, in this case using only HTTP and HTTPS ports to any address.

ReachableAddresses *:80, *:443

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
New vidalia.conf settings

New vidalia.conf settings for tor, relative to BAT file of course. These were implemented in the new version of Vidalia I think. I can't remember what the old ones were, but here's what it is now (a little different) -

[Tor]
ControlPassword=(created by tor, do not edit)
DataDirectory=./Tor/lib
TorExecutable=.\\Tor\\tor.exe
Torrc=./Tor/torrc

I believe the DataDirectory setting here supercedes the one in the torrc file, so it does not need to exist there anymore.

zogus
Offline
Last seen: 7 years 5 months ago
Joined: 2007-09-06 19:53
I'm trying to use Tor from

I'm trying to use Tor from behind my university's firewall etc. I don't seem to be able to get it set up right. It works fine from home (so I know it works in general), but not at uni.

When I use a browser from the uni network I have to set it to use an automatic proxy configuration. I downloaded the file and this is what it looks like:

function FindProxyForURL(url, host)
{
if (isPlainHostName(host)) return "DIRECT";
  else if (shExpMatch(url,"https*")) return "DIRECT";
  else if (shExpMatch(url,"ftp*")) return "DIRECT";
  else if (shExpMatch(host,"*.myuni.edu.au")) return "DIRECT";
  else if (isInNet(host,"127.0.0.1","255.0.0.0")) return "DIRECT";
  else if (isInNet(host,"134.148.0.0","255.255.0.0")) return "DIRECT";
  else if (isInNet(myIpAddress(), "203.1.32.0", "255.255.255.0")) return "PROXY proxy.newcastle.edu.au:8080; DIRECT";
  else if (shExpMatch(host,"*.galegroup.com")) return "DIRECT";
  else return "PROXY proxy.myuni.edu.au:8080; DIRECT";
}

and I edited my torrc file to be:

AvoidDiskWrites 1
ControlPort 9051
DataDirectory .\PortableTor\Tor\DataDirectory
Log notice stdout
SocksListenAddress 127.0.0.1

ReachableAddresses *:80, *:443
HttpProxy proxy.myuni.edu.au:8080
HttpProxyAuthenticator login:password

But it didn't work. Any ideas on how I can get this working?

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
What browser are you using?

You still have to tell your browser to use your Tor proxy for connections. If it is using the auto config and you can't change it, then you can't set the browser to use Tor.

On the other hand, if you're using something like FFPortable, then just make sure you have the proxy settings correct (localhost:9050).

Ummm, you might want to try adding your proxy address to your list of reachable addys too Wink (probably try this first)

zogus
Offline
Last seen: 7 years 5 months ago
Joined: 2007-09-06 19:53
I'm using PFF. I got it

I'm using PFF. I got it working at home (tested using one of the Tor test pages) and I use the FF extension to turn Tor on and off, so I don't think it was a browser problem.

What do you mean mean by adding the proxy address? Where should I add that?

Thanks for your help - I appreciate it!!

wraithdu
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2007-06-27 20:22
In the ReachableAddresses setting

I mean here -

ReachableAddresses *:80, *:443, proxy.myuni.edu.au:8080

You have to add it because before, you were restricting access to ports 80 and 443 ONLY, effectively blocking your proxy server at port 8080. Allowing that through should solve your problem.

zogus
Offline
Last seen: 7 years 5 months ago
Joined: 2007-09-06 19:53
Ahhh, thanks. I'll give it a

Ahhh, thanks. I'll give it a go on Mon. Do I need to add in my login and password somewhere for that as well??

zogus
Offline
Last seen: 7 years 5 months ago
Joined: 2007-09-06 19:53
That was it. I have it

That was it. I have it working now. Thanks for your help, wraithdu, I appreciate it.

zikarus
Offline
Last seen: 13 years 1 month ago
Joined: 2006-10-10 16:32
... have been updated to Tor
Log in or register to post comments