[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flag to use tor
From: |
Colin Baxter |
Subject: |
Re: flag to use tor |
Date: |
Tue, 17 Nov 2020 07:59:22 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
>>>>> 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. ]]]
> 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.
> 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.
> 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.
> What do people think?
I run tor and then launch an xterm using proxychains using
proxychains /usr/bin/xterm <RET>.
I have
socks4 127.0.0.1 9050
in my ~/.proxychains.conf. This ensures that proxychains uses tor. I then
launch emacs in the xterm as a gui or with '-nw'.
Best wishes,