From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9948 Path: news.gmane.org!not-for-mail From: Daniel Simon Newsgroups: gmane.linux.lib.musl.general Subject: Re: tor web-browser doesn't work on musl Date: Mon, 25 Apr 2016 16:46:32 -0300 Message-ID: References: <20160425114547.36d5dc77@ncopa-desktop.alpinelinux.org> <20160425164817.GD21636@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1461613610 9791 80.91.229.3 (25 Apr 2016 19:46:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2016 19:46:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9961-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 25 21:46:49 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 1aumT1-0007J8-8o for gllmg-musl@m.gmane.org; Mon, 25 Apr 2016 21:46:47 +0200 Original-Received: (qmail 22133 invoked by uid 550); 25 Apr 2016 19:46:45 -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 22115 invoked from network); 25 Apr 2016 19:46:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=hZSjYp4fMcGqOmubhJiJBWaQKxAAmRsPywEDY89LO4c=; b=TF93kVPBw+88aZjTuJ8MbJ4WHqCKtN6i19M9tcv0JbypFCk78lJ8qF9XwD6KMKZJD7 bwzAjRbr9PwoGjZyKl0m5YtS3iny+oFOhKWxFdRLCyVM5TE/FRHh26awB3o7VHRK09db eaBs3ZUzadx9Z+/QEQPMk0BMJrv5oAshhtkZgz/MAJet6gCMbetChyaHxdNVQ4u7x9+B x5Ov19JxqllJuHMAPvMQTrsYUIkz0v0X/3OS/9im0ynP8nOJgDpK3qo90MZhPTupZVvR KwF3gdpC0D1G4jPAQQwnN/AYPNsS8l/oIHZe91wZJuowr8NG+lRpoWjss73izKt43Ou2 M3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=hZSjYp4fMcGqOmubhJiJBWaQKxAAmRsPywEDY89LO4c=; b=h0LGWCmMa+hJ+QwuFCceV7bCjsD+k3SLX+Dl5n3Dt39+IUSj0uPUX2ZH7Xv7dUyZin cCzudyGR0GAcqeq1g4yuxZIuxKU3KAGVopisD6Eiv7+yPeD6NS8wLhlFv+sVODqC1i/3 cv/YYM8dAQRzhWS1pQeqS0xcKTwnN+ETZ9U6KzsjWbB7qukU2ygwaRurlRV78ADxJLZU ONGqG0ACA4HHUo+FWh0cw5vVvs2XCanapXV6q8BK0f7EMvySk4S0ZfMkVZNG/Opqir7E uBvNly2U1qoywX47JusUq4o0XC8WB2Yx8QXcJvL3SQHdfKwsbcGSQTHXvH+OhsI2JP3T MpCg== X-Gm-Message-State: AOPr4FXwFe48n9ZjZ/NP8mfMkDXUORb0HtHadH6XjZykg06AGnp8Pe6cc9SKFYYCKPXk56dMq31Ea81ae+wXtg== X-Received: by 10.129.109.206 with SMTP id i197mr13993444ywc.121.1461613592820; Mon, 25 Apr 2016 12:46:32 -0700 (PDT) In-Reply-To: <20160425164817.GD21636@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:9948 Archived-At: Hi, Rich. Did you receive my other email that was sent to both mailing lists (Tor and Musl)? In it I listed a few possibilities and 1 of them was to statically-link the binaries to musl. Between other possibilities I included having separate binaries for glibc and musl, but you show that's a bad idea. Could you comment on the other email too, letting the Tor developers also aware of this and showing that the best outcome would be static-link to musl? I wonder if there would be any difficulty for them to do so... Or rather no difficulty, but lack of desire for change. I hope they're flexible. On Mon, Apr 25, 2016 at 1:48 PM, Rich Felker wrote: > 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