From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 15:47:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89739A8 for ; Sun, 28 Sep 2014 15:47:16 +0000 (UTC) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FBA7338 for ; Sun, 28 Sep 2014 15:47:16 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id e89so10378468qgf.26 for ; Sun, 28 Sep 2014 08:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-type:content-transfer-encoding; bh=RjHhTWEacJq0Jx2degMYhhyvJyQfd0Id7o3aFsV4Yn4=; b=aD0ryflbkkCpfiRBt4UG5JOPlL0RWoOnzYMkprNe7ra3W23NXM8yWYCZLigLdkDujD R+dBQUtFBVdc1X4NLUmh2HLuNwZtqEPWmrtfCTL2nZ756NYqLDmcQ6mEuNIbdEBZUml+ mpKRZa1IOsE/u7Nxrz3tE2qXm/GebHGK0nhm8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=RjHhTWEacJq0Jx2degMYhhyvJyQfd0Id7o3aFsV4Yn4=; b=h7KLPeszkWXczKww+3AZ37kMF/Y8WdngIxVBWppc3+LXyIwDX2Swpzfp/Ihp4euF+x Z+oHyqioRF7LyX0Iwn+aAuV1E3teYk1hUOxKHMPQgp3EngHkNSUC6dHiiwzKtj07qQ/Q VPlo/NjMHWHQ3+ouEdL6fVhw0A6lLOI1LMsworXJvpwelLacbHsMLZklKFN8cpXb1AhJ NmnzgOc/+N3p0iXyb5QEvM0+catUFe7M7crH0FJTEgqOIId8ow2BVIRTDhQOTxSWnA7z T5oqTjZeAsbgRx4JR9gSpGSBly/RKnM8mkTVT6UcpgEe3yL/qyFWPD7zqiGRJHbGvOhX yaCQ== X-Gm-Message-State: ALoCoQlDqP2DLbIJbzxQmp/SGRxyaOtBZsXrTd+fpQTKmbUPkWnfugEUl/RZd4INZqEmSgmNAQFi X-Received: by 10.224.122.137 with SMTP id l9mr46393950qar.76.1411919235073; Sun, 28 Sep 2014 08:47:15 -0700 (PDT) Received: from Papi ([177.43.8.234]) by mx.google.com with ESMTPSA id v10sm9205827qar.10.2014.09.28.08.47.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Sep 2014 08:47:14 -0700 (PDT) Date: Sun, 28 Sep 2014 12:47:29 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: Problems starting tor service .... Message-ID: <20140928124729.73ab0725@Papi> In-Reply-To: <5427000C.4040002@hiwaay.net> References: <20140928004052.C49907@sola.nimnet.asn.au> <5426FA18.1080209@hiwaay.net> <5426FDEA.2070803@hiwaay.net> <5427000C.4040002@hiwaay.net> Organization: BSD X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 15:47:16 -0000 On Sat, 27 Sep 2014 13:21:00 -0500 "William A. Mahaffey III" 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 > >>> 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."