Re: [lisp] 6830bis Review

Damien Saucez <damien.saucez@gmail.com> Wed, 10 January 2018 13:32 UTC

Return-Path: <damien.saucez@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD51B12741D for <lisp@ietfa.amsl.com>; Wed, 10 Jan 2018 05:32:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 YLlagtuIwBx5 for <lisp@ietfa.amsl.com>; Wed, 10 Jan 2018 05:32:29 -0800 (PST)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95010127275 for <lisp@ietf.org>; Wed, 10 Jan 2018 05:32:28 -0800 (PST)
Received: by mail-wm0-x232.google.com with SMTP id f206so27049527wmf.5 for <lisp@ietf.org>; Wed, 10 Jan 2018 05:32:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=U98CWKJmGOWWGKmzffsiByJ4UJ00vPNzfPO6M0N4kD8=; b=dHQlcnhqPxxhXg+I49KDT+pmJmg90Q8agLHqZhROB7lwRFptzvye0n89aHKPurZXVP exeE0176aAFPvUoaomuxdl88dSsWpD6SJrX6PR0qYHhbKUd03c7+KeMprkq6brohcvoc VgQhSp0aDpMGXYs2HjdJG6qq5OBvu4e61FnH57bT9byNhD0z3GyuTWNEyEojDvx+dkK5 agPEdOxu4bB8viVAI8mrJW8tdNUqok5Oo0u+6FqI0HpLWm6vyqdrcHmbGbB1K8budo+V ed/iLUIR/yZrHTKOYBI+yt95M8ET27d+PB46dL6secHLrtTuCwpgNGufhv1jREM4gYeQ 1G6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=U98CWKJmGOWWGKmzffsiByJ4UJ00vPNzfPO6M0N4kD8=; b=E0Mh178zCKxBByJiZetl8/69lR4NK5J1chOG5iwZ5XjCxcDuOzK7GgvYBMZ20k7wi1 NmVBr8q5IHws8kVnwtXK8h5cUlr88eFUGDWSznTHbiN+5pKzhiRx8KrlDyOfcclp+is2 FamrBBxT21BPOKU9ICE/AZJ/FYLDSCg+plbSaM1vkLLfinP29FE4AKJTzcKom1BxQH1X Qk+7Xz6zgLbBVa8ceYrOmgU/MU9f8w7P8gxLdAIk6tz4RBGMS5ABA5JuW9b6VPI0Z1v3 i5mxm2M1ciOKuZ2jzR/7TBoFewiCEp97iy/MA6Q/DRZq9P3S0VsVgSLCSgvF/JX1LXg7 9ppg==
X-Gm-Message-State: AKwxytfAOn++8AHegGz4LGSlB+etcyFZ8q8e5JxAmvx9lsogQr3bxPoI KQWnV7hlNMPFhOB0JwlXyFHWVynw
X-Google-Smtp-Source: ACJfBot1RBgGrDyDbH9Nr3V1Hw4aghgDLC3M/A5aTnyAy8Nk+lI2nWy6Id5wZMZlqnypHMHZ5rT3jA==
X-Received: by 10.28.125.19 with SMTP id y19mr4229549wmc.101.1515591146669; Wed, 10 Jan 2018 05:32:26 -0800 (PST)
Received: from gullinbursti.inria.fr (gullinbursti.inria.fr. [138.96.193.255]) by smtp.gmail.com with ESMTPSA id p32sm5881992wrc.9.2018.01.10.05.32.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 05:32:25 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Damien Saucez <damien.saucez@gmail.com>
In-Reply-To: <829870A2-2D90-4967-983A-56F62E765796@gmail.com>
Date: Wed, 10 Jan 2018 14:32:25 +0100
Cc: Luigi Iannone <ggx@gigix.net>, LISP mailing list list <lisp@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C6152BA8-1996-4026-AC06-6B97DB6D7242@gmail.com>
References: <907CD955-B043-4728-ABD6-5AD96192EC5F@inria.fr> <4EAD1E98-E8E7-4A0A-8300-2D185B9109CC@gigix.net> <CAGE_QexqW=q51kXR9fo_8YDu6VVUHCBz-XrGt5iZ6FOTRxDLiA@mail.gmail.com> <49EE7D2D-FC59-42F1-A93A-B315D4D6420E@gigix.net> <98C25E20-BD78-462A-BDB4-572AA24C1A97@gigix.net> <829870A2-2D90-4967-983A-56F62E765796@gmail.com>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/79gWNKSAQ0y-7OsXWEDpYKTVmPk>
Subject: Re: [lisp] 6830bis Review
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jan 2018 13:32:32 -0000

Hello Dino,

Thanks for the efforts.

The propositions in -08 are fine but are addressing only minor
details. As long as the structure of the document is not
fundamentally re-worked the document will remain poor and
barely readable for who doesn’t know LISP yet.

I already clearly gave my comments about all this, I don’t need
to repeat myself.

Regards,

Damien Saucez

> On 9 Jan 2018, at 18:54, Dino Farinacci <farinacci@gmail.com> wrote:
> 
> Guys, please look at the latest changes instead of hashing the same arguments. 
> 
> This is what I am going to do. I am going to submit the myriad of changes already agreed to and then we can open up comments again for -08. I have been holding these diffs for a few weeks now and have received little commentary on the latest changes. So if your points have not been addressed, state them again AFTER reading the changes to -08.
> 
> The diff of the changes are included yet again.
> 
> Dino
> 
> <rfcdiff-rfc6830bis.html>
> 
>> On Jan 9, 2018, at 7:04 AM, Luigi Iannone <ggx@gigix.net> wrote:
>> 
>> 
>> HI Albert,
>> 
>> thanks for your reply. 
>> 
>> My comments inline. (trimming what is OK for me)
>> 
>> Luigi
>> 
>>> On 27 Dec 2017, at 02:48, Albert Cabellos <albert.cabellos@gmail.com> wrote:
>>> 
>> 
>> [snip]
>>>> 
>>>> 
>>>>  Endpoint ID (EID):   An EID is a 32-bit (for IPv4) or 128-bit (for
>>>>     IPv6) value used in the source and destination address fields of
>>>>     the first (most inner) LISP header of a packet.  The host obtains
>>>>     a destination EID the same way it obtains a destination address
>>>>     today, for example, through a Domain Name System (DNS) [RFC1034]
>>>>     lookup or Session Initiation Protocol (SIP) [RFC3261] exchange.
>>>>     The source EID is obtained via existing mechanisms used to set a
>>>>     host's "local" IP address.  An EID used on the public Internet
>>>>     must have the same properties as any other IP address used in that
>>>>     manner; this means, among other things, that it must be globally
>>>>     unique.  An EID is allocated to a host from an EID-Prefix block
>>>>     associated with the site where the host is located.  An EID can be
>>>>     used by a host to refer to other hosts.  Note that EID blocks MAY
>>>>     be assigned in a hierarchical manner, independent of the network
>>>>     topology, to facilitate scaling of the mapping database.  In
>>>>     addition, an EID block assigned to a site may have site-local
>>>>     structure (subnetting) for routing within the site; this structure
>>>>     is not visible to the global routing system.  In theory, the bit
>>>>     string that represents an EID for one device can represent an RLOC
>>>>     for a different device.  As the architecture is realized, if a
>>>>     given bit string is both an RLOC and an EID, it must refer to the
>>>>     same entity in both cases.
>>>> 
>>>> 
>>>> Is the above sentence really necessary?
>>>> 
>>> 
>>> Agreed, why not simplify the definitions. They are written from the ‘Internet scalability mindset’, why not say that an EID is an address of the overlay and an RLOC an address of the overlay. This change may require further changes on the document so I am not 100% sure if this is a good idea.
>> 
>> For clarification I was just referring to the sentence:
>> 
>> " As the architecture is realized, if a given bit string is both an RLOC and an EID, it must refer to the same entity in both cases.” 
>> 
>> I am wondering if such constrain is really necessary. If namespaces are well scoped there is no need for this. 
>> 
>> [snip]
>> 
>> About the following:
>> 
>>> 
>>>> 
>>>>  o  EIDs are typically IP addresses assigned to hosts.
>>>> 
>>>>  o  Other types of EID are supported by LISP, see [RFC8060] for
>>>>     further information.
>>>> 
>>>> I would put the last two bullets in the definition of EID. It simplifies the story here.
>>>> 
>>>> 
>>> 
>>> I suggest to leave them here, I don´t think that readers start from the ‘Definition of terms’, these are relevant concepts to understand LISP.
>> 
>> Good point about de definition of terms. What really bothers me is the bullet organisation. What can be done is to merge these two bullets with the previous one. 
>> 
>>> 
>>>> 
>>>> The description of the encap/decap operation lacks of clarity concerning how to deal with
>>>> ECN bits and DSCP .
>>>> 
>>>> 1. I think that the text should make explicitly the difference between DSCP and ECN fields.
>>>> 
>>>> 2. How to deal with ECN should be part of the description of the  encap/decap not a paragraph apart.
>>>>   This basically means that half of the last paragraph should be a bullet of the ITR/PITR encapsulation
>>>>   and the other half  in the ETR/PETR operation.
>>> 
>>> 
>>> Agreed, what about this (please comment):
>>> 
>>>   When doing ITR/PITR encapsulation:
>>> 
>>>    o  The outer-header 'Time to Live' field (or 'Hop Limit' field, in the case of IPv6) SHOULD be copied from the inner-header 'Time to Live' field.
>>>    o  The outer-header 'Differentiated Services Code Point' (DSCP) field (or the 'Traffic Class' field, in the case of IPv6) SHOULD be copied from the inner-header DSCP field ('Traffic Class' field, in the case of IPv6) considering the exception listed below.
>>>   o  The 'Explicit Congestion Notification' (ECN) field (bits 6 and 7 of the IPv6 'Traffic Class' field) requires special treatment in order to avoid discarding indications of congestion [RFC3168]. ITR encapsulation MUST copy the 2-bit 'ECN' field from the inner header to the outer header. Re-encapsulation MUST copy the 2-bit 'ECN' field from the stripped outer header to the new outer header.
>>> 
>>> When doing ETR/PETR decapsulation:
>>> 
>>>   o  The inner-header 'Time to Live' field (or 'Hop Limit' field, in the case of IPv6) SHOULD be copied from the outer-header 'Time to Live' field, when the Time to Live value of the outer header is less than the Time to Live value of the inner header.  Failing to perform this check can cause the Time to Live of the inner header to increment across encapsulation/decapsulation cycles.  This check is also performed when doing initial encapsulation, when a packet comes to an ITR or PITR destined for a LISP site.
>>>   o  The inner-header 'Differentiated Services Code Point' (DSCP) field (or the 'Traffic Class' field, in the case of IPv6) SHOULD be copied from the outer-header DSCP field ('Traffic Class' field, in the case of IPv6) considering the exception listed below.
>>>   o  The 'Explicit Congestion Notification' (ECN) field (bits 6 and 7 of the IPv6 'Traffic Class' field) requires special treatment in order to avoid discarding indications of congestion [RFC3168]. If the 'ECN' field contains a congestion indication codepoint (the value is '11', the Congestion Experienced (CE) codepoint), then ETR decapsulation MUST copy the 2-bit 'ECN' field from the stripped outer header to the surviving inner header that is used to forward the packet beyond the ETR.  These requirements preserve CE indications when a packet that uses ECN traverses a LISP tunnel and becomes marked with a CE indication due to congestion between the tunnel endpoints.
>>> 
>>> Note that if an ETR/PETR is also an ITR/PITR and chooses to re-encapsulate after decapsulating, the net effect of this is that the new outer header will carry the same Time to Live as the old outer header minus 1.
>>> 
>>> Copying the Time to Live (TTL) serves two purposes: first, it preserves the distance the host intended the packet to travel; second, and more importantly, it provides for suppression of looping packets in the event there is a loop of concatenated tunnels due to misconfiguration.  See Section 18.3 for TTL exception handling for traceroute packets.
>>> 
>> 
>> Text looks very good to me.
>> 
>> 
>>> 
>>>> 
>>>> Large part of this section is about control plane issues and as such should be put in 6833bis.
>>>> 
>>>> What this section should state is that priority and weight are used to select the RLOC to use.
>>>> Only exception is gleaning where we have one single RLOC and we do not know neither priority nor weight.
>>>> 
>>>> All the other operational discussion goes elsewhere, but not in this document.
>>>> 
>>> 
>>> Agree, I suggest moving it to 6833bis. What to leave in 6830bis is less obvious, maybe something like (not final, just a couple of ideas):
>>> 
>>> The data-plane must follow the state stored in the map-cache to encapsulate and decapsulate packets. The map-cache is populated using a control-plane, such as [6833bis]. ETRs encapsulate packets following the Priorities and Weights stored in the map-cache.
>>> 
>> 
>> Yes, this is what I meant.
>> 
>> 
>>> Actually we should merge this section with 'Routing Locator Hashing'
>>> 
>>> 
>> 
>> I think is a good idea.
>> 
>> [snip]
>>>> 13.  Changing the Contents of EID-to-RLOC Mappings
>>>> 
>>>> 
>>>> This is a control plane issue, as such it has to go in 6833bis, with two exception:
>>>> The very first paragraph stetting the problem, and the versioning subsection, because it is a data-plane mechanism.
>>>> 
>>>> All of the rest 6833bis
>>>> 
>>>> Actually I remember a suggestion about putting operations issues like this in an OAM document which would be a good idea.
>>>> 
>>>> 
>>> 
>>> So you are suggesting that the LISP control-plane does not define any mechanism to update EID-to-RLOC mappings? 
>>> 
>> 
>> Not exactly. Control-plane should discuss how to change the mappings, but things like clock sweep is just management not a control plane mechanism, as such it does not really needs to be standardised because there are no interoperability issues, hence it make really sense  to put it elsewhere.
>> 
>> Thanks
>> 
>> Luigi
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
> 
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp