[Idr] Re: draft-decraene-idr-nlri-error-handling-00.txt

Robert Raszuk <robert@raszuk.net> Fri, 17 October 2025 19:24 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: idr@mail2.ietf.org
Delivered-To: idr@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 5DD44761D152 for <idr@mail2.ietf.org>; Fri, 17 Oct 2025 12:24:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4qYNDjGNfXnU for <idr@mail2.ietf.org>; Fri, 17 Oct 2025 12:24:57 -0700 (PDT)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 2E945761D082 for <idr@ietf.org>; Fri, 17 Oct 2025 12:23:50 -0700 (PDT)
Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-63c1006fdcfso4232514a12.2 for <idr@ietf.org>; Fri, 17 Oct 2025 12:23:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; t=1760729023; x=1761333823; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VXKcBO09mUlQLWTq1yv/Mjnzy8Mz5pSz045D4TyfuDw=; b=dXTSWejYOr2jE8t5ZN6jz3K9LZ9eRKCvr1+lgmE0YrI5WMBs3IWo19tprqa97GTWPM 6d4QtGgvOvvXclGrwqwfgAe6y5TLO880xByGcMyaVdH+SIfYjTCDsi0q7ngOuymCfpXE Q8ekT6wh8WdpeHzJYHS6SYH9KQi0NvElYAJ8x38whFOlycgKLIcGN8zYg0egJN/B2cmt IGXUPl1ewnzoVF6nFyFS0JQHjnLUDBz1pucK85k8pG0m6Zi38ZHsm1ZTAyBFR2zOD9Xq tCMXyNvhEJQNRYlZAAx/ljRoiLzyofOrUlsmh/65PxfBUy/urMeigEP64QYTme5yY1SQ Z/Jg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760729023; x=1761333823; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VXKcBO09mUlQLWTq1yv/Mjnzy8Mz5pSz045D4TyfuDw=; b=JBtUQWKx60jrkmm40oJFkLtpPVQqcPJ26k+J9BJgAEJFmuOQ17lhShT0DNc6CHaDP1 s1nCOGoIiz3CXA+R5pl6WUliGzSVwKTXT3p2Pp6dVkqk4Sj57TQmbtYNRbqZWMirO58W 0n61lc/c20rFAOZexD1CnpCzhG0fuL3gjt4vRtPWCYiAMieIdCE6aZi+948C5LGDkuuM eTZ3Wlq+fQ8EH8CqSXiu+uNijFrjYKQNGQJy7r94ARJ3rymbD6agdfVWGMFT4LdJf9Md AYM1RkdIY4oBsYTbfjxuGb6IV5Ek3l76sPCKBU9AnRXENdf0XP4JRaOyScbsc2fbPZXi ZIKQ==
X-Forwarded-Encrypted: i=1; AJvYcCU0QBgoM8oKLF2WTBJ5KO4/wIKtk4/IYwOfZxRm/DIafTEQ6ygYXQlTH5BknT6ekg2wZLI=@ietf.org
X-Gm-Message-State: AOJu0Yze+mFIzGOUYqrM40R7A9Tu4pjzBZumBCrWBwiCTWH3ajPVNrjc VtsTQvd2lvIKASypRWqH7cvTh4UBwGY6B4pLFj3ufSp0ZC86PGxCnI4pRDhtXguZ9Y6lCKWDEON nMz6dDPLqX3krVNeSVVGuUUGJ6iWg28xpR3PAPGEGJQ==
X-Gm-Gg: ASbGncup9ZLVd1fRN0mV9/vQvJau2vXoZCVe+OPjMkVyxTya9oRYdNPD3VLJf0rF/rT sa2MZLnip2NPav2vuBBHJGOEe8D4dzt1hbPA3ax63BUKc5rnMiu1ZAh8dIpPkFvc9zO5BMGU9N2 T4EAFgZjHy8p6MMzaP9ZBPZ8NUOPGsiiqoFU5J9QWm+Mh9qw9H2Y6mEM88L2Gv3/0H7+YU8+xjw BvSLBtHZxBUf1XB8o/9sOvZSbF0kp7KIwZgd7GUbsd2I8hNHiTkYxIw3wYI
X-Google-Smtp-Source: AGHT+IE+dqnHbkEL9S5khvQ513hfIixRnfdFAHK6xOKoTxbxCbP36Lga6IhgEs1kK9fo6BzqdtXxMxlF0rJXyXgCgaM=
X-Received: by 2002:a05:6402:5186:b0:634:5db4:8fab with SMTP id 4fb4d7f45d1cf-63c1f628d92mr4595869a12.6.1760729022732; Fri, 17 Oct 2025 12:23:42 -0700 (PDT)
MIME-Version: 1.0
References: <176053803383.1109285.4613858825382469856@dt-datatracker-84f8f646b-tg6mn> <MR1P264MB4354CE655479696D589F8050F0E8A@MR1P264MB4354.FRAP264.PROD.OUTLOOK.COM> <CAPF+HwVb_Mb9C79SfVtTP=rxMjNK8CTEKOAFsXbx__8FwJ+RLw@mail.gmail.com> <AB42F105-6FD2-40C6-88DB-FDD33EF8A9BA@juniper.net> <CAPF+HwX_D5_Y88MQrerY+bPRY_V4QB=LG7nZY75skzntfT0G2g@mail.gmail.com> <F93E64FE-DE2C-47C6-B69F-267A69503140@juniper.net> <CAPF+HwX9VVNk26E-6NFphy-FV6vtyDkVBFQNPdghGw4yJCudfw@mail.gmail.com> <5656EE4B-764B-46EF-BE6A-7D2E657DDA6F@juniper.net> <CAOj+MMFT3qOENbcJ5Ctp9PQxhsrgzPM852_sOZTUWq83kZqZ6g@mail.gmail.com> <MR1P264MB4354DE951D947A766EDBFE8FF0F6A@MR1P264MB4354.FRAP264.PROD.OUTLOOK.COM> <CAPF+HwW5ifFwG8FTS_OU1aHpGoLpspxt-V12sSuXTDRSR1Oe_A@mail.gmail.com> <658DA189-ADFC-4E99-86F9-7798834839D2@juniper.net> <CAOj+MMHzzaLLgqLKSNsbo=sej8AOdxNiJV56dwA5RR=wVj=UuA@mail.gmail.com> <19848180-3B60-40C8-87F7-119D56DECAAD@juniper.net>
In-Reply-To: <19848180-3B60-40C8-87F7-119D56DECAAD@juniper.net>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 17 Oct 2025 21:23:31 +0200
X-Gm-Features: AS18NWC_X_qheDTcl1tgJTsamvr-Ho_vdxPGPACj-YqdYSsHqjs6K9zusP9KBSQ
Message-ID: <CAOj+MMFr5Muqf94ZfJTTvOjCsXOpvp6y2E6g5c-NjW2NWcN20A@mail.gmail.com>
To: John Scudder <jgs@juniper.net>
Content-Type: multipart/alternative; boundary="000000000000f22dd306415faba7"
Message-ID-Hash: LSDLW4S4I2SIXRRXRRBBQQNBQISJUODL
X-Message-ID-Hash: LSDLW4S4I2SIXRRXRRBBQQNBQISJUODL
X-MailFrom: robert@raszuk.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, idr <idr@ietf.org>, "draft-decraene-idr-nlri-error-handling@ietf.org" <draft-decraene-idr-nlri-error-handling@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: draft-decraene-idr-nlri-error-handling-00.txt
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/1SHi3278BdEwP_seWpCh1twobR8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>

On Fri, Oct 17, 2025 at 8:08 PM John Scudder <jgs@juniper.net> wrote:

> Fun!
>
> I’m not so sure any additional specification is needed, since by
> definition if you know how to build an MP_UNREACH_NLRI you know how to
> build a TAW. Still, it’s worth a think, thanks.
>

Maybe it was not clear but I mainly asked in the light of the discussion
and text in the draft concerning the comparison of MP_REACH and TAW

   In the case of an UPDATE message with a correctly formed
   MP_REACH_NLRI attribute, the Treat-As-Withdraw attribute SHOULD be
   parsed and its list of NLRI compared to the list of NLRI present in
   the MP_REACH_NLRI attribute.

With ADD-PATHs MP_UNREACH is quite different then MP_REACH.

Is one match of NLRI found in TAW enough irrespective of how many matches
for the NLRI MP_REACH with extended NLRI encoding would/should contain ?

Thx.
R.


> [External Email. Be cautious of content]
>
> John,
>
> Do you plan to add any text on how you plan to encode TAW attribute if
> given AFI/SAFI is using Extended NLRI Encoding from RFC7911 (ADD-PATHs RFC)
> ?
>
> Thx,
> R.
>
>
>
> On Fri, Oct 17, 2025 at 7:30 PM John Scudder <jgs@juniper.net> wrote:
>
>> Hi Donatas,
>>
>> I’m combining replies to two of your questions. I hope that’s OK.
>>
>> > On Oct 17, 2025, at 2:28 AM, Donatas Abraitis <
>> donatas.abraitis@gmail.com> wrote:
>> >
>> > This must be written in the document, because now I understand what the
>> point of this new attribute is, thanks. How do we ensure consistency
>> between TAW and MP_REACH_NLRI keys? They can be different, right?
>>
>> They are never supposed to be different, that’s the point. Looking at the
>> spec, I guess we need to be clearer about this up front. Section 4, second
>> paragraph, does demonstrate the intent, though:
>>
>> ```
>> the Treat-As-Withdraw attribute SHOULD be parsed and its list of NLRI
>> compared to the list of NLRI present in the MP_REACH_NLRI attribute. In
>> case of difference, the Treat-As-Withdraw attribute SHALL be ignored.
>> However, because this reveals an error in either the Treat-As-Withdraw
>> attribute or the MP_REACH_NLRI attribute
>> ```
>>
>> As Bruno and Jeff were discussing, there are different choices available
>> for how aggressively to police consistency. On one end we have “do not
>> police it at all”, on the other end we have “treat it as a fatal error if
>> they are inconsistent”. The present version falls somewhere in between.
>>
>> > On Oct 17, 2025, at 10:01 AM, Donatas Abraitis <
>> donatas.abraitis@gmail.com> wrote:
>> >
>> > Didn't look if this was asked/answered, but correct me if I'm wrong (or
>> speaking nonsense). The entire MP_REACH_NLRI attribute must be treated as
>> withdrawn, but is it possible to signal that ONLY a subnet of the NLRI
>> parsing failed?
>>
>> I’m confused by the question: there isn’t any signaling in the proposal,
>> unless you count "logging an error listing the NLRI involved” as a form of
>> “signaling” to the administrator of the router involved.
>>
>> In any case, IMO (and per the present spec and RFC 7606) once you’ve
>> decided the MP_REACH_NLRI is malformed, you MUST treat everything within it
>> as toxic. I guess you might be able to be even more selective, but I
>> wouldn’t advocate that.
>>
>> Thanks,
>>
>> —John
>
>