[Idr] AS Number in TLV 512 (rfc7752bis / draft-ietf-lsvr-bgp-spf)

Alvaro Retana <aretana.ietf@gmail.com> Fri, 10 March 2023 14:45 UTC

Return-Path: <aretana.ietf@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5BE5C14CE36; Fri, 10 Mar 2023 06:45:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Nn-Pi5LOX4NO; Fri, 10 Mar 2023 06:45:50 -0800 (PST)
Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 83875C14CF1A; Fri, 10 Mar 2023 06:45:50 -0800 (PST)
Received: by mail-pj1-x1033.google.com with SMTP id y15-20020a17090aa40f00b00237ad8ee3a0so5396999pjp.2; Fri, 10 Mar 2023 06:45:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678459550; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:from:from:to:cc:subject:date:message-id:reply-to; bh=YYc5MfOm/3Zijlu88wXh65APdpeXijwmLjRC/eqs5Gs=; b=Q3auMm6B0Iqg8BlNax/d+Cha2FmgmH2U2PyXfRWQBk9z4yZXsmiVVKo7+nITXY3Zao qFmmFuGegwdcY6qNrBzIav6khu3+mNxcQFnOC5thA+NOQQhQGml+oT2cHFU/y/xTUSmv bFHBJQ80j/Pi0DnQR7s9D1xsHbEi+o0qbm8jy6bUHKOR/J4CG5anv6z03Zx7bZKF+iiu d0oKOV+8lgFbipcDs0ZZYvecM/CUUiMKGtFuaG4JAFkyhk4bu73zWw9IJDEKe48kh81v fcEefUl+9M0f7xH17AYOsb0xmeq+Cbd3NGykL/RnG6YTTHNWCBwcl1fYuS7x8J57D1MS nWOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678459550; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YYc5MfOm/3Zijlu88wXh65APdpeXijwmLjRC/eqs5Gs=; b=SKe5q9Y8tFsuuV+dvllbECThF7Pfdi3bdO+1QmoNvf9/TEX6+TD3oFrga4bC4NwgZD FU5ZmWh4QHs8Ownz7OMssqOG3bw+jk6iTaKce/YsakSe6hWvmzMGrd+R06vpPAri868y 9BIgKdPsVX1e60UpvLegqyZW1ni8QqS7fmQChk6DqRLPXsaEv9VrLJxQe87rmxeyBJwV eWibOrOqnHdI6Yj6MgCVP1jLxK+NCBISRn0HJUEs2iOmZ5C+9IOIdW8KwHeA4srIzOXS UZ2Pt50FinNlgt/fzKUyaQr/xU11ct1BX7O8Pc214wBxCMlyQ+liMbtuFo6Op7qiWVw4 0UVg==
X-Gm-Message-State: AO0yUKU5h5YuYKNWEuV3Ib1OjAKZj0JtEau89ozOjvRxYsfnluB7TE82 BsbdVW8kOqttPgBaz/8CTzRjFba4QD9ciTTsXlEHBhjn
X-Google-Smtp-Source: AK7set/NFYFW9NfHW8+Uo8W0VN43PBoM5FgbuNqzwuYYxpYx+PTFbjwW3rkeOxRfMOM8WtPPeXyuLOXRPiavY+Put9Q=
X-Received: by 2002:a17:903:27ce:b0:19a:5953:e85c with SMTP id km14-20020a17090327ce00b0019a5953e85cmr1084399plb.1.1678459549953; Fri, 10 Mar 2023 06:45:49 -0800 (PST)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Fri, 10 Mar 2023 06:45:49 -0800
From: Alvaro Retana <aretana.ietf@gmail.com>
MIME-Version: 1.0
Date: Fri, 10 Mar 2023 06:45:49 -0800
Message-ID: <CAMMESswZ3P_zOmsYxWzKHAkifibKqtsv44kza-qs+aoLq=odmw@mail.gmail.com>
To: Ketan Talaulikar <ketant.ietf@gmail.com>
Cc: idr@ietf.org, "lsvr@ietf.org" <lsvr@ietf.org>, draft-ietf-lsvr-bgp-spf@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/knVo7OIBL2sAvhb_MLuzSRsUtMs>
Subject: [Idr] AS Number in TLV 512 (rfc7752bis / draft-ietf-lsvr-bgp-spf)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Mar 2023 14:45:51 -0000

Ketan:

Hi!

While reviewing draft-ietf-lsvr-bgp-spf I came across this definition
of AS for TLV 512:

   Autonomous System:  Opaque value (32-bit AS Number).  This is an
   optional TLV.  The value SHOULD be set to the AS Number associated
   with the BGP process originating the link-state information.  An
   implementation MAY provide a configuration option on the BGP-LS
   Producer to use a different value; e.g., to avoid collisions when
   using private AS numbers.


The text doesn't require the ASN to be the same as what is on the BGP
OPEN.  It even let's any ASN be used, which could result in other
collisions or confusion. :-(

This definition was in rfc7752, and I don't remember what the
justification was for it, do you?

It seems to me that using the BGP-LS Instance-ID as a differentiator
of the origin domain would solve any issues related to multiple
autonomous systems with the same ASN -- in line with the
recommendation for IGPs.  It would also allow the definition above to
say that the "value SHOULD be set to the AS Number associated with the
BGP process originating...".


Thoughts?

Thanks!

Alvaro.