Delivery-Date: Mon, 07 Mar 2016 18:30:16 -0500
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_SIGNED,
	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 B5EDA1E019C;
	Mon,  7 Mar 2016 18:30:14 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 8C67E37F2C;
	Mon,  7 Mar 2016 23:30:09 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id BACD536E00
 for <tor-talk@lists.torproject.org>; Mon,  7 Mar 2016 23:30:06 +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 pQ4vqhCv1yDb for <tor-talk@lists.torproject.org>;
 Mon,  7 Mar 2016 23:30:06 +0000 (UTC)
Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com
 [IPv6:2607:f8b0:4003:c01::229])
 (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 940B936212
 for <tor-talk@lists.torproject.org>; Mon,  7 Mar 2016 23:30:06 +0000 (UTC)
Received: by mail-ob0-x229.google.com with SMTP id fz5so120965511obc.0
 for <tor-talk@lists.torproject.org>; Mon, 07 Mar 2016 15:30:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bentasker.co.uk; s=google;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to;
 bh=GYcwX62H02LdA/XmazaR2QkHQnqF3/u6Xa7mXu+jvH4=;
 b=RzQY11g7Gvk/Hf9NpU9Pw9L4U1DuJvRZ1HyxCTOq6YvZUQR1PY3C9PIPwIqU2V2Uwa
 MBgM+8ipXlft8EFgeYXZ84syHa9DS4/bb/d4MatGe1m6kIzxCDsgBh15FVvQUuONh8fk
 YXDOCMaFW3pa4HdUr5tJx3cFyHgdcNBssk8So=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to;
 bh=GYcwX62H02LdA/XmazaR2QkHQnqF3/u6Xa7mXu+jvH4=;
 b=hhrKpc7DAdahwa9ZZQzlT8ox7vrnjZ3okQcSK5ebpxHIDgUeSxfX/CanSmLvV/an++
 Ir2wFm6QG6uVbcfKAhg0AQKnqEBtHTBNlm9ZuqKvzLOo7SP+fv54B2bquDh5SGBzDVV1
 llL7eIV2hfi99Anw+DDOXCNzmdaaMEbN5ASnkrXwpdSmRhdxDDFOX8L0ybovlh3Aeo9p
 9FC0XlGvar1bn6iWuFxbM6iKyB9EPknNwy7v/ZJaIknh76rFzkcezsXfS6M7SH/ARXSt
 7owyEk2qsO7lRu/SjyA9OonAFT59mruuYuI9a53X6/CrvkgLI3+cos8nMUfyM81TFUDn
 9GlA==
X-Gm-Message-State: AD7BkJIq2ENvRLSjdGHfZiaXpwZxZnFeK+3HRczTvkX7MrTy6D95L8sdfEG+CObQ3+780EWnyoh640lUu3ZF+A==
MIME-Version: 1.0
X-Received: by 10.60.35.35 with SMTP id e3mr15629387oej.27.1457393404196; Mon,
 07 Mar 2016 15:30:04 -0800 (PST)
Received: by 10.76.80.168 with HTTP; Mon, 7 Mar 2016 15:30:04 -0800 (PST)
X-Originating-IP: [86.128.226.32]
Received: by 10.76.80.168 with HTTP; Mon, 7 Mar 2016 15:30:04 -0800 (PST)
In-Reply-To: <nbl0st$s2e$4@ger.gmane.org>
References: <nbktsc$s2e$1@ger.gmane.org> <2804656.zJqi8RcCG5@home>
 <nbl0st$s2e$4@ger.gmane.org>
Date: Mon, 7 Mar 2016 23:30:04 +0000
Message-ID: <CABMkiz5vxL0J4XC=BRqmrUjQHFqYR7L5q=DYV3CeqOc2O7tsXA@mail.gmail.com>
From: Ben Tasker <ben@bentasker.co.uk>
To: tor-talk@lists.torproject.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [tor-talk] Transparent proxy question
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>

> Is there some way to pass these two options to a remote machine over the
TCP channel?

Afaik, no. But you could configure the remote machine to transparently
proxy and then on your router configure interesting traffic to use that as
a gateway - I use Policy Based Routing to direct port 80 traffic to my
squid box and it works a charm.
On 7 Mar 2016 23:00, "Oskar Wendel" <o.wendel@wp.pl> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Aeris <aeris+tor@imirhil.fr>:
>
> > Original hostname and port are set by iptables on the socket through
> > setsockopt, SOL_IP & SO_ORIGINAL_DST, and available on Tor with
> getsockopt.
>
> Thanks. So it would work only locally...
>
> Is there some way to pass these two options to a remote machine over the
> TCP channel? I mean, I could write something like that myself, but maybe
> there is a ready made solution?
>
> - --
> Oskar Wendel, o.wendel@wp.pl.REMOVE.THIS
> Pubkey: https://pgp.mit.edu/pks/lookup?search=0x6690CC52318DB84C
> Fingerprint: C8C4 B75C BB72 36FB 94B4 925C 6690 CC52 318D B84C
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJW3gbcAAoJEGaQzFIxjbhMkkMH+wcPx5+760n4brsC7O0DQrNe
> wVQePwdnW7ZAhdmJ8nwOgvPi6WUEt8Kfzf80wRp5a0EtMvjOalQ0yAmitk2yZtzg
> 88HzxIr5jLxE/5lTocepMKdDOuak3j6TFbk+yFNSVEJUX4hgOZWbx7hsijWTRILC
> a+L7L4vlewj6vsv4Q9WUzrxBcsdKkS/GTW38DeVUhebtVcl6D+d3qSnne8gHVVWX
> qUb8IHohD3xSDc86zU3yCyJqy7AUK6KLZ9eLvjhYjXXPJJ7CfX8Yl/G5TCUWtsar
> fDLeEjOm+55ZhT1xFydHm0ZZ4wkBkG26LAtTmSC3CJIPR0rfEH3tE9mNSz+wE1A=
> =auMr
> -----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
>
-- 
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

