Delivery-Date: Mon, 04 Aug 2014 16:50:15 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id D22AE1E0BFA;
	Mon,  4 Aug 2014 16:50:13 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 8586B2E738;
	Mon,  4 Aug 2014 20:50:09 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 5AB662E4B7
 for <tor-talk@lists.torproject.org>; Mon,  4 Aug 2014 20:50:05 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id N4STFn2AyuH4 for <tor-talk@lists.torproject.org>;
 Mon,  4 Aug 2014 20:50:05 +0000 (UTC)
Received: from patternsinthevoid.net (greyarea.patternsinthevoid.net
 [106.187.37.158])
 by eugeni.torproject.org (Postfix) with ESMTP id CA91C2E3CE
 for <tor-talk@lists.torproject.org>; Mon,  4 Aug 2014 20:50:04 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by patternsinthevoid.net (Postfix) with ESMTP id A7DDE3A1414
 for <tor-talk@lists.torproject.org>; Mon,  4 Aug 2014 20:50:00 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at patternsinthevoid.net
Received: from patternsinthevoid.net ([127.0.0.1])
 by localhost (greyarea.patternsinthevoid.net [127.0.0.1]) (amavisd-new,
 port 10024)
 with ESMTP id GxzzXFIx3fo9 for <tor-talk@lists.torproject.org>;
 Mon,  4 Aug 2014 20:49:55 +0000 (UTC)
Date: Mon, 4 Aug 2014 20:49:04 +0000
From: isis <isis@torproject.org>
To: tor-talk@lists.torproject.org
Message-ID: <20140804204904.GA5462@patternsinthevoid.net>
References: <53D727D8.7010902@riseup.net>
 <53DE3C5D.8020200@whonix.org>
MIME-Version: 1.0
In-Reply-To: <53DE3C5D.8020200@whonix.org>
X-GPG-Public-Key-URL: https://blog.patternsinthevoid.net/isis.txt
X-Louis-Lingg: In this hope do I say to you I despise you. I despise your
 order, your laws, your force-propped authority. Hang me for it!
Subject: Re: [tor-talk] using locally installed Tor in TBB
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8363663746751774826=="
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>


--===============8363663746751774826==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE"
Content-Disposition: inline


--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Patrick Schleizer transcribed 2.4K bytes:
> shmick@riseup.net:
> > in 3.6.3 TBB linux amd-64 i changed the port to 9050
> >=20
> > my local install of Tor is on the jessie alpha channel
> >=20
> > when i close & restart TBB i get:
> >=20
> > Something Went Wrong!
> > Tor is not working in this browser.
>=20
> This happens because of missing Tor ControlPort access.
>=20
> There are no instructions for how to use TBB with system Tor. But it is
> possible...
>=20
> Maybe you can add this to torproject.org's wiki?
>=20
> Environment variable:
>=20
> ## Deactivate tor-launcher,
> ## a Vidalia replacement as browser extension,
> ## to prevent running Tor over Tor.
> ## https://trac.torproject.org/projects/tor/ticket/6009
> ## https://gitweb.torproject.org/tor-launcher.git
> export TOR_SKIP_LAUNCH=3D1
>=20
> ## The following TOR_SOCKS_HOST and TOR_SOCKS_PORT variables
> ## do not work flawlessly, due to an upstream bug in Tor Button:
> ## "TOR_SOCKS_HOST, TOR_SOCKS_PORT regression"
> ## https://trac.torproject.org/projects/tor/ticket/8336
> #export TOR_SOCKS_HOST=3D"127.0.0.1"
> #export TOR_SOCKS_PORT=3D"9050"
>=20
> What should work quite well is using env var "export TOR_SKIP_LAUNCH=3D1"
> combined with rinetd, redirecting traffic from TBB's ports 9150 and 9151
> to 127.0.0.1 with a config like this:
>=20
> 127.0.0.1 9150 127.0.0.1 9050
> 127.0.0.1 9151 127.0.0.1 9051
>=20
> You also need some form of ControlPort authentication.
>=20
> export TOR_CONTROL_PASSWD=3D"password"
>=20
> tor --hash-password password
>=20
> See Tor manual HashedControlPassword.
> https://www.torproject.org/docs/tor-manual.html.en
>=20
> Add the
>=20
> HashedControlPassword hashedpassword
> to /etc/tor/torrc and reload (/restart?) Tor.


This should be fixed (for Linux) in an upcoming Tor Browser 4.0 release. I'=
ve
added these things to the `start-tor-browser` script. There are:

    - Instructions for use, including additional Firefox preferences that
      you'll need to set (to tell Tor Button where your ControlPort and
      SocksPort are, etc.)

    - An "easy" spot in the `start-tor-browser` script to put in your
      ControlPort password so that it is given to the Firefox process (but =
not
      exported, because then other programs might be able to steal it)

    - A line will print to your terminal telling you that you're using a
      system-installed Tor.

See #10178, [0] and this commit [1] containing the changes. If you're runni=
ng
Linux and would like to test these, nightly builds are available. [2]

Contributions to improve this, i.e. automatically setting the preferences f=
or
you, are welcome.

[0]: https://bugs.torproject.org/10178
[1]: https://gitweb.torproject.org/builders/tor-browser-bundle.git/commitdi=
ff/a566e85f785c12157283920a179cdc64fdd28b32
[2]: https://people.torproject.org/~linus/builds/


> > this is repeatable behaviour opening/closing TBB
> >=20
> > some Tor log looks ok though and apart from logs it obviously does work
> > on 9050
> >=20
> > [NOTICE] Bootstrapped 85%: Finishing handshake with first hop.
> > [NOTICE] Bootstrapped 90%: Establishing a Tor circuit.
> > [NOTICE] Tor has successfully opened a circuit. Looks like client
> > functionality is working.
> > [NOTICE] Bootstrapped 100%: Done.
> > [NOTICE] New control connection opened.
> >=20
> > as an aside would it be discouraged to use the alpha in TBB and not the
> > bundled Tor version 0.2.4.22 (git-345e00dc68a052fe) ?
> >=20
> > pros/cons either way ?
>=20
> Pros:
> - easier to keep your entry guards longer
>=20
> Cons:
> - more difficult to set up
>=20
> Cheers,
> Patrick
>=20
> --=20
> tor-talk mailing list - tor-talk@lists.torproject.org
> To unsubscribe or change other settings go to
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

--=20
 =E2=99=A5=E2=92=B6 isis agora lovecruft
_________________________________________________________
GPG: 4096R/A3ADB67A2CDB8B35
Current Keys: https://blog.patternsinthevoid.net/isis.txt

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQMhBAEBCgELBQJT3/HABYMB4TOAVhSAAAAAACUAKGlzaXMrc2lnbnN1YmtleUBw
YXR0ZXJuc2ludGhldm9pZC5uZXRGQzYzQUE1Q0QxOTM4NjlDMzIzNzE0NUE1QzE3
Nzc2RTI3RjdFODRESxSAAAAAABoAKGlzaXNAcGF0dGVybnNpbnRoZXZvaWQubmV0
MEE2QTU4QTE0QjU5NDZBQkRFMThFMjA3QTNBREI2N0EyQ0RCOEIzNS4aaHR0cHM6
Ly9ibG9nLnBhdHRlcm5zaW50aGV2b2lkLm5ldC9wb2xpY3kudHh0LJhodHRwczov
L2Jsb2cucGF0dGVybnNpbnRoZXZvaWQubmV0L2lzaXMudHh0AAoJEFwXd24n9+hN
Jz8P/iMfjnmDVwJgi5831fRmbu9fLiefU95JVCxEDzWDOSZ2Jf6gy+3fIBODIJup
1nBtdU79vXh2kQXv/qH6gvqv2Ioxxy7LjFmWF/6Jnis1yE405akhHDRj5eko1KVa
+uF3PVqLJx+m4j0tdwXaTWxb7/crQfNasOJF+dgRQFhDo6Me+k4i8WyUn9QiPZgi
XFI0PhRDKBVVClJSUxEG8/RhiEZ9TLPKu+GYD/SMQD1Cjjbs0iyAR0xqWuAhhjp9
+Cs9spT9HkmmvQklpPnJpJOpzYPJEucdyul1SMTJlz2wpRfcdx3IZL9OLegLYOqB
YIiMpSm9uvut49XbLzhN6s8mhKctn8vpVSuCPs8moliZb5DKErJ68W4zjz0H7RXJ
Sp09r/bKXwJcMFjdo/i4q7P8aVsPr+Op9wJXoRrH2xCl3DA2saVKtANo5nHAve5f
z8+b2ak2eiVaVqY44du3/QVbmn5aaMYEdXQ20a4ek9xZ4gtmyNPgkLbWg+i9IPZQ
AEpJBcra+K4Hiim9iYLc0YYlUqKgmoAZOxxERV1SNSecKnNRkahfLBhlO4B4oJCd
P2w4RkM4Fg9ZRXMB9xImAxLAUQ/uGbi5EjzpGBf+Wjou7ImZjeFZHJ3chPsijwA7
oEdwpzcr4/PP3onLrM4UvT8eaaqpN0foxAl7H7ItVLs4J61H
=29Mg
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--

--===============8363663746751774826==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

--===============8363663746751774826==--

