Re: [Lsr] Martin Duke's Discuss on draft-ietf-lsr-ospf-reverse-metric-08: (with DISCUSS and COMMENT)

Martin Duke <martin.h.duke@gmail.com> Thu, 06 October 2022 17:29 UTC

Return-Path: <martin.h.duke@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47245C157902; Thu, 6 Oct 2022 10:29:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 (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 IxyoBsBzKtmb; Thu, 6 Oct 2022 10:29:46 -0700 (PDT)
Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (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 7995FC15790B; Thu, 6 Oct 2022 10:29:46 -0700 (PDT)
Received: by mail-qv1-xf29.google.com with SMTP id l19so1612827qvu.4; Thu, 06 Oct 2022 10:29:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6PGvYCEO+xnCQRHDesYRAB0g6kl+cZoi0me9+0JCpzs=; b=a/2sDzjjC/c9I1lB5ee1fupmAosoL5XIWNJmh7Nr0R2guVGUcE34AUdBFNvXPYmReY clgHPmE1+l4smlqw/seoaJ2bURp8vmSnh+XDEhDbf/fWQMGHs1jMKA5jfRPkIWX4kxdU vDP3nfKouuNcJlMP2pgCb00uq7a7YBVQKAtlnir76OUKjGSQx+CKuhhdOWhBrOKa/w4p T+RxmvXZXNUfKNCdmhYG+kno2K1gcOFsiryUgm4XWNuVzZC/+QJv2rGnaRKIDLKwATaw umyf0KoMoWb9Un/I9NeKP9nzFQQXvmcCJBaFGpf+6C2uqz0S37TS4QbMVE6WH/VbgOdD cknQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=6PGvYCEO+xnCQRHDesYRAB0g6kl+cZoi0me9+0JCpzs=; b=8PTJHaVA+LN8EBcUxz865iHrYUh8hIj1QU/aeYkF7WCGXIEO1eZBUGYzqSbg8NlTBZ SPCh5lTaFecJm/QH7R8xAtRprncyab/zgR3g3LINaCEhysqgPP5e730JAPnqgLQjo4hX ykt/E6DJNM5ZRxBN6Q3iI9XpR/FzquvQPO6YWkFkZvwiEevyinpcgiI7vS/+S57Ue6yY RcpJqa1chj3mitibFc0aPyI+YWPP3Nrfqeh612y0oz5ygy6086B6AmqinTjTK+FX0ct8 Lk7kAgjo/GRBoTaxscZyvTlv4sNOHkmhyk2hr/fDqCCRpVgA6cv8hfAqeVdsYVaWRUH2 khOQ==
X-Gm-Message-State: ACrzQf2TkFPG/HGekcnwfYTc/2lk04Gqiry4cluw9KGXdPg2sFxxLO9d kr+gCBOYlN5KqA2VJl0n5oTEf6b0cpK/A1Ux3uI=
X-Google-Smtp-Source: AMsMyM4T9PxjWg48gJhc/t0huPEQFC1045UxguApXW1FnlkeKlXGmfx6HvTTkQYFTce1Ybsu93/OHNuKEwAFtkH9sb0=
X-Received: by 2002:a05:6214:c8b:b0:4ac:c1f7:660f with SMTP id r11-20020a0562140c8b00b004acc1f7660fmr781753qvr.52.1665077385424; Thu, 06 Oct 2022 10:29:45 -0700 (PDT)
MIME-Version: 1.0
References: <166501601066.34369.9310407245793819522@ietfa.amsl.com> <CAH6gdPzH1PLD_-1B+twSQ_2xLeiY4e9o0UK2JBHo2vy0XM2rzQ@mail.gmail.com>
In-Reply-To: <CAH6gdPzH1PLD_-1B+twSQ_2xLeiY4e9o0UK2JBHo2vy0XM2rzQ@mail.gmail.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Thu, 06 Oct 2022 10:29:34 -0700
Message-ID: <CAM4esxTEFzm3MJbG745z2aw4+g0nXJnmUB5yRjgJVxQzcqbCqQ@mail.gmail.com>
To: Ketan Talaulikar <ketant.ietf@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-lsr-ospf-reverse-metric@ietf.org, lsr-chairs@ietf.org, lsr@ietf.org, chopps@chopps.org, acee@cisco.com
Content-Type: multipart/alternative; boundary="00000000000014f42405ea610a37"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/ex3AZsxtoqz3ESMJHwz7Wo0OTs0>
Subject: Re: [Lsr] Martin Duke's Discuss on draft-ietf-lsr-ospf-reverse-metric-08: (with DISCUSS and COMMENT)
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Oct 2022 17:29:49 -0000

On Thu, Oct 6, 2022 at 2:44 AM Ketan Talaulikar <ketant.ietf@gmail.com>
wrote:

> Hi Martin,
>
> Thanks for your review and comments/feedback. Please check inline below
> for responses.
>
> We have also posted an update that includes the changes discussed below:
> https://datatracker.ietf.org/doc/html/draft-ietf-lsr-ospf-reverse-metric-09
>
> On Thu, Oct 6, 2022 at 5:56 AM Martin Duke via Datatracker <
> noreply@ietf.org> wrote:
>
>> Martin Duke has entered the following ballot position for
>> draft-ietf-lsr-ospf-reverse-metric-08: Discuss
>>
>> When responding, please keep the subject line intact and reply to all
>> email addresses included in the To and CC lines. (Feel free to cut this
>> introductory paragraph, however.)
>>
>>
>> Please refer to
>> https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/
>> for more information about how to handle DISCUSS and COMMENT positions.
>>
>>
>> The document, along with other ballot positions, can be found here:
>> https://datatracker.ietf.org/doc/draft-ietf-lsr-ospf-reverse-metric/
>>
>>
>>
>> ----------------------------------------------------------------------
>> DISCUSS:
>> ----------------------------------------------------------------------
>>
>> I hope this is a quick one.
>>
>> A naive reading of Sec 2.2 implies that a router could generate
>> reverse-metric
>> TLVs quite rapidly,
>
>
> KT> Did you mean send reverse-metric TLV over all its links to its
> neighbors OR generate multiple reverse-metric TLVs with changing values OR
> a combination of them both?
>

A combination of both.

>
>
>> triggering a storm of TLVs from a potentially large number
>> of neighbors. Each reverse metric advertisement generates N LSAs,
>
>
> KT> This is not correct. It would end up generating a single update to the
> neighbors Router LSA. Perhaps more if we think of multiple parallel links
> between those routers. But then there is also dampening built into the
> protocol to slow down the rate of (re)generation of the same Router LSA too
> frequently.
>

Sorry, typo: a storm of LSAs from neighbors, not TLVs. But yeah, OSPF LSA
rate limitations will help here, even if with N routers doing it it's still
pretty bad.


>
>
>> increasing
>> the amplification of any sort of misconfiguration or misbehavior far more
>> than
>> a traditional LSAs that is updated too often.
>>
>
> KT> As described in my first response above, a combination of varying
> reverse metric values being signaled can trigger multiple updates to the
> neighbor's Router LSA - which despite dampening may be problematic.
>
>
>>
>> At the very least, this ought to come up in security considerations, but I
>> wonder if applying some sort of rate limit (beyond which neighbors are
>> free to
>> ignore) would be a firmer way of limiting the problem. I'm flexible on
>> the best
>> way forward.
>>
>
> KT> Added text in the security considerations that cover this issue as
> well as a proposed mitigation. Please let us know if that works.
>

Yes it works.


>
>
>>
>>
>> ----------------------------------------------------------------------
>> COMMENT:
>> ----------------------------------------------------------------------
>>
>> A "don't be stupid" warning in 2.2 certainly wouldn't hurt, either.
>>
>
> KT> I am not sure how exactly to put that into the document. Any help is
> appreciated. Perhaps something that generically goes into the
> Internet-Draft and RFC boilerplate maybe ;-)
>

How about:

Routers SHOULD NOT issue repeated frequent updates to reverse metrics as a
fine-grained response to congestion, as this would generate multiple
neighbor LSAs and route instability.


>
> Thanks,
> Ketan
>
>

I don't know if we need to have a discussion about rate limiting, but I'll
lift the DISCUSS as soon as Alvaro (who supported it) is satisfied.