Opened 2 years ago

Last modified 23 months ago

#22972 new defect

tor expert bundle only read the first letter from config

Reported by: lanealucy Owned by: erinn
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.3.0.9
Severity: Normal Keywords: tor-client, win32, needs-insight, needs-win32-testing
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

if i set a config file with command line argument, its looks like tor read only the first letter.

torrc:
SOCKSPort 1234

Output:
Jul 19 02:28:41.488 [notice] Tor 0.3.0.9 (git-22b3bf094e327093) running on Windo
ws 8 [server] with Libevent 2.0.22-stable, OpenSSL 1.0.2k and Zlib 1.2.8.
Jul 19 02:28:41.491 [notice] Tor can't help you if you use it wrong! Learn how t
o be safe at https://www.torproject.org/download/download#warning
Jul 19 02:28:41.511 [notice] Read configuration file "c:\users\administrator.ll-
dc02\documents\visual studio 2013\Projects\Lissy Cruuv\unbreakable non-server co
munication\bin\Debug\tor\data\torrc".
Jul 19 02:28:41.520 [warn] The abbreviation 'S' is deprecated. Please use 'Socks
SocketsGroupWritable' instead
Jul 19 02:28:41.520 [warn] Path for GeoIPFile (<default>) is relative and will r
esolve to C:\Users\Administrator.LL-DC02\<default>. Is this what you wanted?
Jul 19 02:28:41.520 [warn] Path for GeoIPv6File (<default>) is relative and will

resolve to C:\Users\Administrator.LL-DC02\<default>. Is this what you wanted?

Jul 19 02:28:41.523 [notice] Opening Socks listener on 127.0.0.1:9050
Jul 19 02:28:42.000 [notice] Bootstrapped 0%: Starting
Jul 19 02:28:43.000 [notice] Starting with guard context "default"
Jul 19 02:28:43.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Jul 19 02:28:45.000 [notice] Bootstrapped 85%: Finishing handshake with first ho
p
Jul 19 02:28:45.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Jul 19 02:28:45.000 [notice] Tor has successfully opened a circuit. Looks like c
lient functionality is working.
Jul 19 02:28:45.000 [notice] Bootstrapped 100%: Done

Child Tickets

Change History (7)

comment:1 Changed 2 years ago by lanealucy

Version: Tor: 0.3.0.9

comment:2 Changed 2 years ago by gk

Component: Applications/Tor bundles/installationCore Tor/Tor

comment:3 Changed 2 years ago by dgoulet

Keywords: tor-client added
Milestone: Tor: 0.3.2.x-final
Priority: HighMedium
Severity: BlockerNormal
Status: newneeds_information

"if i set a config file with command line argument," ... what do you mean by that exactly? You can pass options on the command like such:

tor SocksPort 1234 and I confirm it works for tor 0.3.0.9.

Can you maybe give us the full torrc and/or command line you are using? And I see it's on Windows. Thanks!

comment:4 Changed 2 years ago by lanealucy

Status: needs_informationnew

it read only the first letter from the torrc

CMD:
C:\tor\tor.exe" -f "c:\tor\data\torrc"

torrc: (for actually testing)
SOCKSPort 1234

torrc: (if it work to read)
DataDirectory c:\tor\data
GeoIPFile c:\tor\geoip
GeoIPv6File c:\tor\geoip6

HiddenServiceDir c:\tor\data\HiddenServiceDir
HiddenServicePort 768 127.0.0.1:768

SOCKSPort 3576
SOCKSPolicy accept 127.0.0.1
SOCKSPolicy reject *

Last edited 2 years ago by lanealucy (previous) (diff)

comment:5 Changed 2 years ago by lanealucy

it dont work since 0.2.7.6 or earlier

comment:6 Changed 2 years ago by lanealucy

Hello? Any one here?

comment:7 Changed 23 months ago by nickm

Keywords: win32 needs-insight needs-win32-testing added
Milestone: Tor: 0.3.2.x-finalTor: unspecified

Does it work if the quotes are not given? If the torrc path doesn't include spaces?

Note: See TracTickets for help on using tickets.