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

Eliot Lear <lear@lear.ch> Wed, 24 May 2023 14:21 UTC

Return-Path: <lear@lear.ch>
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 4928AC16B5C0 for <lisp@ietfa.amsl.com>; Wed, 24 May 2023 07:21:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SPF_HELO_PERMERROR=0.01, 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 (1024-bit key) header.d=lear.ch
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 ZSzLE9rJnnW4 for <lisp@ietfa.amsl.com>; Wed, 24 May 2023 07:21:15 -0700 (PDT)
Received: from upstairs.ofcourseimright.com (upstairs.ofcourseimright.com [IPv6:2a00:bd80:aa::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 CFAB0C15109E for <lisp@ietf.org>; Wed, 24 May 2023 07:21:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lear.ch; s=upstairs; t=1684938065; bh=I3hE8nBYuDbU5/Aw42wKQw7FPNK0r5W0lmoMofjt+eo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=B2Tf4hv3LrpcDtZCrEKaE+Mow2YdJpoMMj2jjzPA63PjmxejABQsJ7RtNy6s1BJsk 40zO+7qr5eTotdayBmgLXm6KUJASnSV1de2ADVo/pM2ea5NdrZy+syY6Bug2n++KMd 68NCszFblf9cBHqbwfZkea7sNuXrWOTZDZkR0Oqo=
Received: from [IPV6:2001:420:c0c0:1012::3] ([IPv6:2001:420:c0c0:1012:0:0:0:3]) (authenticated bits=0) by upstairs.ofcourseimright.com (8.15.2/8.15.2/Debian-22ubuntu3) with ESMTPSA id 34OEL4i3161399 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Wed, 24 May 2023 16:21:04 +0200
Content-Type: multipart/alternative; boundary="------------VP4rLB6Z2kTlr6J1MsCp0ojz"
Message-ID: <d5f48e4c-fd7c-a13a-49f1-69e9c8085324@lear.ch>
Date: Wed, 24 May 2023 16:21:02 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Content-Language: en-US
To: Luigi Iannone <ggx@gigix.net>, Dino Farinacci <farinacci@gmail.com>
Cc: "lisp@ietf.org list" <lisp@ietf.org>
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> <926170C7-4D41-4257-B8EC-D75644026429@gigix.net>
From: Eliot Lear <lear@lear.ch>
In-Reply-To: <926170C7-4D41-4257-B8EC-D75644026429@gigix.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/nHnusDnVQCcgKrqPrIHCH89JS7w>
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 14:21:20 -0000

So... I think it's good to document what people will see in the wild.  A 
254 priority is probably a good signal that one is dealing with a 
lispers.net implementation.  To me at least, the goal here should be to 
permit the documenting of that use. Documenting that in an RFC seems 
like a good idea, but publishing such "squatting" in an RFC doesn't seem 
like a good idea.  So how to move forward?  I'm seeking pragmatic 
answers to that question.

Eliot

On 24.05.23 14:01, Luigi Iannone wrote:
> 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
>>
>
>
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp