Re: Some of my observations on runing new alpha version of Tor

2007-06-13 Thread Przemyslaw Orzechowski

Thanks scar it was really that - in nickname that prevented Tor from
starting as service but it started just fine when run from commandline
what confused me
Now everything seems to work ok (runing alpha as popotest as service)
now i will test those new features like dns resolving and passthru
bandwidth limiting
:)
2007/6/13, scar <[EMAIL PROTECTED]>:

just to be clear, that "path to executable" should be:

"C:\Program Files\Tor\tor.exe" --nt-service


sorry if the extra quotes were confusing





Re: Some of my observations on runing new alpha version of Tor

2007-06-13 Thread scar
just to be clear, that "path to executable" should be:

"C:\Program Files\Tor\tor.exe" --nt-service


sorry if the extra quotes were confusing



signature.asc
Description: OpenPGP digital signature


Re: Some of my observations on runing new alpha version of Tor

2007-06-13 Thread scar
Przemyslaw Orzechowski @ 2007/06/13 12:46:
> Ok first i will attempt to translatie the complete error message:
> Event type: Error
> Event source: Service Control Manager
> Event category:None
> Event Id:7023
> Date:   2007-06-10
> Time:13:12:46
> User: None
> Computer:   xxx
> Description:
> Service "Tor Win 32 Service" terminated, following error occured:
> In the service occured an exception during access control demand.
> -- 
> im not sure if the translation of the description field is clear
> enough and completly correct
> now for the rest
> first of all i didnt notice the problem with stable bundle when
> creating the service thru vidalia.
> as it turned out vidalia creates the service somewhat different than
> tor when called from commandline
> Vidalia creates service with current user credentials?
> not completly sure bout that, but when you inspect the service (then
> go to login tab it states that the service runs with credentials of
> local system account (upper option checked)
> when creating the service with Tor from comand line the lower option
> is selected and account data for LocalService is present
> one more thing that is different is that when creating the service
> with following command line >tor.exe --service install -options -f
> c:\torrc ControlPort 9051 all options are surrounded with "" ie
> service path looks something like this "C:\Program Files\Tor\tor.exe"
> --nt-service "-f" "c:\torrc" "ControlPort" "9051" when created with
> vidalia it looks like this
> "C:\Program Files\Tor\tor.exe" --nt-service -f c:\torrc ControlPort 9051
> but i'm not sure if this is critical (no logs from tor when i try to
> start it with this tor service call)
> just the log entry i mentioned earlier
> next try installing the service without -options and placing torrc in
> localservice application data tor directory with with my version ow
> windows is
> C:\Documents and Settings\LocalService\Dane aplikacji\tor
> tor service installed with following command: C:\Program Files\Tor>tor
> --service install
> Running on a Post-Win2K OS, so we'll assume that the LocalService
> account exist
> s.
> IMPORTANT NOTE:
>The Tor service will run under the account "NT
> AUTHORITY\LocalService".  Th
> is means
>that Tor will look for its configuration file under that
>account's Application Data directory, which is probably not
>the same as yours.
> Done with CreateService.
> Service installed successfully
> Service failed to start : W us│udze wyst╣pi│ wyj╣tek podczas obs│ugi
> ┐╣dania ko
> ntroli.
> Thats all what i get in commandline window servicepath is as follows
> "C:\Program Files\Tor\tor.exe" --nt-service login credentials of
> localservice
> in system log are 3 entries about
> 1. succesfull start signal sent to process
> 2. service entering stopped state
> 3 previously mentioned error
> 

ok, you want the torrc to reside in "C:\Documents and 
Settings\LocalService\Dane aplikacji\tor\".  you also want the "log on" option 
to use the LocalService account.  so i would:
1.) close vidalia & stop tor, make sure no tor.exe is running
2.) remove the tor service with command "tor --service remove"
3.) reinstall the tor service with command "tor --service install"
now you should check in the service properties that the command line is correct 
("path to executable"):
""C:\Program Files\Tor\tor.exe" --nt-service"
if it doesn't look just like this, then maybe there is a bug with "tor 
-install".  you can manually edit the "path to executable" by using regedit and 
navigating to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tor and then 
editing the "ImagePath" string so it doesn't have improper quotes, etc.
you also want to put all the options in torrc, including that rogue 
"ControlPort 9051" that was being put in the command line.

now, you will have a cleanly configured tor service with the torrc, 
cached-routers, cached-status, etc. in the "C:\Documents and 
Settings\LocalService\Dane aplikacji\tor\" directory.

> here are contents of my torrc file that caused the error)
> ---
> SocksPort 9050 # what port to open for local application connections
> SocksListenAddress 127.0.0.1 # accept connections only from localhost
> Log debug file C:\Documents and Settings\LocalService\Tor.log.txt
> ControlPort 9051
> Nickname popo-test
> ---
> contents of logile after the service failed none the logfile is not even
> created
> when i remove Nickname line everything starts normally no error
> messages and logfile looks as follows

so it sounds like there is a problem with the Nickname option?  according to 
the manpage this option can only use characters [a-zA-Z0-9], so that hyphen is 
invalid.  i get the same error 7023 when trying that nickname, but everything 
works OK if i use "popotest"



> 2007/6/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> On Sun, Jun 10, 2007 at 08:15:26PM +0200, [EMAIL PROTECTED] wrote 2.2K
>> bytes in 30 lines about:
>>
>> 

Re: Some of my observations on runing new alpha version of Tor

2007-06-13 Thread Przemyslaw Orzechowski

Ok first i will attempt to translatie the complete error message:
Event type: Error
Event source: Service Control Manager
Event category:None
Event Id:7023
Date:   2007-06-10
Time:13:12:46
User: None
Computer:   xxx
Description:
Service "Tor Win 32 Service" terminated, following error occured:
In the service occured an exception during access control demand.
--
im not sure if the translation of the description field is clear
enough and completly correct
now for the rest
first of all i didnt notice the problem with stable bundle when
creating the service thru vidalia.
as it turned out vidalia creates the service somewhat different than
tor when called from commandline
Vidalia creates service with current user credentials?
not completly sure bout that, but when you inspect the service (then
go to login tab it states that the service runs with credentials of
local system account (upper option checked)
when creating the service with Tor from comand line the lower option
is selected and account data for LocalService is present
one more thing that is different is that when creating the service
with following command line >tor.exe --service install -options -f
c:\torrc ControlPort 9051 all options are surrounded with "" ie
service path looks something like this "C:\Program Files\Tor\tor.exe"
--nt-service "-f" "c:\torrc" "ControlPort" "9051" when created with
vidalia it looks like this
"C:\Program Files\Tor\tor.exe" --nt-service -f c:\torrc ControlPort 9051
but i'm not sure if this is critical (no logs from tor when i try to
start it with this tor service call)
just the log entry i mentioned earlier
next try installing the service without -options and placing torrc in
localservice application data tor directory with with my version ow
windows is
C:\Documents and Settings\LocalService\Dane aplikacji\tor
tor service installed with following command: C:\Program Files\Tor>tor
--service install
Running on a Post-Win2K OS, so we'll assume that the LocalService account exist
s.
IMPORTANT NOTE:
   The Tor service will run under the account "NT AUTHORITY\LocalService".  Th
is means
   that Tor will look for its configuration file under that
   account's Application Data directory, which is probably not
   the same as yours.
Done with CreateService.
Service installed successfully
Service failed to start : W us│udze wyst╣pi│ wyj╣tek podczas obs│ugi ┐╣dania ko
ntroli.
Thats all what i get in commandline window servicepath is as follows
"C:\Program Files\Tor\tor.exe" --nt-service login credentials of localservice
in system log are 3 entries about
1. succesfull start signal sent to process
2. service entering stopped state
3 previously mentioned error

here are contents of my torrc file that caused the error)
---
SocksPort 9050 # what port to open for local application connections
SocksListenAddress 127.0.0.1 # accept connections only from localhost
Log debug file C:\Documents and Settings\LocalService\Tor.log.txt
ControlPort 9051
Nickname popo-test
---
contents of logile after the service failed none the logfile is not even created
when i remove Nickname line everything starts normally no error
messages and logfile looks as follows
--
Jun 13 20:48:42.046 [notice] Tor 0.1.2.14 opening new log file.
Jun 13 20:48:42.046 [debug] parse_dir_server_line(): Trusted dirserver
at 128.31.0.34:9031 (46DB)
Jun 13 20:48:42.046 [debug] parse_dir_server_line(): Trusted dirserver
at 128.31.0.34:9032 (E45D)
Jun 13 20:48:42.046 [debug] parse_dir_server_line(): Trusted dirserver
at 86.59.21.38:80 (1F85)
Jun 13 20:48:42.046 [debug] parse_dir_server_line(): Trusted dirserver
at 140.247.60.64:80 (F5FC)
Jun 13 20:48:42.046 [debug] parse_dir_server_line(): Trusted dirserver
at 194.109.206.212:80 (EAD6)
Jun 13 20:48:42.046 [info] or_state_load(): Loaded state from
"C:\Documents and Settings\LocalService\Dane aplikacji\tor/state"
Jun 13 20:48:42.484 [info] tor_mmap_file(): Couldn't mmap file
"C:\Documents and Settings\LocalService\Dane
aplikacji\tor/cached-routers": File not found
Jun 13 20:48:42.484 [info] update_router_have_minimum_dir_info(): We
have 0 of 5 network statuses, and we want more than 2.
Jun 13 20:48:42.484 [notice] I learned some more directory
information, but not enough to build a circuit.
Jun 13 20:48:42.484 [info]
update_router_descriptor_client_downloads(): Not enough networkstatus
documents to launch requests.
Jun 13 20:48:42.484 [info]
update_router_descriptor_client_downloads(): Not enough networkstatus
documents to launch requests.
Jun 13 20:48:42.484 [info] update_networkstatus_client_downloads():
For 5/5 running directory servers, we have 0 live network-status
documents. Downloading 5.
Jun 13 20:48:42.484 [info] router_pick_directory_server(): No
reachable router entries for dirservers. Trying them all again.
Jun 13 20:48:42.484 [info] router_pick_directory_server(): Still no
reachable router entries. Reloading and trying again.
Jun 13 20:48:42.484 [info] tor_mmap_file(): Co

Re: Problem logging out of yahoo mail over Tor

2007-06-13 Thread Fabian Keil
Steve Southam <[EMAIL PROTECTED]> wrote:

> When I logout of my yahoo mail account using Tor it jumps back to the 
> same page. I'm using firefox with Tor 0.1.2.14 (package, not compiling) 
> on Vista.
> When I toggle torbutton I can logout OK.
> Any ideas?

Your problem description is pretty vague, but if by "package" you mean
the Tor Vidalia bundle that also contains Privoxy, this might be related to:
https://sourceforge.net/tracker/index.php?func=detail&aid=1635354&group_id=8&atid=28

Fabian


signature.asc
Description: PGP signature