unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* package-install and Tor
@ 2022-04-25  2:39 Richard Stallman
  2022-04-25  6:49 ` Philip Kaludercic
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2022-04-25  2:39 UTC (permalink / raw)
  To: emacs-devel

[[[ 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. ]]]

How can I make access to ELPA go through Tor?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-04-25  2:39 package-install and Tor Richard Stallman
@ 2022-04-25  6:49 ` Philip Kaludercic
  2022-04-27  4:07   ` Richard Stallman
  0 siblings, 1 reply; 9+ messages in thread
From: Philip Kaludercic @ 2022-04-25  6:49 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> [[[ 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. ]]]
>
> How can I make access to ELPA go through Tor?

I believe you can use url-proxy-services and direct HTTP requests to use
your Tor daemon.

-- 
	Philip Kaludercic



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-04-25  6:49 ` Philip Kaludercic
@ 2022-04-27  4:07   ` Richard Stallman
  2022-04-27 15:20     ` Aleksandr Vityazev
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2022-04-27  4:07 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: emacs-devel

[[[ 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.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-04-27  4:07   ` Richard Stallman
@ 2022-04-27 15:20     ` Aleksandr Vityazev
  2022-09-20 20:28       ` Colin Baxter
  0 siblings, 1 reply; 9+ messages in thread
From: Aleksandr Vityazev @ 2022-04-27 15:20 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Philip Kaludercic, emacs-devel

On 2022-04-27, 00:07 -0400, Richard Stallman <rms@gnu.org> 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] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%35%33%39%34%31

-- 
Best regards,
Aleksandr Vityazev



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-04-27 15:20     ` Aleksandr Vityazev
@ 2022-09-20 20:28       ` Colin Baxter
  2022-09-20 20:53         ` Philip Kaludercic
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2022-09-20 20:28 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: Richard Stallman, Philip Kaludercic, emacs-devel

>>>>> Aleksandr Vityazev <avityazev@posteo.org> writes:

    > On 2022-04-27, 00:07 -0400, Richard Stallman <rms@gnu.org> 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 <RET>

Cloning into 'torsocks'...
fatal: repository 'https://gitweb.torproject.org/torsocks.git/' not found

Looks like torsocks has gone. Anyone know where?

Best wishes,

Colin.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-09-20 20:28       ` Colin Baxter
@ 2022-09-20 20:53         ` Philip Kaludercic
  2022-09-21  7:20           ` Colin Baxter
  0 siblings, 1 reply; 9+ messages in thread
From: Philip Kaludercic @ 2022-09-20 20:53 UTC (permalink / raw)
  To: Colin Baxter; +Cc: Aleksandr Vityazev, Richard Stallman, emacs-devel

Colin Baxter <m43cap@yandex.com> writes:

>>>>>> Aleksandr Vityazev <avityazev@posteo.org> writes:
>
>     > On 2022-04-27, 00:07 -0400, Richard Stallman <rms@gnu.org> 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 <RET>
>
> Cloning into 'torsocks'...
> fatal: repository 'https://gitweb.torproject.org/torsocks.git/' not found
>
> Looks like torsocks has gone. Anyone know where?

The URL (both website and repository) works for me:

icterid$ git clone https://git.torproject.org/torsocks.git/
Cloning into 'torsocks'...
remote: Enumerating objects: 48, done.        
remote: Counting objects: 100% (48/48), done.        
remote: Compressing objects: 100% (48/48), done.        
remote: Total 3095 (delta 20), reused 0 (delta 0)        
Receiving objects: 100% (3095/3095), 1.14 MiB | 2.76 MiB/s, done.
Resolving deltas: 100% (2188/2188), done.

> Best wishes,
>
> Colin.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-09-20 20:53         ` Philip Kaludercic
@ 2022-09-21  7:20           ` Colin Baxter
  2022-09-21  8:02             ` Robert Pluim
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2022-09-21  7:20 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Aleksandr Vityazev, Richard Stallman, emacs-devel

>>>>> Philip Kaludercic <philipk@posteo.net> writes:

    > Colin Baxter <m43cap@yandex.com> writes:
    >>>>>>> Aleksandr Vityazev <avityazev@posteo.org> writes:
    >> 
    >> > On 2022-04-27, 00:07 -0400, Richard Stallman <rms@gnu.org> 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 <RET>
    >> 
    >> Cloning into 'torsocks'...  fatal: repository
    >> 'https://gitweb.torproject.org/torsocks.git/' not found
    >> 
    >> Looks like torsocks has gone. Anyone know where?

    > The URL (both website and repository) works for me:

    > icterid$ git clone https://git.torproject.org/torsocks.git/

Indeed, thanks. Your URL isn't the one given by the OP.

Best wishes



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-09-21  7:20           ` Colin Baxter
@ 2022-09-21  8:02             ` Robert Pluim
  2022-09-25 19:30               ` Colin Baxter
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Pluim @ 2022-09-21  8:02 UTC (permalink / raw)
  To: Colin Baxter
  Cc: Philip Kaludercic, Aleksandr Vityazev, Richard Stallman,
	emacs-devel

>>>>> On Wed, 21 Sep 2022 08:20:39 +0100, Colin Baxter <m43cap@yandex.com> said:
    >>> 'https://gitweb.torproject.org/torsocks.git/' not found
    >>> 
    >>> Looks like torsocks has gone. Anyone know where?

    >> The URL (both website and repository) works for me:

    >> icterid$ git clone https://git.torproject.org/torsocks.git/

    Colin> Indeed, thanks. Your URL isn't the one given by the OP.

The OP gave the gitweb url, which is not the same as the url you use
to clone (see the bottom of the page at the gitweb url)

Robert
-- 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: package-install and Tor
  2022-09-21  8:02             ` Robert Pluim
@ 2022-09-25 19:30               ` Colin Baxter
  0 siblings, 0 replies; 9+ messages in thread
From: Colin Baxter @ 2022-09-25 19:30 UTC (permalink / raw)
  To: Robert Pluim
  Cc: Philip Kaludercic, Aleksandr Vityazev, Richard Stallman,
	emacs-devel

>>>>> Robert Pluim <rpluim@gmail.com> writes:

>>>>> On Wed, 21 Sep 2022 08:20:39 +0100, Colin Baxter <m43cap@yandex.com> said:
    >>>> 'https://gitweb.torproject.org/torsocks.git/' not found
    >>>> 
    >>>> Looks like torsocks has gone. Anyone know where?

    >>> The URL (both website and repository) works for me:

    >>> icterid$ git clone https://git.torproject.org/torsocks.git/

    Colin> Indeed, thanks. Your URL isn't the one given by the OP.

    > The OP gave the gitweb url, which is not the same as the url you
    > use to clone (see the bottom of the page at the gitweb url)

Thanks for this. Sorry for the late reply.

Best wishes,



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-25 19:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25  2:39 package-install and Tor Richard Stallman
2022-04-25  6:49 ` Philip Kaludercic
2022-04-27  4:07   ` Richard Stallman
2022-04-27 15:20     ` Aleksandr Vityazev
2022-09-20 20:28       ` Colin Baxter
2022-09-20 20:53         ` Philip Kaludercic
2022-09-21  7:20           ` Colin Baxter
2022-09-21  8:02             ` Robert Pluim
2022-09-25 19:30               ` Colin Baxter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).