Re: [Idr] I-D Action: draft-sas-idr-maxprefix-inbound-02.txt

Robert Raszuk <robert@raszuk.net> Tue, 11 May 2021 13:52 UTC

Return-Path: <robert@raszuk.net>
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 7D6073A188B for <idr@ietfa.amsl.com>; Tue, 11 May 2021 06:52:05 -0700 (PDT)
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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id npgApSyMUo7C for <idr@ietfa.amsl.com>; Tue, 11 May 2021 06:52:00 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 746413A1768 for <idr@ietf.org>; Tue, 11 May 2021 06:52:00 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id p20so1227441ljj.8 for <idr@ietf.org>; Tue, 11 May 2021 06:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TCiAuM1BdfGv2iVBGGGNJMI22/GDhNqOSE3GXwiC8Ac=; b=Uth8zpNqCEpCJBpM3NF0nszQjS7mmeDGMMa3xzmaqRh07+ej9k3hwHV+oAyUUi0KgH 9a+p5Wb5VShHjPeeFnoFVGAXg2cEVzWN7r7DrUHOK1QYtcsf5qLzrvEYi84v/uwAkF9T 3NjlLNATmkYzP84cO/2DuD0btNi1tOCnA73z8Dl8+Sp6MF6ZepnHJQBeHMfttu9wicUJ ktbSDPNJ7oNFVjxx6IWMqKbBvE3uZ+2zJm6MizBsaMm4v/V9Sj3Mrt7UD+CQfrbuGuPY Qb9ietaXLLGZN/ArQI40ZvT8ejAe/XpZUKfIBCTgSY5n9TLa2gjqY9MCOTNu42EzszDX uNQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TCiAuM1BdfGv2iVBGGGNJMI22/GDhNqOSE3GXwiC8Ac=; b=oD6lBeqm4MDE0WrZnUMXgA1HnKb8EgxJp3cfebKpHmaVaII0xr+2xrjCPvj4IdmNqN cmA1ViWuE5e2Da50nD8boUmT4fAlt9v0gmEsoqdWE7FAvsAZRHw/Y167lBj8EU+NqgaE 757GKe5aAyojtmkMKkmPZB8N4ivLftBgBsE5615emZYH7E1GdKcwVUzEkFeuM48xBRrS Qmck3eqCkRMqc4EviEW8xX5C7/K5NRvwjD8CuJgSpGkkU/oMhXLIjw5mdl3ecogRmxkm kFBwOCD1fhpdGV4TIf2uq2WG4NtVShrY4YCxX7QO1vtNhsO0VpcjuZPul+DbnvKf4g4S iYLw==
X-Gm-Message-State: AOAM53183TneRdC59Ppda3ap1sXY95Cfx3cqkGJ185jQE3/0zvpngvbf RoY/clpf1QTvehEoSNlVV82QdbSHXSbajh0yHkGnXA==
X-Google-Smtp-Source: ABdhPJzjhiCGBTcYb+5WUFQ6RtD2mojeSzL7+XeJODv2TNvaHFKMk7kCV0U31iOfPJDARERzm6Id4VZ/vQoOhui0PeM=
X-Received: by 2002:a2e:b2d1:: with SMTP id 17mr21851783ljz.318.1620741117502; Tue, 11 May 2021 06:51:57 -0700 (PDT)
MIME-Version: 1.0
References: <161843563034.11054.13811966622190622752@ietfa.amsl.com> <CAOj+MMH=cCgtn7cL=HvOjQOMH1B9tmjOYOT04jXE9oky4SuevQ@mail.gmail.com> <YHhJTB51/joiz9Pg@snel> <CAOj+MMEFOGm=hCQcZNAUoN8vsPeVT3gqnjsQihUMJo4AOObZfw@mail.gmail.com> <CALxNLBhtQDDo9Dn7vBAZx+RbVwJ5BSbZfRS1wGStt_k7C2nPuQ@mail.gmail.com>
In-Reply-To: <CALxNLBhtQDDo9Dn7vBAZx+RbVwJ5BSbZfRS1wGStt_k7C2nPuQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 11 May 2021 15:51:46 +0200
Message-ID: <CAOj+MMHDPGt30deY6KtC+E-5eD9Q8cRtrL-xydLhsNic7KBdSw@mail.gmail.com>
To: Melchior Aelmans <melchior@aelmans.eu>
Cc: Job Snijders <job@fastly.com>, Massimiliano Stucchi <max@stucchi.ch>, Melchior Aelmans <maelmans@juniper.net>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000094f7e405c20e3285"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/X0_eoWM_v-LOmfPA23_ydZb_Ucc>
Subject: Re: [Idr] I-D Action: draft-sas-idr-maxprefix-inbound-02.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 11 May 2021 13:52:06 -0000

Hi Melchior,

After rethinking this I think the current text in the draft is ok.

It is after all optional cfg and if vendor supports both pre and post
policy max-prefix limit inbound the configured numbers may not need to be
identical.

Thx,
R.


On Tue, May 11, 2021 at 3:22 PM Melchior Aelmans <melchior@aelmans.eu>
wrote:

> Hi Robert, all,
>
> First of all thanks for your feedback!
>
> The part we are confused about is that soft-reconfiguration inbound is a
> Cisco command to enable adj-RIB-In which then stores all the received
> routes. On Juniper and OpenBGPd (and possibly other implementations as
> well) adj-RIB-In is enabled by default and protected by a maximum-prefix
> limit inbound.
> Could you please elaborate on what you are exactly trying to describe and
> as Job suggested make suggestions for text adjustments?
>
> Thanks!
> Melchior
>
> On Thu, Apr 15, 2021 at 4:36 PM Robert Raszuk <robert@raszuk.net> wrote:
>
>> Hi Job,
>>
>> The distinction between Per and Post policy is clear.
>>
>> Inbound Prefix Limit may (depending on implementation) apply to either or
>> both of those processing stages.
>>
>> The observation I am trying to make is that IMHO soft in is not really a
>> Pre Policy in a sense that you must not apply Prefix Limit to it. Otherwise
>> the entire idea of soft-in becomes questionable.
>>
>> To me perhaps the proper way to visualize it is actually to divide Pre
>> Policy into two blocks - ALL Prefixes and Pre-Policy Prefix-Limited. All
>> Prefixes block would occur only when soft in is enabled. Otherwise some may
>> expect or request to apply Inbound Prefix Limit before routes are stored
>> when soft reconfiguration inbound is enabled.
>>
>> Or perhaps you actually want to do that sort of breaking that knob ?
>>
>> Many thx,
>> R.
>>
>>
>>
>>
>>
>>
>> On Thu, Apr 15, 2021 at 4:10 PM Job Snijders <job@fastly.com> wrote:
>>
>>> Dear Robert,
>>>
>>> On Thu, Apr 15, 2021 at 02:16:12PM +0200, Robert Raszuk wrote:
>>> > I think I have one question or suggestion.
>>>
>>> Your review is appreciated!
>>>
>>> > As you all know some implementations allow you to explicitly force BGP
>>> > speaker to keep (pre-policy) all routes/paths received.
>>> >
>>> > Example:
>>> >
>>> > neighbor 192.168.1.1 soft-reconfiguration inbound
>>> >
>>> > The draft does not seem to comment on this case yet if implementation
>>> > maintains the above behaviour at least some of the justifications for
>>> > the document is gone.
>>>
>>> Interesting, the draft's objective is to clarify that inbound limits can
>>> be applied at multiple stages of the pipeline (pre and post policy), not
>>> all Network Operating Systems appear to offer this (operationally
>>> speaking much needed) granularity, and through this draft we hope to
>>> clarify to implementers that it is something worth considering to add.
>>>
>>> > I think that draft should at least mention such behaviour, not force to
>>> > change it however put some light that if
>>> > configured by the operator some of the benefits of inbound prefix limit
>>> > will not be fully effective.
>>>
>>> What you call 'soft-reconfiguration inbound' ends up storing into what
>>> the draft refers to as 'Pre Policy'. (At least... that is the intention,
>>> it is possible the text is readable to us but not easy to understand for
>>> others)
>>>
>>> Do you have specific text in mind to add to the draft to clarify this?
>>>
>>> Kind regards,
>>>
>>> Job
>>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
>>
>