Re: [Idr] update proposal to draft-ietf-idr-rfc5575bis-14

Robert Raszuk <robert@raszuk.net> Thu, 09 May 2019 21:10 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 BDC47120135 for <idr@ietfa.amsl.com>; Thu, 9 May 2019 14:10:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.99
X-Spam-Level:
X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] 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 vOIkOlDt31ro for <idr@ietfa.amsl.com>; Thu, 9 May 2019 14:10:32 -0700 (PDT)
Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 6F78B120026 for <idr@ietf.org>; Thu, 9 May 2019 14:10:32 -0700 (PDT)
Received: by mail-qt1-x82a.google.com with SMTP id t1so4202763qtc.12 for <idr@ietf.org>; Thu, 09 May 2019 14:10:32 -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=hKen7w8EhYnA82/iMy5qRnHkc5+ERWmiyAnMcIkTTVQ=; b=XtF+wU1KP0qK7FIcrafa/zhvHAGVpJZT3YLGMX3MLgUftaPTA8ogwJ3YxUznfQYNRK 4kCyHO/wFh1bO5aBCqNOFEYjS/fqROg5BFYcM+WZShhir0WyL6JTDJEs5C5d7z+g/cnE eY35OXD8TKNnhYtNFmIGThgsZDRUhMJnXSNHn0BCvnZfb4EO84pUHe0MGgxUpNePGx5Z h6jkV7ZGmG/f1mpZobZW9/jbVKDnvFa1HsgQ2wFdP+u/KL2WP1i/a7Fv24y+0yhT1NRn TgtgbcM6F/ojW/mybnvyU3uIbHY2j211nwyollUgvmkZasqWGK1LzOX63APMzOl9hA8B haHw==
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=hKen7w8EhYnA82/iMy5qRnHkc5+ERWmiyAnMcIkTTVQ=; b=KAKsbgpugCnCirVdgFTIhh0IK3YimB9BPQoiPvR2d4xRGK9Ea1B6OyNaDXRv+A8+iI 28b93NIcu1jzuFP3FHbGqjxcRhHkB6MNP9UUB/ZhsAMsrI0YdIDzuyTV2pXtoRPy6L3T bUeIEGgfIC8yDkOuGjkldqpN8vWBovmh9JXTBxVfTl0CB6TpfQI1gl39c+nS5EomQllE 6bNiL+rTJZ6WV4o/rfp6lXPjtRTCbE3W8iFraOP8UmfpoeXWw2Sln6OrmqV9/X7yHxHx Tgu1toSFsXEmimsOsG3A/CrWi8R2bRJFBbsXX6+V2XouoKgUzd5romy/T6On1/R/0xg2 4+Bw==
X-Gm-Message-State: APjAAAVTlGiXxCAmGBD6pws9GIVoRJGqa67ogPbrhIlPdMM9QOGKOZz/ mdPyFlqiUnZp4Izp+aJvmgCLeR6Jge37S5Eh24FtiWvl370=
X-Google-Smtp-Source: APXvYqxLuVRfBMGHEC+Tw47dpmEBndCMR0SvCF6c+X8knm8b6UfMULpeDzbidXyziDNo4/Q7O4klr1f4RLnHB4iQIvg=
X-Received: by 2002:aed:3787:: with SMTP id j7mr6046875qtb.6.1557436231410; Thu, 09 May 2019 14:10:31 -0700 (PDT)
MIME-Version: 1.0
References: <d0255cf9976644d7a29b11f2fc68fa98@turkcell.com.tr> <CAOj+MMEeAW+cp3+nbo1UvZvg=zhmoYuRAooLpoCwUtM=c3qYew@mail.gmail.com> <BYAPR11MB3751AD010F84D24B84591A32C0330@BYAPR11MB3751.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB3751AD010F84D24B84591A32C0330@BYAPR11MB3751.namprd11.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 09 May 2019 23:10:19 +0200
Message-ID: <CAOj+MMFC=ow7hjtDkFn=ZVOyVHDEuAD8GJQ1nNkOHFxAZPo_Ug@mail.gmail.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
Cc: ERCIN TORUN <ercin.torun@turkcell.com.tr>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000557b5e05887ae1bd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/8vSJPA634J0FZDVXOQ-1XLBhmoY>
Subject: Re: [Idr] update proposal to draft-ietf-idr-rfc5575bis-14
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: Thu, 09 May 2019 21:10:39 -0000

Hey Jakob,

I am assuming he is using MPLS fabric for a reason ... One most likely
reason could be L3VPN :) Otherwise what would be the point to use MPLS to
start with ? Basic hierarchical routing ? And even for L3VPN MPLS in
transport layer. It is also not needed for isolating underlay from overlay
tenants routes.

Regardless as you know RTs do apply for any SAFI not just 128.

The only point is sort of automation to router_id filtering ... I guess an
implementation can support it for any SAFI as well with an extra knob. That
would not be specific to flow-spec by just a vendor's local enhancement.

As you know FlowSpec's main role was to prevent DDoS. With that you never
know on which ASBR your distributed attacks arrive so pushing filters to
only subset of them is a questionable. If you have 10s or 100s of ASBRs you
would need now to apply long list of matching RTs.

The solution is not backwards compatible as current routers unless upgraded
with new knob would accept all filters anyway. I hope no one wants this to
be active by default as it would kill RFC5575 and turn FlowSpec to NetConf.

If you want to limit the filters only to ASBRs maybe some more generic RT
needs to be defined - say "apply only on EBGP speakers" ?

Overall abuse of FlowSpec seems to continue. P2MP distributed nature of BGP
propagation keeps being used as P2P config push protocol. I am just not
sure when such use cases will stop popping up left and right.

Best,
R.


On Thu, May 9, 2019 at 10:52 PM Jakob Heitz (jheitz) <jheitz@cisco.com>
wrote:

> Robert,
>
>
>
> Section 8 applies to VPNv4 flow spec.
>
>
>
> I see two differences in Ercin's proposal.
>
> First, it is for IP Flow Spec, rather than for VPN
>
> Second, the IPv4 address in the RT matches with the router-id.
>
> This avoids the requirement to allocate and manage another identifier to
> match the RT.
>
> that is an operational advantage.
>
>
>
> I support Ercin's proposal.
>
>
>
> Regards,
>
> Jakob.
>
>
>
> *From:* Idr <idr-bounces@ietf.org> *On Behalf Of * Robert Raszuk
> *Sent:* Thursday, May 9, 2019 9:38 AM
> *To:* ERCIN TORUN <ercin.torun@turkcell.com.tr>
> *Cc:* idr@ietf.org
> *Subject:* Re: [Idr] update proposal to draft-ietf-idr-rfc5575bis-14
>
>
>
> Hi Ercin,
>
>
>
> What you are asking/proposing has been standardized in the original
> RFC5575 already many years ago.
>
>
>
> Please see section 8 specifically this paragraph:
>
>
>
>    Propagation of this NLRI is controlled by matching Route Target
>
>    extended communities associated with the BGP path advertisement with
>
>    the VRF import policy, using the same mechanism as described in "BGP/
>
>    MPLS IP VPNs" [RFC4364 <https://tools.ietf.org/html/rfc4364>] ..
>
>
>
> Thx,
> Robert.
>
>
>
>
>
> On Thu, May 9, 2019 at 2:04 PM ERCIN TORUN <ercin.torun@turkcell.com.tr>
> wrote:
>
> Hello All,
>
>
>
> My name is Ercin TORUN <https://tr.linkedin.com/in/ercintorun> and I’m
> working in Turkcell Turkey (35M-mobile/2M-fixed customer, +digital
> services) as an IP/MPLS Network Planning Engineer.  I would like to propose
> an update to draft-ietf-idr-rfc5575bis-14
> <https://tools.ietf.org/html/draft-ietf-idr-rfc5575bis-14>.
>
>
>
> By default all flowspec entries (filters..) are applied to all routers,
> and unnecessary application of many filters can easily owerwhelm the
> capacity of routers resources (e.g. TCAM). We are pushing layer3 to the
> edges with solutions like seamless-mpls or leaf-spine next-generation DC
> topologies which widens the layer3 domain easily over thousands of devices.
> It is best to filter “dirty” traffic where it first enters a network. There
> are ways to accept BGP announcements only on the targeted router, like
> defining a community for each router and configuring policies, but an
> automated way would be much more easier and less error-prone. Our idea is
> using a route-taget to match with BGP Identifier so that only the targeted
> router might accept the announcement.
>
>
>
> All in all, I propose to add below text to draft-ietf-idr-rfc5575bis-14
> <https://tools.ietf.org/html/draft-ietf-idr-rfc5575bis-14>
>
>
>
> “   In a common use case, it is necessary to apply a filter to one or a
> few
>
>    routers and to apply many different filters to many different routers.
>
>    By default, all filters are applied to all routers. In this use case,
>
>    the unnecessary application of the many filters can easily overwhelm
>
>    the capacity of the routers. To simplify this use case,
>
>    route-targets may be used to apply the filters to only the needed
> routers:
>
>
>
>    If one or more IPv4-Address-Specific route-targets are present, then
>
>    the IPv4 address of at least one route-
>
>    target MUST match one of the BGP Identifiers of the receiver in order
>
>    for the update to be accepted.
>
> “
>
>
>
> Regards
>
> Erçin TORUN
>
>
>
> <http://turkcell.li/iyaani>
>
> Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi
> tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi
> icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin
> icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz
> kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir.
>
> TURKCELL bu mesajin icerdigi bilgilerin doğruluğu veya eksiksiz oldugu
> konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne
> sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve
> saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen
> kisiye aittir ve TURKCELLin goruslerini yansitmayabilir
>
> Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir.
> ------------------------------
>
> This e-mail and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If you are not the intended recipient you are hereby notified
> that any dissemination, forwarding, copying or use of any of the
> information is strictly prohibited, and the e-mail should immediately be
> deleted.
>
> TURKCELL makes no warranty as to the accuracy or completeness of any
> information contained in this message and hereby excludes any liability of
> any kind for the information contained therein or for the information
> transmission, reception, storage or use of such in any way whatsoever. The
> opinions expressed in this message belong to sender alone and may not
> necessarily reflect the opinions of TURKCELL..
>
> This e-mail has been scanned for all known computer viruses.
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>
>