Re: [multipathtcp] Two proxy scenario (network proxy off path)

<philip.eardley@bt.com> Wed, 29 March 2017 15:12 UTC

Return-Path: <philip.eardley@bt.com>
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 7E125129613 for <multipathtcp@ietfa.amsl.com>; Wed, 29 Mar 2017 08:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 FSNo5OQ5761S for <multipathtcp@ietfa.amsl.com>; Wed, 29 Mar 2017 08:12:46 -0700 (PDT)
Received: from smtpb1.bt.com (smtpb1.bt.com [62.7.242.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20ECD12953D for <multipathtcp@ietf.org>; Wed, 29 Mar 2017 08:12:44 -0700 (PDT)
Received: from EVMHT03-UKBR.domain1.systemhost.net (193.113.108.56) by EVMED04-UKBR.bt.com (10.216.161.34) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 29 Mar 2017 16:12:42 +0100
Received: from rew09926dag03a.domain1.systemhost.net (10.55.202.18) by EVMHT03-UKBR.domain1.systemhost.net (193.113.108.56) with Microsoft SMTP Server (TLS) id 8.3.342.0; Wed, 29 Mar 2017 16:12:43 +0100
Received: from rew09926dag03b.domain1.systemhost.net (10.55.202.22) by rew09926dag03a.domain1.systemhost.net (10.55.202.18) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 29 Mar 2017 16:12:42 +0100
Received: from rew09926dag03b.domain1.systemhost.net ([fe80::d514:fe50:560c:401e]) by rew09926dag03b.domain1.systemhost.net ([fe80::d514:fe50:560c:401e%12]) with mapi id 15.00.1210.000; Wed, 29 Mar 2017 16:12:42 +0100
From: philip.eardley@bt.com
To: mohamed.boucadair@orange.com, multipathtcp@ietf.org
Thread-Topic: Two proxy scenario (network proxy off path)
Thread-Index: AdKoJ5zQqp6DxGj1TeSb3FIu9At16gADSQSAABpPv9A=
Date: Wed, 29 Mar 2017 15:12:41 +0000
Message-ID: <3439e96f9db74300bcfda44c8b7af09d@rew09926dag03b.domain1.systemhost.net>
References: <6284b86cf96445548c88452da0daf225@rew09926dag03b.domain1.systemhost.net> <787AE7BB302AE849A7480A190F8B933009E42A2F@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
In-Reply-To: <787AE7BB302AE849A7480A190F8B933009E42A2F@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.216.161.27]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/lDsDQtRGp1G7sLrW3ZRy_FmxIY0>
Subject: Re: [multipathtcp] Two proxy scenario (network proxy off path)
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: Wed, 29 Mar 2017 15:12:48 -0000

By non-chatty, I meant a version that didn't do all the authentication messages. After all, the home gateway and network proxy can be expected to know about each other already - at least don't need to do for every new TCP connection from devices behind home gateway

-----Original Message-----
From: mohamed.boucadair@orange.com [mailto:mohamed.boucadair@orange.com] 
Sent: 29 March 2017 06:30
To: Eardley,PL,Philip,TUB8 R <philip.eardley@bt.com>; multipathtcp@ietf.org
Subject: RE: Two proxy scenario (network proxy off path)

Hi Phil, 

Can you please clarify what you mean by a "non-chatty version"? version of what?

You can refer to Section 3 of RFC1928 to have an idea about the number of messages that are required before sending actual traffic when SOCKSv5 is used. 

Below an excerpt of signaling messages observed to create an initial subflow using SOCKSv5:

==============
(MP Client) ->    TCP SYN    ->  (MCP)
                   <- TCP SYN/ACK <- 
                   ->    TCP ACK    ->
                   -> SOCKS Method Request (1)(a) ->
                   <-    TCP ACK (b)   <-
                    <- SOCKS Method Response (2)(c) <-
                    ->   TCP ACK (d)   ->
                    -> SOCKS Authentication Request (3)(e) ->
                    <-    TCP ACK (f)    <-
                    <- SOCKS Auth. Response (4)(g) <-
                    ->   TCP ACK (h)   ->
                    -> SOCKS Connection Request (5)(i) -> (MCP)
                    <-   TCP ACK (j)                   <- (MCP)
                                                          (MCP)  -> TCP SYN (k) -> (Server)
                                                          (MCP)  <- SYN/ACK (l) <- (Server)
                    <- SOCKS Connection Response (n) (6) <-(MCP) -> TCP ACK (m) -> (Server)
                    ->   TCP ACK (o)  ->
=================

I let you compare it with the 0-RTT and 0-extra signaling approach with MP_CONVERT IE. 

Cheers,
Med

> -----Message d'origine-----
> De : multipathtcp [mailto:multipathtcp-bounces@ietf.org] De la part de 
> philip.eardley@bt.com Envoyé : mardi 28 mars 2017 20:24 À : 
> multipathtcp@ietf.org Objet : [multipathtcp] Two proxy scenario 
> (network proxy off path)
> 
> Hi,
> 
> I'm now thinking about the scenario where there are two proxies, one 
> in the home gateway or Customer Premises Equipment and one in the 
> network, both under the control of the operator. And looking at the 'explicit mode'
> scenario, which - if I get it right - means that the network proxy is 
> not on the default path. (It's safe to assume that the home gateway 
> proxy is on the default path)
> 
> Thinking about the use of SOCKS in this context.
> 
> Earlier Olivier said (in the context of the smartphone scenario -  
> sorry if your comments don't apply to this scenario and I'm just 
> creating
> confusion) that there are different variants of SOCKS that can be 
> used, which mainly depend on the number of messages that are used to 
> authenticate.
> In the two proxy scenario, it's probably reasonable to assume that the 
> home gateway and network proxy are already authenticated. So a 
> non-chatty version would be ok.
> 
> Is that right?
> 
> Thanks
> phil
> 
> _______________________________________________
> multipathtcp mailing list
> multipathtcp@ietf.org
> https://www.ietf.org/mailman/listinfo/multipathtcp