Re: [multipathtcp] Submitted drafts

Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be> Fri, 10 July 2015 20:57 UTC

Return-Path: <olivier.bonaventure@uclouvain.be>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B3151B2B26 for <multipathtcp@ietfa.amsl.com>; Fri, 10 Jul 2015 13:57:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 eNfbcijSECV8 for <multipathtcp@ietfa.amsl.com>; Fri, 10 Jul 2015 13:57:21 -0700 (PDT)
Received: from smtp5.sgsi.ucl.ac.be (smtp.sgsi.ucl.ac.be [130.104.5.67]) by ietfa.amsl.com (Postfix) with ESMTP id 30E031B2B0B for <multipathtcp@ietf.org>; Fri, 10 Jul 2015 13:57:14 -0700 (PDT)
Received: from mbpobo.local (host-78-129-6-94.dynamic.voo.be [78.129.6.94]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: obonaventure@smtp5.sgsi.ucl.ac.be) by smtp5.sgsi.ucl.ac.be (Postfix) with ESMTPSA id 04624198278; Fri, 10 Jul 2015 22:57:05 +0200 (CEST)
X-DKIM: Sendmail DKIM Filter v2.8.3 smtp5.sgsi.ucl.ac.be 04624198278
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uclouvain.be; s=selucl; t=1436561826; bh=0UEWNj2/ED5cO16RWAeIEVKSlgQByjCs73+pvVGcDT8=; h=Reply-To:Subject:References:To:Cc:From:Message-ID:Date: MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding: Date:From:MIME-Version:To:Subject:References:In-Reply-To: Content-Type:; b=GXoOPQNacodIvX8BxGd51ASv/DFsoX+WYQxJnf/hkhRM8+Pl/2g6vtl6Q2LA2CBhe j/Ka2beex8Ccf4l/f+ihv+QhQx4v15/zN5rxroDihz2tnZO7b/ESCRdsYRqwm+8W9r Xr90IULOFHAWGnLK8OzYlTj5NaW3vpwC5cdn60yo=
References: <559E8D85.2060603@uclouvain.be> <cdbfab2b826949a5bf4f824358a995dc@rew09926dag03b.domain1.systemhost.net> <559F65C6.8030305@uclouvain.be> <20150710173600.GO1144@Chimay.local>
To: Christoph Paasch <cpaasch@apple.com>
From: Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be>
Message-ID: <55A031A1.90703@uclouvain.be>
Date: Fri, 10 Jul 2015 22:57:05 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <20150710173600.GO1144@Chimay.local>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99-beta1 at smtp-5.sipr-dc.ucl.ac.be
X-Virus-Status: Clean
X-Sgsi-Spamcheck: SASL authenticated,
X-SGSI-MailScanner-ID: 04624198278.AFB07
X-SGSI-MailScanner: Found to be clean
X-SGSI-From: olivier.bonaventure@uclouvain.be
X-SGSI-Spam-Status: No
Archived-At: <http://mailarchive.ietf.org/arch/msg/multipathtcp/DsXJdygKjVNFOQaA0ikXs6qdJfI>
Cc: multipathtcp@ietf.org
Subject: Re: [multipathtcp] Submitted drafts
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Olivier.Bonaventure@uclouvain.be
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: Fri, 10 Jul 2015 20:57:23 -0000

Christoph,


>>>> * https://www.ietf.org/internet-drafts/draft-bonaventure-mptcp-addr-
>>>> 00.txt
>>
>> This draft includes a slight modification of the handling of the address
>> identifier for the initial subflow. Comments from other implementors would
>> be useful on this draft.
>
> I agree with section 2.1 that having a different address-ID for the
> initial subflow is very cumbersome. An implementation has to store the local
> address-id's within the state-machine of each subflow. It would be much
> easier if we could have a fully global address-table.
>
> However, I'm not sure whether it is good to solve it through an empty
> ADD_ADDR-option. Because, the option is not sent reliably. Even if it gets
> combined with data, we have an issue with unidirectional streams. And
> communicating this ADD_ADDR-option reliably to the peer is here in this case
> even more important than for the "regular" ADD_ADDR option.
>
> It would be better if we could put the address-ID inside the MP_CAPABLE.
> Maybe we can use 8 bits of the key?

Then the entropy for the key is lower because it is reduced to 56 bits.

>
> (also, a little nit: Adding the IPVer within this ADD_ADDR-option is not
> necessary and will bring issues in NAT64-environments).

Agreed.

An alternative is to use the same approach as in
https://www.ietf.org/internet-drafts/draft-bonaventure-mptcp-exp-option-00.txt

to make ADD_ADDR reliable

We can remove the IPVer from ADD_ADDR2 that AFAIK nobody has implemented 
and replace it with a set of flags.

                           1                   2                   3
        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
       +---------------+---------------+-------+-------+---------------+
       |     Kind      |     Length    |Subtype| ABCD  |  Address ID   |
       +---------------+---------------+-------+-------+---------------+
       |          Address (IPv4 - 4 octets / IPv6 - 16 octets)         |
       +-------------------------------+-------------------------------+
       |   Port (2 octets, optional)   |                               |
       +-------------------------------+                               |
       |                      Truncated HMAC (8 octets)                |
       |                               +-------------------------------+
       |                               |
       +-------------------------------+



For example, the A flag could be set to zero when a host announces a new 
address. The host that receives an ADD_ADDR2 with the A flag set to zero 
must set the A flag to one and  return it to acknowledge it.

A host should retransmit the ADD_ADDR2 option up to n times if it wants 
to ensure that the ADD_ADDR2 option is delivered reliably.

This would work for the ADD_ADDR2 option that does not contain any 
address and has thus a total length of 32 bits.

Olivier