From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9947 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: tor web-browser doesn't work on musl Date: Mon, 25 Apr 2016 12:48:17 -0400 Message-ID: <20160425164817.GD21636@brightrain.aerifal.cx> References: <20160425114547.36d5dc77@ncopa-desktop.alpinelinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1461602927 28565 80.91.229.3 (25 Apr 2016 16:48:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2016 16:48:47 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9960-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 25 18:48:34 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aujgY-000770-Dx for gllmg-musl@m.gmane.org; Mon, 25 Apr 2016 18:48:34 +0200 Original-Received: (qmail 31951 invoked by uid 550); 25 Apr 2016 16:48:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 31933 invoked from network); 25 Apr 2016 16:48:31 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9947 Archived-At: On Mon, Apr 25, 2016 at 01:02:24PM -0300, Daniel Simon wrote: > By what I could find, nobody has compiled the tor web-browser from > source on musl before. > I can't find any packages for it... > I'll try to make a new email and send it to both mailing lists (musl > and tor) then we can talk to them directly. > Thanks for all help so far. One thing to note: the whole point of Tor Browser Bundle is to avoid all sorts of side-channel/information-leak risks associated with just using a normal web browser build on Tor. If anything showing that your Tor Browser Bundle is built against musl rather than glibc leaks out to the network, this would compromise much of the benefit of the package -- there are relatively few musl desktop users, and even fewer who use Tor Browser, so it becomes much easier to identify you. Of course it would be ideal if they _always_ used musl, and fully static-linked, so that there wouldn't even be any risk of glibc version information (from the system-wide glibc) leaking over the network. Rich > On Mon, Apr 25, 2016 at 7:07 AM, Alba Pompeo wrote: > > How could I build the Tor Browser Bundle from source? > > I can't find any guide for it. > > If someone has ever done this, could you share the binary that works on musl? > > Could TBB be packaged to musl systems (void, alpine, etc) or is it > > only available as a downloadable binary? > > > > > > On Mon, Apr 25, 2016 at 6:45 AM, Natanael Copa wrote: > >> On Sun, 24 Apr 2016 11:01:12 -0300 > >> Daniel Simon wrote: > >> > >>> Hi, I face a bug when running tor-web-browser from my new system that uses musl. > >>> > >>> 1) wget https://www.torproject.org/dist/torbrowser/5.5.4/tor-browser-linux64-5.5.4_en-US.tar.xz > >>> 2) tar zxvf ./tor-browser-linux64-5.5.4_en-US.tar.xz > >>> 3) cd tor-browser-linux64-5.5.4_en-US > >>> 4) ./start-tor-browser.desktop > >>> > >>> EXPECTED: tor web browser launches as it does on glibc systems > >>> WHAT HAPPENS: Nothing > >>> > >>> I assume there is a fix... > >>> Thank you very much. > >> > >> You can not really expect a precompiled binary that is linked against > >> glibc work on a musl libc system. > >> > >> There are 3 possible solutions: > >> - run the pre-compiled binary on a glibc system > >> - ask the tor browser developers to provide a binary built with musl libc > >> - build it from source yourself > >> > >> -nc