emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flag to use tor


From: Jean Louis
Subject: Re: flag to use tor
Date: Tue, 17 Nov 2020 08:30:42 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Richard Stallman <rms@gnu.org> [2020-11-17 08:14]:
> [[[ 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. ]]]
> 
> Many Emacs commands connect to internet sites for various reasons.
> vc does so, M-x irc does so, and I don't know how much else.
> 
> 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.

Good way to go is to launch Emacs by using `torify' command:

$ torify emacs

torify is now just a wrapper around torsocks(1) for backwards compatibility.
Usage: /usr/bin/torify [-hv] <command> [<options>...]

It then makes sure (but not sure how sure) that Internet that uses
that command goes over 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.

It would be good to have option in Emacs that enables torsocks for any
Internet operation, something like torsocks-mode.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]