Re: [lisp] 6830bis Review

Luigi Iannone <ggx@gigix.net> Tue, 09 January 2018 15:04 UTC

Return-Path: <ggx@gigix.net>
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 59AEE12D879 for <lisp@ietfa.amsl.com>; Tue, 9 Jan 2018 07:04:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=gigix-net.20150623.gappssmtp.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 lPr-FTQuggoJ for <lisp@ietfa.amsl.com>; Tue, 9 Jan 2018 07:04:27 -0800 (PST)
Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 4FE9A126C0F for <lisp@ietf.org>; Tue, 9 Jan 2018 07:04:27 -0800 (PST)
Received: by mail-wm0-x22a.google.com with SMTP id 141so4408690wme.3 for <lisp@ietf.org>; Tue, 09 Jan 2018 07:04:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=per9rrlkj+AzFZwGIpgGENmM/VURoT9GtoOXN2nl6mg=; b=02i/x1mBAM2D0Fvz1uUUstYxegpsHCh+9H7CVqbieu55wus702kxGaZxDBSc3yhAwy lqSNkDyaKFxipZdGrdJCVFpIFSjirZCJKX5B6mm1D43VMNHcPPeq9xcHdA/7AdogTXy4 uElCEUCuH81j/+DvM1CKsS70KLQMLZ8a33UPf6AiaKtXXtRXyy9J21womVo6UnW2WXHI FeGYrLeVUXPb79B9VfkpxH6Oo09pQu0N/9mLyXVCHfKUXNKj2qt2ewRr2ZuTeVwXKGfQ hxUeYeyEvq74+ygNctcmjT4j1ft/tGVsLW+f4Aq5snAIlhcNlozCeb3l0SCG5mVQCYCa MSNA==
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=per9rrlkj+AzFZwGIpgGENmM/VURoT9GtoOXN2nl6mg=; b=oNrwHrKBEYott3+ROlHtticm/GfiKgj6Lc37QBhRfhlM+drK2l6AmB2rFVGjaTbRdv K76D6RqghSS3r+GRfgco5fT088GSy5dEfKwLFRHfHShB4N5ELwT2viSp1b8gGyhNV5dz Q/z6kuOaS854jctyBil8N1Daw3jkHxJpLxsG9BAV4EXYsH2zEKBOJi2rvIF0hBC2E/BE fL8ah08OYsAFHpE89VCDCo2lSMHDWsXp1wPnTrY4EqqzzsbLgeqXj5KcwUtRz9LsKRym 4mlvNa18mL9tUStsK/99qeOi0fYsux8UKfVcMKnCsiTjHVVjU3Sgy00QCs+QTr84fdnM aVTw==
X-Gm-Message-State: AKwxytdC+pGMSitw6t4ZY0SVY/03/+RLrjdVbi3AbdBTsCJjbruYoRsC Zikx2rAROufgHiBLW7kVypV9kgEjf6Q=
X-Google-Smtp-Source: ACJfBot2i5owEzaAcFI1axPd50SCDW51wcV6D/ilWXNYfffZYetMtlHrAeCOkGnF8nF70LJedaalsw==
X-Received: by 10.28.105.214 with SMTP id z83mr1790779wmh.77.1515510265665; Tue, 09 Jan 2018 07:04:25 -0800 (PST)
Received: from ?IPv6:2001:660:330f:a4:c4aa:2fae:3f8:10d4? ([2001:660:330f:a4:c4aa:2fae:3f8:10d4]) by smtp.gmail.com with ESMTPSA id w195sm13600173wmw.46.2018.01.09.07.04.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 07:04:24 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Luigi Iannone <ggx@gigix.net>
In-Reply-To: <6924BBEB-5680-48E5-8460-F88E5F3F990B@gigix.net>
Date: Tue, 09 Jan 2018 16:05:03 +0100
Cc: "lisp@ietf.org list" <lisp@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2870CB5-86B1-41EF-9F94-3970CA181A7E@gigix.net>
References: <907CD955-B043-4728-ABD6-5AD96192EC5F@inria.fr> <4EAD1E98-E8E7-4A0A-8300-2D185B9109CC@gigix.net> <CAGE_QexqW=q51kXR9fo_8YDu6VVUHCBz-XrGt5iZ6FOTRxDLiA@mail.gmail.com> <6FEB1404-FA34-432A-8441-3F6B394A8217@gmail.com> <6924BBEB-5680-48E5-8460-F88E5F3F990B@gigix.net>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/rWuDWXhny2x1ECWUqnSL7EQSyaM>
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: Tue, 09 Jan 2018 15:04:30 -0000

Hi,

On 27 Dec 2017, at 05:13, Dino Farinacci <farinacci@gmail.com> wrote:
> 


[snip]
>> 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.
> 
> I had planned to take Luigi’s suggestion. I did not want to rewrite this section. It was carefully written by David Black with consolation from the ECN experts. I do not want to lose this technical text.

The text proposed by Albert is very close to the original and has exactly the same content, just expressed in an clearer way. No loss here.
I will ask David to review the text again.

The current text in section 5.3 is still not correct because it talks about “type of service” and “ECN”. 

Luigi