From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: package-install and Tor Date: Tue, 20 Sep 2022 21:28:29 +0100 Message-ID: <877d1xzt76.fsf@yandex.com> References: <87pml5r72k.fsf@posteo.net> <87v8uu4ko9.fsf@posteo.org> Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34403"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Richard Stallman , Philip Kaludercic , emacs-devel@gnu.org To: Aleksandr Vityazev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 21 01:50:34 2022 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 1oan0c-0008jP-41 for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Sep 2022 01:50:34 +0200 Original-Received: from localhost ([::1]:33642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oan0b-0006ZN-44 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Sep 2022 19:50:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oajrH-0001Rf-1L for emacs-devel@gnu.org; Tue, 20 Sep 2022 16:28:44 -0400 Original-Received: from forward501o.mail.yandex.net ([2a02:6b8:0:1a2d::611]:43148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oajrD-0002cX-TW; Tue, 20 Sep 2022 16:28:42 -0400 Original-Received: from sas8-9a72d639b2ad.qloud-c.yandex.net (sas8-9a72d639b2ad.qloud-c.yandex.net [IPv6:2a02:6b8:c1b:2904:0:640:9a72:d639]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 690A545C4807; Tue, 20 Sep 2022 23:28:32 +0300 (MSK) Original-Received: by sas8-9a72d639b2ad.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id juIpILMZzd-SUhWFgiQ; Tue, 20 Sep 2022 23:28:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1663705711; bh=0ACQzwi/8Zh5u311kDkWJxOtIrREA8QaOyzcHgCdZEA=; h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To: From; b=HAYAX6/H9cgQs3s923HFK9xQtCqvtpUS+/qxMhzxORjGMapkaR/qCCzObx/DCfXvn 85XR4U+FP/cRpiXSnfTD/wgFNs5q848GJDXJDxrGR8H2OYpAPv0rHugu9PXOUSqhPl D6tFBexSMVbkpSZLMm7ie1MUpmF0E7PYzmD1vXBg= Authentication-Results: sas8-9a72d639b2ad.qloud-c.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: <87v8uu4ko9.fsf@posteo.org> (Aleksandr Vityazev's message of "Wed, 27 Apr 2022 15:20:54 +0000") X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjItMDgtMTZUMTI6MDA6NTYrMDE6MDCRhRhWAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:0:1a2d::611; envelope-from=m43cap@yandex.com; helo=forward501o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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.29 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:295843 Archived-At: >>>>> Aleksandr Vityazev writes: > On 2022-04-27, 00:07 -0400, Richard Stallman wrote: >> [[[ To any NSA and FBI agents reading my email: please consider >> ]]] [[[ whether defending the US Constitution against all >> enemies, ]]] [[[ foreign or domestic, requires you to follow >> Snowden's example. ]]] >> >> > I believe you can use url-proxy-services and direct HTTP >> requests to use > your Tor daemon. >> >> Could you show me how to do that? I don't know how. The >> variable's doc string presumes knowledge I don't have. >> >> Perhaps we should add concrete documentation of how to use that >> variable to do precisely this. > Hi, > There 2 common solutions: > 1. Using torsocks [1] run Emacs from terminal: > #+begin_src shell torsocks emacs; #+end_src > 2. Using the built-in socks.el library with these settings: > #+begin_src elisp (setq socks-server '("tor" "127.0.0.1" 9050 5)) > (setq url-gateway-method 'socks) (setq socks-username "user") > (setq socks-password "") #+end_src > But this library has issue [2]. > To use tor via http proxy, you must configure it accordingly, > because socks proxy is used by default. > [1] https://gitweb.torproject.org/torsocks.git [2] git clone https://gitweb.torproject.org/torsocks.git Cloning into 'torsocks'... fatal: repository 'https://gitweb.torproject.org/torsocks.git/' not found Looks like torsocks has gone. Anyone know where? Best wishes, Colin.