Delivery-Date: Sun, 22 Jun 2014 17:41:58 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID
	autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 3AE661E0A07
	for <archiver@seul.org>; Sun, 22 Jun 2014 17:41:57 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id C2A6B2F75C;
	Sun, 22 Jun 2014 21:41:54 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id DFCDD2F873
 for <tor-talk@lists.torproject.org>; Sun, 22 Jun 2014 21:32:47 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id rP0VV77OCRJJ for <tor-talk@lists.torproject.org>;
 Sun, 22 Jun 2014 21:32:47 +0000 (UTC)
Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com
 [IPv6:2607:f8b0:400c:c03::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id BFCF82F86B
 for <tor-talk@lists.torproject.org>; Sun, 22 Jun 2014 21:32:47 +0000 (UTC)
Received: by mail-vc0-f171.google.com with SMTP id id10so5232652vcb.30
 for <tor-talk@lists.torproject.org>; Sun, 22 Jun 2014 14:32:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=dC3zx3QwzZ0Vr+507yVnx918Iwjd9gQacnxjWDx2y7g=;
 b=s2JV0TsL9kkorhn38R7m27UPVikpg9mb24WI6Ok10hvH/UZNFz27EdbOE6I2YJMjjF
 G+yHW1B1rlRAsvt4VKvXLpePgHHFg4zXgkcg3eELVG+sSTtTqq0ar4tKiNVDRa2mGXPK
 603i9wHqk5E5sccLcScnja2cy03mvexDb/c47JUnOSiiIa1F0/L6szLyQsn43LLxWP4t
 kT2tgPBqgKLo5U6f20m7Hua6rfkPJUQqvJoPVfd6X4ZomuTepTsCYWri75lZZyJTr9ic
 WoQIQ+0yzddjhy8NYaN2tn1s5Podi9NvjzeNK0MpzipVvy8AJkIOYAsKaWvPHZotyhRx
 rGAg==
MIME-Version: 1.0
X-Received: by 10.58.56.102 with SMTP id z6mr15051854vep.7.1403472765244; Sun,
 22 Jun 2014 14:32:45 -0700 (PDT)
Received: by 10.221.65.198 with HTTP; Sun, 22 Jun 2014 14:32:45 -0700 (PDT)
In-Reply-To: <20140622150528.GW15726@zeromail.org>
References: <20140622150528.GW15726@zeromail.org>
Date: Sun, 22 Jun 2014 17:32:45 -0400
Message-ID: <CAD2Ti2-xyUScEDp4d5=r-U3E+jFO-gNa1P8wE-sfwjYA-DXJ7Q@mail.gmail.com>
From: grarpamp <grarpamp@gmail.com>
To: mpop-users@lists.sourceforge.net
Cc: tor-talk@lists.torproject.org
Subject: Re: [tor-talk] [mpop-users] socks proxy support
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

On Sun, Jun 22, 2014 at 11:05 AM, ilf <ilf@zeromail.org> via mpop-users:
> I've been using mpop and msmtp with Tor for years, but only with the "hack"
> of using the torsocks wrapper: https://code.google.com/p/torsocks/

That code branch is dead, the last tarball release being...
http://www.wangafu.net/~nickm/torsocks-1.3.tar.gz
http://www.wangafu.net/~nickm/torsocks-1.3.tar.gz.asc

Torsocks is now a Tor project and can be found here (incl v2.x and v1.3 tags)...
https://gitweb.torproject.org/torsocks.git

It's important to note that if you're compiling msmtp/mpop (or any
other tool/app) statically for use in jails or standalone/dedicated
environments, torsocks is not an option.

Socat is also useful but harder to setup...
http://www.dest-unreach.org/socat/download/

And you can funnel everything through Tor with your firewall.

> I'd love to use the local socks proxy directly, but AFAICT mpop and msmtp
> don't support it.
> Would adding socks proxy support be complicated?
> Or is it included already and I just didn't find it?

That said, SOCKS support would be nice since it would eliminate the
need for any of the above shims. Though specifically it needs to be
SOCKS version 5, with IPv4 and IPv6 transport, and all DNS queries
must be passed through it as well, return codes handled, etc.

https://tools.ietf.org/html/rfc1928
https://en.wikipedia.org/wiki/SOCKS

Don't forget to use the TLS fingerprint (and cert) checking features of
msmtp and mpop, especially via Tor.

> Thanks, and keep up the good work!
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

