From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Max_Zettlmei=C3=9Fl?= Newsgroups: gmane.emacs.devel Subject: Re: flag to use tor Date: Tue, 17 Nov 2020 07:31:20 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35308"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 17 07:32:23 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keuXO-00095V-9Y for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Nov 2020 07:32:22 +0100 Original-Received: from localhost ([::1]:39524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keuXN-0004jU-AW for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Nov 2020 01:32:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keuWd-0004Ij-Gu for emacs-devel@gnu.org; Tue, 17 Nov 2020 01:31:35 -0500 Original-Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]:41831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keuWb-00066m-98 for emacs-devel@gnu.org; Tue, 17 Nov 2020 01:31:35 -0500 Original-Received: by mail-vs1-xe36.google.com with SMTP id m16so10488368vsl.8 for ; Mon, 16 Nov 2020 22:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zettlmeissl.de; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Hn2Gz+vt39hApvUH4nvoJSbQNz27xgtlRVroHR6+lZY=; b=aN4R2KtxDMGdVlQgTiV+wOm9u/cBFFHLoeXPJa+71FbQy/GLYwSK41UNhzIYnhM8FQ 8w2D1uuL39llKj3XOJFrIXN9p6LOWmPWqju2QmfvzLrzqp/42baaiS7u/Ztxdsk1kbK7 zirrL1UfCBcy5aPp0oDThfHxWGwlOZ9Ll4DNAFDSGvraE+v+qC/Q3lTIMricQsnA2ohC GmVKY3izluMFRuBq1+KlbASYns0HT33fL/vxE1sXIgrIgWFCDMk2dhlRleSj74F279kW eLjQQMQSjwoGRL0s+Wt1iqIlz4xPEseS1++HH4CMDCz9uWT7mCvrhX3f9yJp9yBBp45o +jSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Hn2Gz+vt39hApvUH4nvoJSbQNz27xgtlRVroHR6+lZY=; b=Df9oxnHBBTrEZ5ERpQG/bX0Fw3lOlAGEcTUKIhPnHjdYk7xz1DdFdr44SRBl0uXDbp f9f5GjzNT0HJHGfcw/IqJNWsd4bOKJtsJN4wKYD559qVLTjdmBqft3e7BXEAogfRXo6m Q4q8ZsGBUQmhQ8OEqfTrC0iODRH+enaT4mwZYrM50GfpLnBrNVrYomw3C5muwNfA9wdp FfD/SoeNpEXVK2L50bl1KqwwiRDFeyAYrzKf0pHdoMYIMgI9uu1adz779E5CFO2OFGg1 Lhgr9EmYYhbgN8iry9musmvjiFZyYjkC4P75BpALNhgesIwbifWUjfKYHKQaHSUkh7UZ nJ+g== X-Gm-Message-State: AOAM533V1MwjHQjgFprsh9NhdOLRKyRQ1jn7iyD0IJ8HYgT9/oLtBf1I hTSaUBSYMKZx+Sy0h3WALpgVxlZGf+yqjvL199nAW76YMT7X6maN X-Google-Smtp-Source: ABdhPJy8EjdleZMBP98gmSeSJnbFOYulyAl1UO3bFynbW15kROaAi6gLnhdemO2uNRBbGgtHO2l3xEBpho8agdckk2A= X-Received: by 2002:a67:ed0b:: with SMTP id l11mr9982039vsp.34.1605594691377; Mon, 16 Nov 2020 22:31:31 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=max@zettlmeissl.de; helo=mail-vs1-xe36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259272 Archived-At: On Tue, Nov 17, 2020 at 6:14 AM Richard Stallman wrote: > I want to connect through Tor all the time, but sometimes these > commands betray me. I added a switch to VC to make it connect > through Tor always, but it would be good to have a facility that > would do this to all internet connections that Emacs packages make. > > Some packages connect directly in Lisp. and some connect by running > subprocesses. For the subprocesses, using 'torsocks' is an easy fix. > The hard part is to change all the packages that need fixing. I have been missing such a feature too. The hardest part when not routing every single connection through Tor on a lower level, is to know whether all connections originating from Emacs really are going through Tor and I have always been hesitant to fully trust the solutions which I came up with. The solution which I trusted most, was running Emacs in a separate network namespace and routing all the namespace's connections through Tor. > A super-simple approach is to have a switch with two settings: Tor, or > not Tor. A more complex feature would give a systematic way to > specify exceptions. I guess a more fine grained approach is required to really provide a solution to everyone. One example of a case where one might desire a more fine grained control: When using tramp mode to edit files on a server, one might not always be in a position where a connection from a Tor node is allowed by the server. I'm in favour of such a facility, but it should not provide a false sense of security and therefore in my opinion either be implemented properly or not at all.