Re: [lisp] LISP-GPE Review

Luigi Iannone <ggx@gigix.net> Fri, 09 March 2018 08:39 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 81966129C6C for <lisp@ietfa.amsl.com>; Fri, 9 Mar 2018 00:39:49 -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 bXDNvYQuWwOr for <lisp@ietfa.amsl.com>; Fri, 9 Mar 2018 00:39:47 -0800 (PST)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 A0B0C126C83 for <lisp@ietf.org>; Fri, 9 Mar 2018 00:39:47 -0800 (PST)
Received: by mail-wm0-x22f.google.com with SMTP id w128so2461190wmw.0 for <lisp@ietf.org>; Fri, 09 Mar 2018 00:39:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=A9iWdHqlezFIztcx9O/MDlpFALIvuOO9VdMS0wVocDU=; b=FKVKlMnTXYB9BL+zAvSHVkU28plb1KaDwyUTlgvJqQrzt1qFW8PLAaFHvXA1Uzgn5P kFCObackYC0zAV7ERT8DSofYFPTBLs7Vp+AiwuOtR6s0R2NhxuUWkkPHGDJ7120Niecv 07qFTklWhvPE5DWTvkA2YANEpYXM3Gka/y4Bez4dsGlE4AvXyZ8IQIv5+OcAZDoFgx+o VBjh2sJgHzpaXHZMa4IsrW1EXaRmbdSGWQ4nBGgkZckvdABVqSyFXW12+hMWrdk3FFHE kBafQzmWnR+Dh0bQGiiJBftyOSUMQFSezJQWRqZOLcu57Lqjr7j2d3mJ+Curr+b1nQvw Vcwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=A9iWdHqlezFIztcx9O/MDlpFALIvuOO9VdMS0wVocDU=; b=gfwe8WrdEXK3frqpPG2evRMJrm5pdK7GSe5Z2PcXFR7+efpVIGGZ2mQ6tfbmnMPKAa WIPwIh/584Z32b5rrn4NXQxLbO+fmaGYTi32E35tI5V0mNQQ+61FLyeP2FGrFHXh2yG9 kKT/6/YF4cMTNaQBQzo6mL1PCZ4LhxsZcjTn+ZIak1MHBAvwq6yJXEFPHoNfMEsfO0k5 28fRcqj3nBNBgSu2mBvu+LEJqoESkoyD1nMANBiLpVKW5Jp1MgwVUVuowjDm97NKN9qH BTD3MZM/SQHpYPSWVyNUsswVcae8QY9WE7hA3y2NNCP17kXDAU4L9hzn2Fjm1CbfTADW 2QPQ==
X-Gm-Message-State: AElRT7GMBFCTFMSYnDL/BEFfrgsCdQvj4EGbcSvxEaO0EWxzcMkfZ0pl PjgkvLNV+mBmMLQflHcFK3LDkK8Cw08=
X-Google-Smtp-Source: AG47ELvAvW2diAoZTEys+rOonRr8NmPtsgDjik9Ra1K7NQ9GZ90YVb2s7tuMbvGD+vxy22bBxM+5Rw==
X-Received: by 10.28.134.75 with SMTP id i72mr1394216wmd.160.1520584785625; Fri, 09 Mar 2018 00:39:45 -0800 (PST)
Received: from ?IPv6:2001:660:330f:a4:6d8b:3016:1b53:9552? ([2001:660:330f:a4:6d8b:3016:1b53:9552]) by smtp.gmail.com with ESMTPSA id 1sm856149wmj.35.2018.03.09.00.39.44 for <lisp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 00:39:44 -0800 (PST)
From: Luigi Iannone <ggx@gigix.net>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Date: Fri, 09 Mar 2018 09:40:00 +0100
References: <3B82D669-56BD-481C-884F-09A1971F06D6@gigix.net>
To: "lisp@ietf.org list" <lisp@ietf.org>
In-Reply-To: <3B82D669-56BD-481C-884F-09A1971F06D6@gigix.net>
Message-Id: <DAA148A5-A96F-4F8C-9E41-C70CEF1F6E18@gigix.net>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/E1QA3666dyE3EljZsaxvsyt4XAk>
Subject: Re: [lisp] LISP-GPE 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: Fri, 09 Mar 2018 08:39:49 -0000

I am having second thoughts ;-)



>>        0                   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
>>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>       |N|L|E|V|I|P|K|K|        Nonce/Map-Version      | Next Protocol |
>>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>       |                 Instance ID/Locator-Status-Bits               |
>>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> 
>> 
>>                              LISP-GPE Header
>> 
>> 
>> 
>> 
>> 
>> 
>> Lewis, et al.           Expires September 6, 2018               [Page 4]
>> Internet-Draft       LISP Generic Protocol Extension          March 2018
>> 
>> 
>> 4.  Backward Compatibility
>> 
>>   LISP-GPE uses the same UDP destination port (4341) allocated to LISP.
>> 
>>   A LISP-GPE router MUST not encapsulate non-IP packets to a LISP
>>   router.  A method for determining the capabilities of a LISP router
>>   (GPE or "legacy") is out of the scope of this draft.
>> 
> 
> I think this is too restrictive IMO and will will cause problem in incremental deployments. 
> 
> Imagine deploying LISP-GPE in the beta network…  we cannot because this would mean having a flag day, which is impossible.
> 
> I think would be better to have bits N, E, V to 0 when P is 1 in this way there is compatibility.
> 

Actually may be is too extreme, echo-nonce is a nice feature would be nice to keep it in LISP-GPE.

So may be N and E we can use it as described in the document and still make legacy LISP and LISP-GPE talk to each other.

Legacy LISP can use echo none toward LISP-GPE who will reply as described in the echo nonce mechanism as described in 6830bis  (and obviously with P=0).

The other direction is more interesting. What happens if LISP-GPE sends a packet with  E=1 N=1 and P=1? Legacy LISP will interpret the shorter Nonce+Protocol as actually one single Nonce and will echo back that value. The return packet ill have N=1, E=0because is a reply, and P=0 because is legacy LISP.
LISP-GPE can still infer that it is a echo sent back and just check the 16 bits in the middle of the first long word.

Such approach will not work with versioning. 

So we should keep a sentence that states that Map-Versioning as described in this document SHALL only be used when a LISP-GPE box knows that is encapsulating toward another LISP-GPE box. How it knows it is out of the scope of the document.

Comments?

Ciao

L.




  




> A legacy LISP data-plane box will never participate in a mapping that is not IP over IP, hence LISP-GPE can send traffic with P=1 and Next protocol equal 1 or 2.
> The legacy LISP box will receive the packet, will ignore the P bit and decapsulate as IP over IP and will work without problems.
> 
> For the other direction, legacy LISP box sending to LISP-GPE box, everything depends again on the mappings. 
> Legacy LISP will talk only to xTR that locators using IP over IP, cannot do otherwise. The receiving LISP-GPE is able to handle legacy LISP traffic.
> 
> The mappings deliver the information of "what is mapped on what"  just using LCAF, but details are out of the scope of this document. 
>