Re: [lisp] On the use of priority associated to RLOCs

Luigi Iannone <ggx@gigix.net> Wed, 24 May 2023 12:02 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 5CA3DC14CE4F for <lisp@ietfa.amsl.com>; Wed, 24 May 2023 05:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gigix-net.20221208.gappssmtp.com
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 JSx8ocVxRJh3 for <lisp@ietfa.amsl.com>; Wed, 24 May 2023 05:02:06 -0700 (PDT)
Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42412C14CE3B for <lisp@ietf.org>; Wed, 24 May 2023 05:02:05 -0700 (PDT)
Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-3063433fa66so495238f8f.3 for <lisp@ietf.org>; Wed, 24 May 2023 05:02:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20221208.gappssmtp.com; s=20221208; t=1684929724; x=1687521724; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=lSEHG7+a3DV7p+Bj6q5DSuI6AYHLn2p2fa4MHZ0kPe4=; b=Zm5xk1kR1IjvmkjcKO+h+Xehzjr0stVL5nLKfS8Wog2JUvbzm2/0M8iIDg+u4IF6dz WfSG5di3NlAU1tO1YBvW9GVsD79tekcCrLWEeKSP5dRUB4reN6jkEww5ZJEq/Xo38W+Z G9/+9x2rf9/i+78pSjXqxJ43Bn634SYbu8svOHFwG+YaQqLJngJTDpH4f41EX57gyGxX V/sBtIPswgPUMDoOKKPHhP9M1tvoo1iws6SIoFf11/6TEyJzov9DH5g1PyScSoHihAgr DSNPmBLsIF0f4ok86IAju+XKhNcqNn2a/0fZk70WCIw2VLqwvms5g3ZTDwMGqSkN5fTa rx3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684929724; x=1687521724; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lSEHG7+a3DV7p+Bj6q5DSuI6AYHLn2p2fa4MHZ0kPe4=; b=QY1MM0GCOTkkibILy/XWLBYBOrNdUE2PadZUF8CLe81FXRZ3VA6GownELktbKvhWBl FRdVfinnIZxI/Mc1IUZQczZ7NG5Kkdezx7dzccW2zrYC6J4lVm31oPq2Ax8WCq4+EtTO NcKWaTShqdroz1DpacnN1XZGVyM6Mkz6/Y0GPvMl2cY4CUaBoDRJFc7SuUzYSc72Hbm+ YkPcQ/Iuw2jNj5ikYjtkrdoPnQfpoiOdJhHsRm/1IzRDkw6g8l1mZPrCsiZdYGkFq7qg pGdePLG0A0B8AGEr37oylT/GGd1KPE5PEMeaCDcpJjkDklW4OLVe6wIMTKMzCvAmn9wV XJ3g==
X-Gm-Message-State: AC+VfDzPZpcdWLjMfEppDa2xhn/V/FKpBbuhUE5i4ZrBIsp7CTfG/3BO F7Ib00HdO0VSTR0GtvsQzQD+fBEa69tmw2IWUL7CMsPmPsQ=
X-Google-Smtp-Source: ACHHUZ7Q8vFHMBAFiM4GAh+/lA5twPyhGDalBaLblEpGCznOzxXAz+18Re8FiHj7QIMv55rUYuQgiQ==
X-Received: by 2002:a5d:494b:0:b0:307:8b3e:2858 with SMTP id r11-20020a5d494b000000b003078b3e2858mr11907505wrs.45.1684929723926; Wed, 24 May 2023 05:02:03 -0700 (PDT)
Received: from smtpclient.apple ([37.170.11.76]) by smtp.gmail.com with ESMTPSA id n10-20020adfe78a000000b0030796e103a1sm14387252wrm.5.2023.05.24.05.02.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2023 05:02:03 -0700 (PDT)
From: Luigi Iannone <ggx@gigix.net>
Message-Id: <926170C7-4D41-4257-B8EC-D75644026429@gigix.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B3413160-CF56-458A-B92F-208F7A2C0CF1"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
Date: Wed, 24 May 2023 14:01:52 +0200
In-Reply-To: <202A023C-9DD7-4FCC-9D16-07404B72DDB2@gigix.net>
Cc: Joel Halpern <jmh@joelhalpern.com>, "lisp@ietf.org list" <lisp@ietf.org>
To: Dino Farinacci <farinacci@gmail.com>
References: <97B0D7ED-C1E1-4285-A401-DA2BA2FDCE3E@gigix.net> <C23CF756-7F9B-4064-B975-51831B4364D5@gmail.com> <3d13b538-2dc6-fb36-a32d-a2accf4c43ae@joelhalpern.com> <50E8A755-4164-4452-8158-A997B65E7008@gmail.com> <202A023C-9DD7-4FCC-9D16-07404B72DDB2@gigix.net>
X-Mailer: Apple Mail (2.3731.600.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/_FNUwDFxVpl2m4AcGlUBANE-c0s>
Subject: Re: [lisp] On the use of priority associated to RLOCs
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: Wed, 24 May 2023 12:02:10 -0000

Errata!

> On 24 May 2023, at 13:48, Luigi Iannone <ggx@gigix.net> wrote:
> 
> 
> 
>> On 23 May 2023, at 23:05, Dino Farinacci <farinacci@gmail.com> wrote:
>> 
>>> Personally, I find this to be an inappropriate overlaoding of the Priority.  While overloading is not uncommon, it often causes problems with protocols and I would prefer that we not do so.
>> 
>> We all do. But the implementation has been deployed for nearly 10 years. The draft is just reporting/documenting how it is used. 
> 
> Dino,
> 
> <chair hat on>
> 
> The fact that you use that specific value in a particular way does mean that the WG should agree to use priority values to indicate other things.

There is a missing NOT.

The right sentence is:

The fact that you use that specific value in a particular way does NOT mean that the WG should agree to use priority values to indicate other things.

L.


> The LISP WG is free to decide to deprecate such usage.
> 
> <chair hat off>
> 
> What follows is my personal opinion.
> 
> About overloading priority with other meanings:
> 
> Having 256 values to define priority is quite large and (according to my experience) we can live with a lot less. So from that perspective it is not a big deal.
> 
> YET 
> 
> there are a few things to ponder:
> 
> - Looking at lispers.net <http://lispers.net/> the 254 value choice, it looks like a quick hack. 
> 
> - What about backward compatibility? If we allow overloading, there is no way to understand whether a value indicates a “true” priority or something else, different implementations may interpret the value in different ways with unpredictable results.
> 
> - What about weight? In the lispers.net <http://lispers.net/> NAT traversal it is used as defined in the main specs, but this means that all RTR have the same priority all the time. And what if a future value will indicate not to use weight? Or use it in a different way?  
> 
> - With the above we end up having RLOCs priorities that can be priority or something else. In this latter case weight can or cannot be meaningful (or even be something else altogether). Architecturally speaking it looks to me less clean. 
> 
> Now, let’s take one step back: the real question seems to be how to signal in the mapping system that an RLOC belongs to a RTR? 
> Or in a more general way: How to deliver RLOC-related informations that go beyond priority and weight?
> 
> The answer to me is RFC 8060. Just use LCAF! The LCAF format has 16 reserved bits. One can be allocated to indicate whether the RLOC address belongs to an RTR.
> A side benefit of this choice would be that older implementations will just ignore the bit, hence taking no action, rather than interpreting the bit in a different way. Looks like a safer situation to me. You can even use a whole new type, so that an implementation either knows how to handle it or does nothing at all.
> 
> Thoughts from the WG folks?
> 
> Ciao
> 
> L.
> 
> 
>> 
>> Note this is only how the map-server operates. So existing xTRs will get back whatever the map-server decides. So if you are not an RTR (that must be configured in the said map-server) you will get back an RTR RLOC that an xTR will happily encapsulate to. That is, it works with existing xTRs that don't know anything about NAT-traversal.
>> 
>> This implementation has interoperated with other implementations, but we don't claim anything in the draft. And existing xTRs can *receive* packets without following the control-plane procedures from the draft. We demostrated this with OOR by doing gleaning on the RTR.
>> 
>> I have videos demostrating this for unicast and multicast and can send pointers if people are interested.
>> 
>> Dino
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
>