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

Joel Halpern <jmh@joelhalpern.com> Tue, 23 May 2023 19:34 UTC

Return-Path: <jmh@joelhalpern.com>
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 B5C36C1519A4 for <lisp@ietfa.amsl.com>; Tue, 23 May 2023 12:34:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (1024-bit key) header.d=joelhalpern.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 6PWjpxBR8qHJ for <lisp@ietfa.amsl.com>; Tue, 23 May 2023 12:33:56 -0700 (PDT)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (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 5B284C1519B6 for <lisp@ietf.org>; Tue, 23 May 2023 12:33:56 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 4QQkyX0tGRz1nwkF; Tue, 23 May 2023 12:33:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1684870436; bh=mge62KDvaxV8xnSyAX2h2HkFo39CLMTSFmheXU8i0OY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZVZBXrbspVjar3PNQl2YJDv26KrCGVqKDC0KuKiiXwys8h68Ec7Pw3a7auBMcZATp 7AfSQiq05bAzl/erkmsF4tk+4IqyByTmhwtcCecLX5DFvM9IJNhe95Y953rZFBAzc9 EBNITNs3QfUCaY5auerSaiJzNvnVSxq0NIP+9BF0=
X-Quarantine-ID: <VAbTpDM1yPUR>
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from [192.168.22.80] (unknown [50.233.136.230]) (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 mailb2.tigertech.net (Postfix) with ESMTPSA id 4QQkyW0BzBz1ntbv; Tue, 23 May 2023 12:33:54 -0700 (PDT)
Message-ID: <3d13b538-2dc6-fb36-a32d-a2accf4c43ae@joelhalpern.com>
Date: Tue, 23 May 2023 15:33:53 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1
Content-Language: en-US
To: 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>
From: Joel Halpern <jmh@joelhalpern.com>
In-Reply-To: <C23CF756-7F9B-4064-B975-51831B4364D5@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/R4UOycYkLUqKpM88hmUHmzM5OFA>
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: Tue, 23 May 2023 19:34:00 -0000

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.

Yours,

Joel

On 5/23/2023 2:57 PM, Dino Farinacci wrote:
> Maybe I can provide some color, so folks know why this design decision was made.
>
> (1) An xTR behind a NAT will register its global RLOC (and port) and the RTRs it has learned to the mapping system.
> (2) When another ITR wants to encapsulate to this xTR, it CANNOT do so with the global RLOC.
> (3) When an RTR wants to encapsulate to this xTR, it CAN do so with the global RLOC.
> (4) So when either the ITR or RTR do a Map-Request lookup, the map-server returns a PARTIAL RLOC-set to the requester. That is, it returns the global RLOC(s) to the RTR and the RTR RLOC(s) to the ITR.
>
> For the map-server to know in an RLOC-set which RLOCs belong to RTRs, they are registered with RLOC priority 254.
>
> Dino
>
>> On May 23, 2023, at 7:07 AM, Luigi Iannone <ggx@gigix.net> wrote:
>>
>> Hi All,
>>
>>
>> TL;DR: Should the priority associated to RLOCs be used to indicate something else?
>>
>> Long Version:
>>
>> As you may (or may not) know Dino submitted the lispers.net NAT traversal solution (https://datatracker.ietf.org/doc/draft-farinacci-lisp-lispers-net-nat/ ) for publication on the Independent Stream (https://www.rfc-editor.org/about/independent/).
>>
>> Current ISE Editor is Eliot Lear (well known by old lispers like me ;-) )
>>
>> During the review of the document an interesting question came up:
>>
>> Lispers.net NAT traversal uses priority 254 to indicate that the RLOC belongs to a RTR.
>>
>> No text in old and new specs suggest a usage of the priority to deliver something different than the priority itself.
>> Even the value 255 is related to priority: do not use this RLOC = no priority.
>>
>> It goes without saying that there is no IANA registry about special value of priority associated to RLOCs.
>>
>> At the same time there is no text that explicitly states “priority indicates only the priority and CANNOT be used for something else”.
>>
>> So the question is: Should we (the WG) consider that priorities can be used to indicate something different from priority?
>>
>> If not: we may want to write it down somewhere.
>>
>> If yes: Well…. This deserves a longer discussion (may be to be included in the new charter…).
>>
>> Thoughts ?
>>
>> Ciao
>>
>> Luigi
>>     _______________________________________________
>> 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