Re: [multipathtcp] [Int-area] SOCKS 6 Draft

Vladimir Olteanu <vladimir.olteanu@cs.pub.ro> Tue, 04 July 2017 23:35 UTC

Return-Path: <vladimir.olteanu@cs.pub.ro>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D295A13161E; Tue, 4 Jul 2017 16:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.891
X-Spam-Level:
X-Spam-Status: No, score=-1.891 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LOExWUGHkrEE; Tue, 4 Jul 2017 16:35:19 -0700 (PDT)
Received: from vesa.cs.pub.ro (vesa.cs.pub.ro [141.85.227.187]) by ietfa.amsl.com (Postfix) with ESMTP id B9C2A13161D; Tue, 4 Jul 2017 16:35:18 -0700 (PDT)
IronPort-PHdr: 9a23:Bie8BBJ9CNp3sXb+VtmcpTZWNBhigK39O0sv0rFitYgXKvryrarrMEGX3/hxlliBBdydsKMbzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1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NLn
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DdAgDxJFxZ/wPjVY1cGgEBAQECAQEBAQgBAQEBFQEBAQECAQEBAQgBAQEBgkSBTQOBDY57kF0imBEuhW4Cg2EBAQEBAQEBAQIBaiiCMyQBgkEBAwItTBALGB0KB0YRBgEMBgIBAYovDLRSKYsTAQEBAQEBAQECAQEBAQEBAQEbBYMng0yBYSsLgm6FIIU+BZFNhVyHXYIik2+FSoNOhnqVMQJXgQoxIYgZcwGJKQEBAQ
X-IPAS-Result: A2DdAgDxJFxZ/wPjVY1cGgEBAQECAQEBAQgBAQEBFQEBAQECAQEBAQgBAQEBgkSBTQOBDY57kF0imBEuhW4Cg2EBAQEBAQEBAQIBaiiCMyQBgkEBAwItTBALGB0KB0YRBgEMBgIBAYovDLRSKYsTAQEBAQEBAQECAQEBAQEBAQEbBYMng0yBYSsLgm6FIIU+BZFNhVyHXYIik2+FSoNOhnqVMQJXgQoxIYgZcwGJKQEBAQ
X-IronPort-AV: E=Sophos;i="5.40,309,1496091600"; d="scan'208,217";a="872857"
Received: from mail.cs.pub.ro (HELO vmail.cs.pub.ro) ([141.85.227.3]) by vesa.cs.pub.ro with ESMTP; 05 Jul 2017 02:35:13 +0300
Received: from localhost (localhost [127.0.0.1]) by vmail.cs.pub.ro (Postfix) with ESMTP id CE98C1A60008; Wed, 5 Jul 2017 02:35:12 +0300 (EEST)
Received: from vmail.cs.pub.ro ([127.0.0.1]) by localhost (vmail.cs.pub.ro [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6lv9Vk9UkGjk; Wed, 5 Jul 2017 02:35:12 +0300 (EEST)
Received: from vmail.cs.pub.ro (localhost [127.0.0.1]) by vmail.cs.pub.ro (Postfix) with ESMTPS id AEF781A6006E; Wed, 5 Jul 2017 02:35:12 +0300 (EEST)
Received: from [172.19.2.57] (unknown [141.85.233.142]) by vmail.cs.pub.ro (Postfix) with ESMTPSA id A9A7D1A60008; Wed, 5 Jul 2017 02:35:12 +0300 (EEST)
From: Vladimir Olteanu <vladimir.olteanu@cs.pub.ro>
To: mohamed.boucadair@orange.com, David Schinazi <dschinazi@apple.com>
Cc: "Int-area@ietf.org" <Int-area@ietf.org>, multipathtcp <multipathtcp@ietf.org>
References: <149871247634.6490.5928844232347189122.idtracker@ietfa.amsl.com> <c215bf9d-5313-3a4b-ac47-dd34cb22766f@cs.pub.ro> <F42011E7-0F81-44DF-9DFC-A211B615DD33@apple.com> <004b4557-a926-9128-d3cf-0b3f41bef56e@cs.pub.ro> <AE3FC07A-DE86-4765-9D1F-00640942B4E4@apple.com> <3f975b41-78b0-9f50-6c46-cc8e30007f34@cs.pub.ro> <787AE7BB302AE849A7480A190F8B93300A000764@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
Message-ID: <b33e4726-f255-75f7-5203-9e30faa36659@cs.pub.ro>
Date: Wed, 05 Jul 2017 02:35:12 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
In-Reply-To: <787AE7BB302AE849A7480A190F8B93300A000764@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
Content-Type: multipart/alternative; boundary="------------2357FF80A5B826DBCE30F16F"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/zrLKXAQTjRe8dYL5vXTdte3tmSM>
Subject: Re: [multipathtcp] [Int-area] SOCKS 6 Draft
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/multipathtcp/>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Jul 2017 23:35:24 -0000

Hi Mohamed,

No problem. BTW, your work on MPTCP Plain Mode has, in fact, served as 
inspiration for SOCKS 6.

When coupled with TFO on the client-proxy leg, SOCKS 6 also has a 0-RTT 
overhead. It can also be stacked as many times as desired for 
arbitrarily long proxy chains. However:
  * We avoid using the SYN's payload as extra option space (which, I 
think, goes against TCP's core philosophy). The magic number at the 
start of the MP_CONVERT element implies that if any MPTCP stream happens 
to start with 0xFAA8FAA8, the client should not use TFO. I think moving 
up the protocol stack is a more desirable alternative.
  * We support authentication. Connections to the proxy can also be 
initiated from networks outside of the operator's control (e.g. home WiFis).
  * SOCKS 6 is easier to extend. If the client needs to request some 
special behavior from the proxy (e.g. what packet scheduler to use), all 
we have to do is define (and standardize) a new SOCKS option.

(I've also CCed the MPTCP WG).

Cheers,
Vlad

On 07/04/2017 12:09 PM, mohamed.boucadair@orange.com wrote:
>
> Hi Vladimir, all,
>
> (focusing only on this part of the message).
>
> I do fully agree that shortening MPTCP connections setup is key. 
> Having 0-RTT is an important requirement for this effort. Achieving it 
> without out-of-band signaling would be even ideal.
>
> Can you please elaborate on the benefits of your proposal compared to 
> https://www.ietf.org/proceedings/98/slides/slides-98-mptcp-sessa-network-assisted-mptcp-03.pdf 
> which allows to achieve 0-RTT proxying.
>
> Thank you.
>
> Cheers,
>
> Med
>
> *De :*Int-area [mailto:int-area-bounces@ietf.org] *De la part de* 
> Vladimir Olteanu
> *Envoyé :* vendredi 30 juin 2017 23:37
> *À :* David Schinazi
> *Cc :* Int-area@ietf.org
> *Objet :* Re: [Int-area] SOCKS 6 Draft
>
> Hi David,
>
>     */[/*SNIP]
>
>     - Out of curiosity, what specific use case are you using this
>     protocol for?
>
>     We are looking into using MPTCP on mobile devices to "bind" 4G/LTE
>     and WiFi. Mobile data networks have high latency, hence the drive
>     to shave off as many RTTs as possible and to take advantage of
>     TFO, at least on the client-proxy leg.
>
> Cheers,
> Vlad
>