Delivery-Date: Sun, 24 May 2015 08:04:13 -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.1 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_RP_MATCHES_RCVD
	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 DEE611E0431
	for <archiver@seul.org>; Sun, 24 May 2015 08:04:10 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 49841353AD;
	Sun, 24 May 2015 12:04:04 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 96606353AC
 for <tor-talk@lists.torproject.org>; Sun, 24 May 2015 12:04:00 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
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 ZovWxCB4RhEG for <tor-talk@lists.torproject.org>;
 Sun, 24 May 2015 12:04:00 +0000 (UTC)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com
 [IPv6:2607:f8b0:400e:c03::22f])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 6121F353AB
 for <tor-talk@lists.torproject.org>; Sun, 24 May 2015 12:04:00 +0000 (UTC)
Received: by padbw4 with SMTP id bw4so52488120pad.0
 for <tor-talk@lists.torproject.org>; Sun, 24 May 2015 05:03:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject:references
 :in-reply-to:content-type:content-transfer-encoding;
 bh=CdJjiF8eTD59s1uxLn2AxyV/xGu8Ou76wlJCBSBTwO0=;
 b=KTUT3CUCgGU9ooGUBmMvGjwHfZfLr1+CLEgYawJoP6BvMrOjIj2L1NkbnVvzjVGyt0
 cCaTGBJaNNCWIhPomiCrO54bQuh7+mF62wvZSU/cFBaJQhk7kZqcP5cDzfAd+bcExdyd
 8FFRlgcwpDzutd7VJbOp/IgMxP/mU/IziAdbD+tq6u/6eRYPIbxkTs5159OMU7Y5rs7b
 EVa5ce5XRDbfcoPcoVr1VF3KsO9fN2yYIv6FBqX56C8RPMoZeRoGwJoIVyBEZkiWh7/7
 WlrI1uX3uVBcyE79WqRdzHzALYqwqfncdxUHeMVwBzCll2GKb7CNxclehuWb5xqX6tBF
 VJRg==
X-Received: by 10.66.141.231 with SMTP id rr7mr31391936pab.86.1432469037909;
 Sun, 24 May 2015 05:03:57 -0700 (PDT)
Received: from localhost.localdomain (ip72-198-31-109.ok.ok.cox.net.
 [72.198.31.109])
 by mx.google.com with ESMTPSA id i15sm7094491pbq.60.2015.05.24.05.03.56
 for <tor-talk@lists.torproject.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 24 May 2015 05:03:56 -0700 (PDT)
Message-ID: <5561BE2A.7050709@gmail.com>
Date: Sun, 24 May 2015 07:03:54 -0500
From: Jeremy Rand <biolizard89@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
References: <5561B2DB.4050407@gmail.com>
 <E63D0E68-C57E-4D06-8BDA-86371F2A4785@tvdw.eu> <5561B66D.8000101@gmail.com>
 <5561B93E.3020002@sky-ip.org>
In-Reply-To: <5561B93E.3020002@sky-ip.org>
Subject: Re: [tor-talk] SOCKS proxy to sit between user and Tor?
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>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 05/24/2015 06:42 AM, s7r wrote:
> Hi Jeremy
> 
> Why do you want this and why do you think this is a good idea?
> What are you trying to solve? The socks5 which Tor open is not a
> simple socks5 protocol implementation, it has some customizations
> and enhancements used by Tor Browser to isolate streams, etc.
> 
> As TvdW suggests, you if you use a TCP proxy that will just
> redirect the requests, there should be no penalty of performance or
> features for the Tor socks5. But I am not sure why you want to do
> this.

I want to be able to modify the host that the user program is
requesting from the Tor SOCKS proxy.  E.g. Firefox requests abc.com,
Tor receives a request for xyz.org.  And I want to do this without
modifying Tor's source code.

The intended use case is redirecting .bit domains to .onion domains
(as a way of enabling human-readable .onion domains), without needing
any modifications to Tor or TorBrowser.  (Also redirecting .bit to
.b32.i2p domains would be an application.)

My understanding is that the main quirk of Tor's SOCKS implementation
is that the SOCKS basic auth is used for stream isolation, so passing
it through from the user to Tor shouldn't hurt anything.  Is there
some other deviation from the SOCKS spec that I don't know about?

Thanks,
- -Jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVYb4oAAoJEAHN/EbZ1y06hMAQAKjID5sLKS9gdYRSTc1gNxjw
JUBUDwlGcqBG42CpBGYSYQj2v1fwkKW8WJVwy/WP9sPwq3rhb5MSi3nRAY/xhCIL
3JyQNo7AZCQ0UfQitHzqfAD9yVxO9wORrF+huR9cfo55/bX1vQKqKnyScrsRDiH5
DythY57sjjNU58pkpaUfpv+LUJSEmoJPHnI7Sf2IgDroJmpkW3by9I4wtW7GFf54
4aQZvn0m30j9FNwwB/Ty5jNlXzeygxn9yjaAyVlEboxvS+Vr4vp/bwMpwELrVflV
zTrxim1yDXqEmN6imge0g3beDsyw3jB+PXP/d6/B9X5wkzju1YX5B1QH3eaqMZRw
VcgGv9UY+3lfvPZK8PCMiw3Sm8hxIjxc5xas7zm0V25tTaoGCe4o9Wl6EHL7j8sz
1efQqNh1bCtajApz5/Prom1n5cH6n976XjirA/XrizStHKQGkJ2aVCp0SfLkNLLc
7vIe+6DQ0NqqFDn8GHnls/eSOVmsqMrFPOSkF7BsWcpN/WDLMcwtTBUw0BX1lbKs
mUBtjbdLXuLB4PqlcNOtdgT5dPxPw7VVtQILhH/QtEdMxP+jzEdpPRpCAr1E4Xfk
EXreJQbmocYnlRDEL8obJ9/GrB8aCMwXEtgt0LmcVtVgSknWBxxplueBc50tosu7
eEtnXtLfuUK3nD5WiVUI
=v7i5
-----END PGP SIGNATURE-----
-- 
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

