Problems starting tor service ....

Mario Lobo lobo at bsd.com.br
Sun Sep 28 15:47:16 UTC 2014


On Sat, 27 Sep 2014 13:21:00 -0500
"William A. Mahaffey III" <wam at hiwaay.net> wrote:

> On 09/27/14 13:11, William A. Mahaffey III wrote:
> > On 09/27/14 12:55, William A. Mahaffey III wrote:
> >> On 09/27/14 10:20, Ian Smith wrote:
> >>> In freebsd-questions Digest, Vol 538, Issue 11, Message: 6
> >>> On Sat, 27 Sep 2014 06:43:16 +0200 Polytropon <freebsd at edvax.de>
> >>> wrote:
> >>>
> >>>   > The important information is this:
> >>>   >
> >>>   > On Fri, 26 Sep 2014 22:19:07 -0500, William A. Mahaffey III
> >>>   > wrote:
> >>>   > > # tor_enable (bool):    Set it to "YES" to enable tor. 
> >>> Default: NO
> >>>   > > # tor_conf (str):       Points to your torrc file.
> >>>   > > #                       Default: /usr/local/etc/tor/torrc
> >>>   > > # tor_user (str):       Tor daemon user. Default: _tor
> >>>   > > # tor_datadir (str):    Tor datadir.  Default: /var/db/tor
> >>>   > > # tor_logfile (str):    Tor log file.  Default: /var/log/tor
> >>>   > > # tor_loglevel (str):   Tor log severity level. Default:
> >>>   > > notice
> >>>   >

[snip]

> i.e. it is still using the old OpenSSL .... No biggie (& possibly
> pilot error), but seems a bit off ....
> 

Hi William;

What follows is just about all I can add to help out. I hope this helps.

Here is what I got running:

#### torrc

SocksPort 9050
SocksListenAddress 127.0.0.1

SocksPolicy accept 127.0.0.1/32
SocksPolicy reject *

ReachableDirAddresses *:80
ReachableDirAddresses *:443
#HttpProxy 10.14.200.245:7777
#HttpsProxy 10.14.200.245:7777
KeepalivePeriod 30

mapaddress 10.40.40.40 mejokbp2brhw4omd.onion
mapaddress 10.40.40.40 5t7o4shdbhotfuzp.onion

# Log debug file /var/log/tor/debug.log



[~]>ls -l /var/log/
drwxr-xr-x  2 _tor     _tor         512 Jun  8  2013 tor


[~]>ls -l /var/log/tor/
total 452
-rw-r--r--  1 _tor  _tor   69246 Jun  8  2013 debug.log
-rw-r--r--  1 _tor  _tor  374478 Sep 28 12:31 notices.log


[~]>ls -l /var/db 
drwx------    3 _tor      _tor            512 Sep 28 12:31 tor


[~]>ls -l /var/db/tor/ 
total 6656
-rw-------  1 _tor  _tor    19391 Sep  5 07:42 cached-certs
-rw-------  1 _tor  _tor  1229433 Sep 28 11:29
cached-microdesc-consensus -rw-------  1 _tor  _tor  2984111 Sep 22
18:41 cached-microdescs -rw-------  1 _tor  _tor  2487055 Sep 28 12:32
cached-microdescs.new drwx------  2 _tor  _tor      512 Jun  8  2013
data -rw-------  1 _tor  _tor        0 Sep 28 12:30 lock
-rw-------  1 _tor  _tor     9258 Sep 28 12:30 state


[~]>ps axww | grep tor
 1007  ??  S      0:03.08 /usr/local/bin/tor
-f /usr/local/etc/tor/torrc --PidFile /var/run/tor/tor.pid
--RunAsDaemon 1 --DataDirectory /var/db/tor --+Log notice
file /var/log/tor/notices.log


[~]>cat /etc/rc.conf | grep tor
tor_enable=YES

[~]>tor --version
Sep 28 12:45:20.665 [notice] Tor v0.2.3.25 (git-17c24b3118224d65)
running on FreeBSD. Sep 28 12:45:20.665 [notice] Tor can't help you if
you use it wrong! Learn how to be safe at
https://www.torproject.org/download/download#warning Tor version
0.2.3.25 (git-17c24b3118224d65).




-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
 
"UNIX was not designed to stop you from doing stupid things, 
because that would also stop you from doing clever things."


More information about the freebsd-questions mailing list