Re: [lisp] John Scudder's Discuss on draft-ietf-lisp-6834bis-12: (with DISCUSS and COMMENT)

John Scudder <jgs@juniper.net> Fri, 03 June 2022 17:37 UTC

Return-Path: <jgs@juniper.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 E2C85C14F73D; Fri, 3 Jun 2022 10:37:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.853
X-Spam-Level:
X-Spam-Status: No, score=-2.853 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.745, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=AnsrfWPN; dkim=pass (1024-bit key) header.d=juniper.net header.b=VghXUqQG
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RRLvbkAFAgQw; Fri, 3 Jun 2022 10:37:00 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8653DC14F6E7; Fri, 3 Jun 2022 10:36:54 -0700 (PDT)
Received: from pps.filterd (m0108161.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2535oPR6009443; Fri, 3 Jun 2022 10:36:53 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=JPcCNcruVTm7gCRi9j2U7zHV6yEVliCzKeApL10LBUk=; b=AnsrfWPNyUfefiDVAMOm2Na7jh7oKk8jW9ZRyUyDwNuO834Mnd3i05G2HFiqGqv7OEIl OzTxiEQdbVGgMr9lvc4mX11PWi1o5Vu591yiYOxlyFRLxh49e0CFurM2g/C0sKSq/5gp h0e43iTBFbjuoaWV9fOVnSNfLEfHbg+qmkx+AyCicIZ1YJzY119A2qm0q1Ibj/r5xhEf QFHDuQW48hZkzYRQ8dnB2C9N7G3QQxOsvuyvJ0ydvx7rYofD3l1yOstI9ybgI9IBxbsW nVOu8YFdcjfcyKFnBzhQh2ZVaYvo06AhM5GCrXmK7+2XMj/rsvHZPT2xzLti3+UPao6R PQ==
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3gf08eu0cy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jun 2022 10:36:53 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JOdu10Brqrz7h7aDUUYSUMAXz8ABJBoSXFyCaILmSjU3enfKU2MKd+jzbiKOtFYtPYidbSIHwkKuQSgSX8afdGstiNPa5v3pBVieWfBT990QS/yvlcqxxPh9kQp6V+EMy54WZo4pPl5V3xJ+FaUaslJPy3QDe9H4juxXH99AqNTi6Q9jZ9/Czf/j4JHJEoRkcu2n5am2NwZN8mJRCn2GUt8koSRuy9dTE3yuvMG3qtk/kXSiL197rGB0nTwTYAzLYGbM3rYQETBt54ulHG+ZUHghhLydivFqOcM6v/0XIsNgl2TbhQ4wLPK5J+XLJIYdy8YMAurNO7omF7dkAXmqMQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JPcCNcruVTm7gCRi9j2U7zHV6yEVliCzKeApL10LBUk=; b=PrMDXwUBslRTE2AaTf+Ccda/tnBZuUxRIu0Q4Pi/13MLAZ650GhyZ20oxEapdTolbirWDkWg+0q45wFP6RUn70v9HNc+PBXrii3q5B9uuBv6ZkOVkR2W2/rqDm3hPBO2ANXNfjBDGlGcuv95SV+uRi+NkN5CsKlUIa8qOwAHhTc9NaJJtIffixSDbCyItS4m9MkAzGidvfJURzPApkC8ANiIVhR4qd1Sc0vW3hU9nwn5rMsBY07B5Zm67iWO4hqEBggBvOznAwTUGpA16UcuHqIFXEm66r8mPhzE2zYeIJckKKNngevTQ2kzcSktFYVF4G1ON/NFZdwe/W0pg/ykyw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JPcCNcruVTm7gCRi9j2U7zHV6yEVliCzKeApL10LBUk=; b=VghXUqQGOxKwm355m+N1uWepaPCps5gg6fh7s6WHOJ5mZ9gzxJ+Vl9s7woo21egSVYo5w5rdQYpsiSCpoyIkxloHtxnZ2WdrpW/oLnSkOjWNF2U77Y7T6W98fIvqeT7p/watNkOyw+XbXzCS2Idqn2lrmA4/++k+RTMjzVXmfvI=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by MW4PR05MB8698.namprd05.prod.outlook.com (2603:10b6:303:129::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.5; Fri, 3 Jun 2022 17:36:51 +0000
Received: from MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::94e1:7be5:fc83:a725]) by MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::94e1:7be5:fc83:a725%7]) with mapi id 15.20.5332.004; Fri, 3 Jun 2022 17:36:51 +0000
From: John Scudder <jgs@juniper.net>
To: Dino Farinacci <farinacci@gmail.com>
CC: Luigi Iannone <ggx@gigix.net>, "draft-ietf-lisp-6834bis@ietf.org" <draft-ietf-lisp-6834bis@ietf.org>, "lisp@ietf.org" <lisp@ietf.org>, The IESG <iesg@ietf.org>, "lisp-chairs@ietf.org" <lisp-chairs@ietf.org>
Thread-Topic: [lisp] John Scudder's Discuss on draft-ietf-lisp-6834bis-12: (with DISCUSS and COMMENT)
Thread-Index: AQHYdfFCD2WHkc/FrU6fJi+bjq7kC608DPyAgACYi4CAAArpAIABRLAA
Date: Fri, 03 Jun 2022 17:36:50 +0000
Message-ID: <06568937-5D7B-43C4-94E2-78AF432868E9@juniper.net>
References: <165411318509.23504.13233598973370234352@ietfa.amsl.com> <1D126FD8-B83A-48D0-B473-F9B13306DAEE@gigix.net> <A77AE04E-1258-444C-B204-865A8EA20DB6@juniper.net> <004D4FDB-5A29-4BF8-9B15-84A54CAC68E6@gmail.com>
In-Reply-To: <004D4FDB-5A29-4BF8-9B15-84A54CAC68E6@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3696.100.31)
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e213549e-7715-417e-d58f-08da4587a48d
x-ms-traffictypediagnostic: MW4PR05MB8698:EE_
x-microsoft-antispam-prvs: <MW4PR05MB8698FFA5EC9EB5D0E7B53C97AAA19@MW4PR05MB8698.namprd05.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: tNBVOdYVZZ8GUJcu2MDmz0RpczqH0EyDgouckrYkEy7NZJBvWjYFY3kjcewUN1+NTQlzpZjoeu48X3J2SVtxu9n6ZLf6F1CWQEq6IOImD0AKtMxIRT/yx83DSXuoQ40ZKO3LQEzSz95GM5T3chREAIkwn7fyXnm12vRd7hXKbEJZE188aGciMG3PG6yzyO0qiQl6pLUDR18qDz+3n2M9NmWvhwJwpK8DNKWEyHzRBDu54gAPtId6nR0EoAQwPiHRS8jc25OzrJGc8eu1SX7dGsRHRGkH7m6Fm38M94UgngknXsTE7dkVHs6OvJPosNm+eE7oZ9wMnvrAz54Clm+XM0mYFKoL/4PIg+Axog6YhXc1S7aetwm6INdfq4I6+z4/k0nEPCp6KSLpoVeup7pLaZ6TKzTaBUWb474cJgEIwbJU6vqz6VJ2QQq/SounyoESXJWTGBVhsXETKQIWMiClVG6H6Vye9dafLiTf/NXNLRT0kxeOOtKRE5lVGT4v8DQ1V402fn9SJMcsHAtxijUuj/O+v8rnTNyw1bG6yb8rTOy7IH1fQO8jjxWk2629VgaQVf6eGQ3/2S3uggKlhgfg3CK7BW41b38WAxiz+Xq/1okKDXJhcWFyvLwnLHAbbicM3zN9bTLE5fRSadGF70iSQCLTfhBObzL+xWJ49zVKtuK2kDemf7IUORSAPcuHKAXaobMM+B4Sn+jnl+dLy2Grdt4qYeKP/zxnkHpZprenrFgHbjHB18wmVI/OaO++ktRWsiSm6TG0ZsWnP6A+lPxiH1NageXeZIN5XzvNbre/Rzg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR05MB6109.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(33656002)(83380400001)(71200400001)(8676002)(53546011)(86362001)(2906002)(508600001)(6486002)(316002)(91956017)(38100700002)(186003)(2616005)(36756003)(4326008)(38070700005)(54906003)(6512007)(26005)(8936002)(6916009)(5660300002)(6506007)(66946007)(122000001)(66476007)(64756008)(66446008)(76116006)(66556008)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: iWCM9HqiiEk73yua7TvzzQYDCnrylAYemOjJ8DGsxDgab1WPw2Y6i2bIi8FMLDhXWdMv83IWGa9YK/vijzLw6/i6val35FVq05RBI9ge9dMwJjgP2go5ZNrhmLocyNLp6+D8QvpSl9VvnD8sbPcAb/G/BhS6/aT6zGHa98cb8uHAW+9FD0tmOf+Qyg5Rq/jdHnYhT/IQuCFkwBP/FOePNHmDt0sMhDEi15KLbqtpGWVFk3IH4cM+hwl4Hb6MGOEeM2L6sXrj68c8fZlM86Wh2e03YA/Gm7N1tyrW18JKeIuyedfs7D7PS6peD4iV7kBsf8VhmiGVhy8dIslrBr60cH33MqQt1jBBsTR1DxgoOUoX3uTgrQFBojzUrCYPQRDv11DLjkzMzNG8AoOUuqzwXAUIW+Ml2cuEd5UFbkQ3Sf81WuzMExnGMvT3OfJmkSXqMwjOzrxyouSJz+HXNrs2bx0EAZ6lICNJMXYcA2FgFi5bTeaEPKLZepuQjqCaK5wLKv6Lf/FOlsBF+OaUoi3106miAWurrw3KmFtz1ofvEU6fbjXS4/pw69Y/0kg7kFFzLclFZOW3id4qPQbH6URRE/Y7srD46MTU980DzxkHXJS9Qd6A3KI2kPJto8PsCMcKKZwUNoit0SXC/AcFh4cO1tuZXvNRydvXzK/HGrIoXV9QsN0TQHKhEeKPgmQdncHMiJXaLev2dEruG1c/mkdxU3dAYdiaXuXMyjDQjSrW7DatyH3rZsuUWCCdPmL1Ki/3DF9CETrtIbudUtclsMi6Ndfql/WLQskK3RrGLL0tvUWEHu5W4KMvTU9pkbkgAsujy7zInpvPWTQKZx3f194+QZ/i1iC0jW3WKeePG9B3P63vctmbrEhTkuQ5jGXP1Xl0P3iMqvVSUFXnUU0x8Wdu52WL0AQa1aUgENt4Sz39rDl09omkLUjfxo7aa+0+AXNV6km9JhijUgql8l5FNhplhp3mRcfLPHAbKkRw4GKth2DXlgVVJdyXQTiWgrhXTEP86ykYn6sLokEeM5no1RYYwD1Q0Em5o6CCzwN5W2Af04iaRvleNqKZ03py4ljTnCpTCQRxxCaZPS79gROsTUjFjcwAQwOpavdfsR8Nu0c/DlZW8G1Ld0Tf0bPwewvEkaFCloFRRmQ1G1zw6H8AKb7KRh3B/5QeGVaQLcWAn6J4qqgbc9+9fRFSMzrbwnk9L+tqOmnUiht6nlquQ+zkycaEyEtDfN6IdsmkLBP+iqXauNlCKrBwNqPWVZRl55mfMQlnEgV+yrS08XFaQ0piVcJFj6o81tvwHOHEZOZ4JTrdfhLpOyb23jMiwZpOepqJ+uLkU93SdwqrJQbX9AywkcvUX1L7uwgIxiL9bWNec8gS+2/CQE/nZbdnEHbLAnwWaFykypkLHJTUf5IutPgAyVScxW8yAriaN/N0sOWqRYKK3ce2+kCzqnAOF2VvaD2Hacx92ZSF4WZGaaglKUN1dAjEw935B7b/My88ynpncUyEscjJD0+7bS+URCQQrUKJwwIPKGA+VdkjfQZlCLM1ImAdIlzzVpMTJljw1kMatTvLcAvtl2k52PUb8rPTWyHX+ZttYU0NCnlyTuW8GtlHX+l36d9J579k4JqV/rOWnN7sd6l7DtyRTkVS1SQMlIFhEiu3NFx4llDouXhfePpd9A87PUFPtKlR+ZcjUCO3mLWUMbMVB1xsFGW0ENtF6pUWUTzZkr4J0b76oqIr7wEux7MpfOptn0wa8pNAgB5b+fDqWdw=
Content-Type: text/plain; charset="utf-8"
Content-ID: <01C638ECAD670D428CE63354D39CAC73@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR05MB6109.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e213549e-7715-417e-d58f-08da4587a48d
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2022 17:36:50.9850 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Eh88okPPh6JZu5Zlnn1P5XPNohxR1PcDg9B2wzLAucYg1ndHj/508kLBiunpJ2cn
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR05MB8698
X-Proofpoint-GUID: 1iWsOTlZbamrjFByQROSJWDonTW8W96P
X-Proofpoint-ORIG-GUID: 1iWsOTlZbamrjFByQROSJWDonTW8W96P
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-03_06,2022-06-03_01,2022-02-23_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxlogscore=999 bulkscore=0 adultscore=0 spamscore=0 priorityscore=1501 clxscore=1011 lowpriorityscore=0 mlxscore=0 malwarescore=0 impostorscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206030072
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/UIGugBPUQOhDNi6ZyR76-eaC1EY>
Subject: Re: [lisp] John Scudder's Discuss on draft-ietf-lisp-6834bis-12: (with DISCUSS and COMMENT)
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.39
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, 03 Jun 2022 17:37:05 -0000

Hi Dino,

Thanks for your comments. Let’s look at them in the context of the Map-Versioning draft this thread is about — 

> On Jun 2, 2022, at 6:14 PM, Dino Farinacci <farinacci@gmail.com> wrote:
> 
> 
>> I thought it was clear but let me restate. I’ll use an example since the first attempt wasn’t clear.
>> 
>> - Suppose an ETR E gets packet P, which dest map-version N.
>> - Suppose N is “greater than” the current map-version at the ETR.
>> - According to the spec, E silently discards P.
>> - I’m wondering if E could forward P according to its local mapping.
>> - Note that E would not generate a SMR.

I guess the section that relates to my example would be 7.1, "Handling Destination Map-Version Number”.

> There are a couple of issues with the description of this scenario. The ITR with a version N map-cache entry encapsulates to the ETR. The ETR doesn't necessarily have a map-cache entry

AFAICT all the text in Map-Versioning relates to ETRs that do have map-cache entries. I assume (but haven’t checked) that the base spec must already say what to do in the other case. I think in the context of §7.1 there’s a map-cache entry:

   When an ETR receives a packet, the Dest Map-Version number relates to
   the mapping for the destination EID for which the ETR is an RLOC.

Or is there a way for the ETR to be an RLOC for the destination EID but yet not have a map-cache entry for it?

> (because it is not encapsulated, it is decapsulating).
> 
> If the ETR is registering the EID with an older version number, it means it could have been idled. But if this is the case, the implementation should not register anymore (a mis-implementation of a deconfiguration event).

Clearly if the packet has a map-version number in the future of what the ETR has, *something* is wrong, yes. Could be what you said, could be something else.

>> Benefits:
>> + user traffic gets delivered.
> 
> If this ETR is not in the RLOC-set, and the ITR is currently out of date, and therefore is encapsulating to this ETR, the ETR should not forward the packet. It is likely the EID moved and hence this ETR is no longer the RLOC for it. So likely, the packet would be forwarded into a black hole.

… and if that were the case, it would be better for the network and no worse for the user if the ETR drops the packet outright, ok.

>> Drawbacks:
>> - lack of delivery can be a (very crude!) signal to the user that something is wrong, so maybe the problem would be less likely to be fixed.
>> - ?
> 
> The SMR should be sent

The Map-Version draft says the opposite, that the SMR should *not* be sent:

   2.  The packet arrives with a Dest Map-Version number newer (as
       defined in Section 6) than the one stored in the EID-to-RLOC
       Database.  Since the ETR is authoritative on the mapping, meaning
       that the Map-Version number of its mapping is the correct one,
       this implies that someone is not behaving correctly with respect
       to the specifications.  In this case, the packet carries a
       version number that is not valid and packet MUST be silently
       dropped.

(If an SMR were sent that wouldn’t be “silent”.)

> because the ETR is indicating to the ITR "dude, why are you sending traffic to me". And this typically happens when the EID moves, the ITR DOES HAVE an updated mapping but there is a train of packets in the network. The drops by the ETR, in a sense, "drain out the network".

I get that if the EID has moved away from the ETR then forwarding the packet would be futile. But in that case wouldn’t the ETR be in a different state as you describe earlier — it would have no relevant map-cache entry?

> I have found in practice, that ITRs get SMRs and look at their map-cache and don't find the source of the SMR in the RLOC-set, so it simply drops the SMR beliving the ETR is catching up on draining.
> 
> Dino

—John