Re: [GROW] Comments on draft-sa-grow-maxprefix

Yu Tianpeng <yutianpeng.ietf@gmail.com> Mon, 11 March 2019 11:59 UTC

Return-Path: <yutianpeng.ietf@gmail.com>
X-Original-To: grow@ietfa.amsl.com
Delivered-To: grow@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78ED7126C87; Mon, 11 Mar 2019 04:59:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 HRfXFowLQfpC; Mon, 11 Mar 2019 04:59:10 -0700 (PDT)
Received: from mail-it1-x129.google.com (mail-it1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 0C758130E6B; Mon, 11 Mar 2019 04:59:10 -0700 (PDT)
Received: by mail-it1-x129.google.com with SMTP id z131so6754076itf.5; Mon, 11 Mar 2019 04:59:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4n2haHFrKaKU3tgtUF4z579Eh5Zl68nwu24wOt0JzAc=; b=m42LxqFFvXKvj5xW45Ya3xjuiJKwSksW8PJdSd1EdqsWvnJDJMIvfIpkpmBkAdDA6J 5OKQdpAN1vepxUr/5HJXWqxhh+pEkoM2uRA3Ap5IIYtnQHw17EqrZbTKKwsKQzgNoN9d 5rnFP4ELpY5XGspburQSuS8J7NM+meMv2aOiFMp2x5MBL85ZkYIjar6HjO/vcXHqkVN9 5dLWFvSmGqn0GUGf7wzrKB1Npzo5m/m3+M2/KpKb+7svFOF5zOCARs5rdlWQgQrtvIyd d5uRJGclbQswcExRgYbsAzv1lY5DoVlTcp2s0wqOmryYZr7Ql3BBtlA1991s3Ei8xuR2 rtPw==
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=4n2haHFrKaKU3tgtUF4z579Eh5Zl68nwu24wOt0JzAc=; b=ABxGkyngln9K5jCj4ESrdQAKp1IS9yNDKq+SQdoGLNEwGoUO/UQ2/ldZj1Jnno3Oop 3/g9EXh0FFVoBskcqarvFEFKOMmSz0kv/FMzYnYtGpncq4NuURYu1IQi30tsU0PZ4piq lGZlsJX+ZKAJkkIVq1LhZDk5TqESyWj6ptv3CRdz2JIrmoXCfVo55S7Jyp5PF+pki7hR mgZ2V4Nnohzx9n4v/tCs38CXCytehXyhkdJHk+bVFrVikMH1oJ5tP7nroJ/LKizXdgWn PKGFP1o04nwulVmoBAiGhwlyrAPfm5h8lAXEUaxoCx7KJtwWw1TLpiOJ3KVwJ0fTXPoG eWKQ==
X-Gm-Message-State: APjAAAW+MPM/h5cJDESdVssclNY06JwckPVxMSUjQuWIkbwWwMWtzKYu +WH8dM9fCYf571GNUKDnZDjDLJb/ELpCi/jArJAs6tQr
X-Google-Smtp-Source: APXvYqwG5bNfooJ3DKdxPRiLky8ra8xXjRvurO9mlmcP9F/j3UJWAd6sDmGAKd/EJiFM+yK9ZcuvNiuMPVt9HWZJGJI=
X-Received: by 2002:a24:bdcc:: with SMTP id x195mr15744578ite.149.1552305549304; Mon, 11 Mar 2019 04:59:09 -0700 (PDT)
MIME-Version: 1.0
References: <eb010a7f-6931-9043-8d87-5a6ffda22f2c@gmail.com> <CALxNLBgUBGHnWAvuw87S4u6-VK-mWfTJAP1PefdxP_ZEeQDhSw@mail.gmail.com>
In-Reply-To: <CALxNLBgUBGHnWAvuw87S4u6-VK-mWfTJAP1PefdxP_ZEeQDhSw@mail.gmail.com>
From: Yu Tianpeng <yutianpeng.ietf@gmail.com>
Date: Mon, 11 Mar 2019 11:58:57 +0000
Message-ID: <CAKFJ8epED=+6ZggOY=gn1vn3egC6STgOXXOgO6hAkzzwYyNwfQ@mail.gmail.com>
To: Melchior Aelmans <melchior@aelmans.eu>
Cc: draft-sa-grow-maxprefix@ietf.org, grow@ietf.org
Content-Type: multipart/alternative; boundary="000000000000d98db60583d04c53"
Archived-At: <https://mailarchive.ietf.org/arch/msg/grow/9iA6P7vGX3foXvlufmA5WNwRwsI>
Subject: Re: [GROW] Comments on draft-sa-grow-maxprefix
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow/>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Mar 2019 11:59:13 -0000

Hi Melchior,
Thanks a lot for the feedback.
Response inline below.

Regards,
Tim

On Wed, 6 Mar 2019, 13:57 Melchior Aelmans, <melchior@aelmans.eu> wrote:

> Hi Tim,
>
> Thanks for your feedback! Apologies for getting back so late to your
> comments!
> Some questions/responses in line below.
>
> On Fri, Dec 28, 2018 at 4:53 PM Tim <yutianpeng.ietf@gmail.com> wrote:
>
>> 1. Related with Considerations for soft thresholds
>>
>> Actually the behavior after reaching threshold include:
>>
>> Soft limit:
>>
>> 1) Alert only: Only alert triggered, neighbour is not impacted
>>
>
> Agreed and widely implemented for inbound advertisements. It is
> potentially useful as well outbound.
>
>
>> 2) Alert + Stop receiving route: Alert triggered, no extra route accepted.
>>
>
> I think if you apply this both inbound and outbound the result is useless
> as it is arbitrary based on the order you advertise or receive routes in.
> Do you agree?
>
> Hard limit:
>>
>> Tear down the session, either idle forever or reconnect after a period
>> of time.
>>
>
> How about if you allow the session to come back up and advertisements are
> blocked until you are sure the queue doesn't contain too many routes?
>
[Tim]: the device must clear all buffers before trying to reconnect.


> 2. Generally to protect network from impact of route leaking, based on
>> my experience only relying on prefix limit mechanism is not enough.
>> Reason include:
>>
>> 1) Prefix limit is usually neighbor basis, while route leaking could
>> happen on multiple neighbors together.
>>
>
> Agreed. Max prefix out should be made available on global, group and
> neighbour level.
> I would propose to cover this in the "Implementation Guidance" section.
>
>
>> 2) Consideration also need include devices on POP that receive all
>> internet routes from internet gateway via RR. Such devices could hold
>> multiple services not only just BGP.
>>
>> In such case, either a BGP process based or global based memory&CPU
>> protection mechanism is needed.
>>
>
> What do you propose? I don't see how prefix limits could play a role here?
>
[Tim] No. It rely on a global based memory protection of the os system.
Let's keep it out of this document so far.

>
> 3. There is one more case need to consider is that a device could be
>> able to receive BGP prefix and add in RIB even, but when it send the
>> route to other neighbors, especially when number of neighbors is large.
>>
>> update package group could help in such scenario, but still all msgs
>> need to be sent to TCP socket that will consume extra memory after all
>> route already received,
>>
>> There are some implementations already so far (at least IOS XR supports
>> bgp write-limit) to limit the msgs speed sent to update group to remit
>> impact of this.
>>
>> Overall, it depends on intention of this draft, it is to define pre &
>> post policy on prefix limit or provide a practical solution for route
>> leaking.
>>
>> If the intention is the latter one, I would say we could be more work to
>> do.  If is the previous one, I would say no objection on current scope.
>>
>
> I would suggest to keep the scope limited for now and agree there's more
> work to be done in this space...for another draft :)
>
[Tim] Agree.

>
>
>> 4. It may be useful to describe advantages of type B
>>
>> In case of a neighbor send illegal routes (e.g. rfc 6598), such routes
>> are not accepted (filtered by policy) and not calculated, it won't lead
>> to reset of a BGP neighbor mistakenly.
>>
>
> Agreed that it is a good example.
>
> 5. In the last, related with Implementation status:
>>
>> I can provide implementation status on Huawei devices:
>>
>
> Great, thanks! Will accumulate that into the draft.
>
> Finally thanks for the draft again.
>>
>
> You are welcome. Feel free to add additional comments.
>
> Thanks!
> Melchior
>