(FWD) RE: Tor as windows service

Roger Dingledine arma at mit.edu
Thu Jun 23 18:46:50 UTC 2005


[Forwarding because this particular Bob isn't subscribed to or-talk. -RD]

----- Forwarded message from owner-or-talk at freehaven.net -----

From: "Bob" <jmonf at neomailbox.net>
To: <or-talk at freehaven.net>
Subject: RE: Tor as windows service
Date: Thu, 23 Jun 2005 11:16:16 -0700

I'm running it as a user level account:  I just gave the user full control
permissions to the  program files\tor directory (and everything contained
within).  Full control is probably overkill, but it was quick to set up.
When you tell the service to run under that account, the system
automatically grants the "log on as service" right to the account.

I'm sure you could mess with the ntfs permissions even more and sandbox the
tor directories, but I didn't bother with that.

-Bob

-----Original Message-----
From: owner-or-talk at freehaven.net [mailto:owner-or-talk at freehaven.net] On
Behalf Of Pat Frank
Sent: Thursday, June 23, 2005 8:08 AM
To: or-talk at freehaven.net
Subject: RE: Tor as windows service

When I did this all I had to do was copy the torrc file into c:\program
files\tor and run the command.

But I was logged in as administrator.  I see Martin earlier today asking
about running the service as NON-administrator.  My guess would be that the
command would fail in some way, perhaps as described by Bradley (or is that
Martin on another computer?).


Pat



-----Original Message-----
From: Bob [mailto:tor at alloy.neomailbox.net]
Sent: Thursday, June 23, 2005 3:22 AM
To: or-talk at freehaven.net
Subject: RE: Tor as windows service

I think when I set it up as a service, first I copied all of the stuff from
my Application Data\Tor folder (under documents and settings\username), and
then made changes to the torrc file in the program files\tor directory:

===> "Log notice file C:\Program Files\Tor\debug.log"
===> "DataDirectory C:\Program Files\Tor" - I think this is the important
one.

Basically, it all runs out of the program files\tor directory, so you have
to make sure your keys are there...

If you change the "Log" line from "notice" to "info" or "debug", making sure
its going to a file you should be able to get it all cleared up pretty
quickly...

-Bob

-----Original Message-----
From: owner-or-talk at freehaven.net [mailto:owner-or-talk at freehaven.net] On
Behalf Of Bradley
Sent: Thursday, June 23, 2005 12:11 AM
To: or-talk at freehaven.net
Subject: Re: Tor as windows service

I cant seem to get my service working correctly. I followed the instructions
in the wiki, but it always seems to crash and get an error when the service
tries to start ("Could not start the service tor win32 on Local Computer -
Error 0xffffffff: 0xffffffff").. seems to work fine from the command line
though. Im running WinXP Corp...

On 6/23/05, Bob <tor at alloy.neomailbox.net> wrote:
>
>
http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#Win32SystemTrayService
>
> -----Original Message-----
> From: owner-or-talk at freehaven.net [mailto:owner-or-talk at freehaven.net]
> On Behalf Of Martin Balvers
> Sent: Wednesday, June 22, 2005 11:19 PM
> To: or-talk at freehaven.net
> Subject: Tor as windows service
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I am running a Tor client at work, and I was wondering how I could get
> rid of the Tor window (the shell window).
> I read somewhere that it was possible to run Tor as a NT service. How
> do I run  start Tor as a NT service, I can't find anything in the manuals
etc.
> I'm running it on win2000 without admin rights.
>
> Thanks,
> Martin
>
>
> - --
> GPG key id: B72BEC80
> Keyserver: http://sks.keyserver.penguin.de
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFCulRDnmjjTrcr7IARAmBVAJ0cd9owtc7eBmACvVt2BVqau1ox+wCeNY6h
> VoYhugolW5IEctmpTe43oio=
> =HZ1X
> -----END PGP SIGNATURE-----

----- End forwarded message -----



More information about the tor-talk mailing list