Re: [Idr] AD Review of draft-ietf-idr-bgp-flowspec-oid-12

"Juan Alcaide (jalcaide)" <jalcaide@cisco.com> Wed, 24 February 2021 12:52 UTC

Return-Path: <jalcaide@cisco.com>
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 5F70D3A153E; Wed, 24 Feb 2021 04:52:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Y2Kci93F; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=QIeUNAXW
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 mcvhtEzQA-Xq; Wed, 24 Feb 2021 04:52:46 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A1BA3A153D; Wed, 24 Feb 2021 04:52:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=219336; q=dns/txt; s=iport; t=1614171166; x=1615380766; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=1mMhKM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received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Feb 2021 12:52:43 +0000
Received: from mail.cisco.com (xbe-aln-001.cisco.com [173.36.7.16]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 11OCqgZA031675 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 24 Feb 2021 12:52:42 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xbe-aln-001.cisco.com (173.36.7.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Wed, 24 Feb 2021 06:52:36 -0600
Received: from xfe-rcd-005.cisco.com (173.37.227.253) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 24 Feb 2021 07:52:26 -0500
Received: from NAM04-MW2-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-005.cisco.com (173.37.227.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3 via Frontend Transport; Wed, 24 Feb 2021 06:52:26 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SH2O/MBnh/SGqbTFf5k3eNZMItrZDNmVvD1QXEh01OEWtpN6+UWGLJThcBJP7kQ9XsJ2Tlbfr1jR0n3iPHdRNSIQMCHrsdpVIO05Skah5eYhVMLic3ikgg7D01BCvWwHkxo39A0FAceQpxRcYUpHyuF9eLvQme+OlLtI9EmnZzAeLuJHzO0A5MpQUHSuImHm7+iLQF3ugOuvJAwx3/Zj92A7p4BVN6L+aXzCbg+bm4Wnpd3oELZnS1RS/vKk5D5cMsKEP5Vx4PRM7s82EcqK90NwmWLGsVSBg7aVUGA8fD0Ys4HOwq9wm0QLtO8eeKWbX6LktWBQm/zTGp0C9x93xg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1mMhKMV0iNHWSdr6fjLCeE2evgwKfbww2MWVQdGlFPA=; b=gF/KZEsPDbAu6gWok3UUYhBj5eQ6DaLyYzQ42TIG8Z3NnRfaQu/ABKP6BkCXkNYbOr3EojCe/yifnjfaR+UAjFl3b+n7tIWy7pXbnmaa41KQ0C3vWxoHNG0fur/ja2f9e++DiTO6zCp1/oZmbBqGSsJF4r7fQf2XeNjKB40P4jDIzb6HsGBuZZ90zJGv9eueGHCvwcEJceDwIBHjGjW6KKbfRzQFlRmhpOxe3sooeoNJrYzHo4nQgG+xwelPyGmtYfliwjX7hl9mOH96tY09Gt0dXCQ+YLwt9mrqaqnVLVtJw3E9M8FXyhwapnZ8QzEPKRaHPPZLrYoQF3QILMoY4Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1mMhKMV0iNHWSdr6fjLCeE2evgwKfbww2MWVQdGlFPA=; b=QIeUNAXWnHpxDbzDqEUYBlB3IRb1azqvOFlzhNFEIwxNPeSim37Jik3xywqDBuLy0FC+9of7XXfan10hyi6hBz/HDGduGij85nuog1TYJTZ+yqw3Yo40AV5rk8nzGNUHnavHNGReYs81xUXy+m2ADxgDgnY/NQxeHCl4ZhKvP44=
Received: from SN6PR11MB3200.namprd11.prod.outlook.com (2603:10b6:805:ba::17) by SN6PR11MB2830.namprd11.prod.outlook.com (2603:10b6:805:57::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.29; Wed, 24 Feb 2021 12:52:24 +0000
Received: from SN6PR11MB3200.namprd11.prod.outlook.com ([fe80::15d7:671d:2e:bd97]) by SN6PR11MB3200.namprd11.prod.outlook.com ([fe80::15d7:671d:2e:bd97%7]) with mapi id 15.20.3868.033; Wed, 24 Feb 2021 12:52:24 +0000
From: "Juan Alcaide (jalcaide)" <jalcaide@cisco.com>
To: Alvaro Retana <aretana.ietf@gmail.com>, Susan Hares <shares@ndzh.com>, "draft-ietf-idr-bgp-flowspec-oid@ietf.org" <draft-ietf-idr-bgp-flowspec-oid@ietf.org>
CC: "idr-chairs@ietf.org" <idr-chairs@ietf.org>, IDR List <idr@ietf.org>
Thread-Topic: [Idr] AD Review of draft-ietf-idr-bgp-flowspec-oid-12
Thread-Index: AQHW9QDI2xQHpdk2Z0uhqDf2mVgKOao9DtUAgAurHfCAELXogIAN/Pdw
Date: Wed, 24 Feb 2021 12:52:24 +0000
Message-ID: <SN6PR11MB320012D1B66CF35D18DCB212CD9F9@SN6PR11MB3200.namprd11.prod.outlook.com>
References: <CAMMESsxqRWK2vDPyj-0_ruYoW7pkautFc09MoFBUTKxG23=tyA@mail.gmail.com> <000701d6f57c$6c20ff60$4462fe20$@ndzh.com> <DM6PR11MB319495819681585AA858E54BCDB29@DM6PR11MB3194.namprd11.prod.outlook.com> <CAMMESswvncvo68dYp95P+9gkgKgPpmgY3Yr-xC3=hdt-1YigYQ@mail.gmail.com>
In-Reply-To: <CAMMESswvncvo68dYp95P+9gkgKgPpmgY3Yr-xC3=hdt-1YigYQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [83.58.38.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 72cd07a6-6f83-4f5a-852f-08d8d8c30864
x-ms-traffictypediagnostic: SN6PR11MB2830:
x-microsoft-antispam-prvs: <SN6PR11MB28309F252CEB534C7057AE90CD9F9@SN6PR11MB2830.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: u5ngkDQFU/+iw6OO8UmKOx6Fku6C4QQFNx1g1rHneX3A7+HTzL3NJA8sqGlHMACJrapNQ9Mc5uPzdlzMU84oqM5W6dmZrUrB4mTogZzccGscQzTS5AFwSKz/M775I7iTi4Tw2yGTeqVYEPBWybpwkb4a/ynvkdQ9w0QdMyrjcSbngjsUqlYHEcsGC6PBilM4Jzf5+yD+ns0qC8YwytKKI0nrIK2eXtrDTyao0wl/7llPSO6b0IkbOl/7HA9P2lme5pNBIy/++gEXbR/YDH41I7+GI+M3qaLqj2tpyyhesi5W2ZHfq5dbhxvsl0GsDMuj7IWoQN95PCWLSsvN0oP8KHkiCf2wNVP/EOMLq8lbau1E9CDExwZfzOlLVaSosEm9gQoz5ouuA16V07+5Qeg4HWvN5+vSjETTjE2S6Y5mbjmnGEy7YgTxzPcl/mIeQSGQkxFjWc10RYoPAh5AVu9iD63EhavazpwVxw0AlB5HJXT/xIIp1Xanr5IHYZDv9yGFw+4umEprzWfbevvZImX2x51IAKtXic55/eSI006Dxy+pb8xer76DDUfz2ZOYJtZvFCWEeP8OYVriPQXPYh9lYwWeCo/WMfbui2DEEuZTs20=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3200.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(396003)(136003)(376002)(366004)(39860400002)(83380400001)(64756008)(9686003)(66556008)(66476007)(66946007)(7696005)(66574015)(6506007)(166002)(316002)(30864003)(52536014)(54906003)(478600001)(76116006)(966005)(66446008)(2906002)(110136005)(8676002)(186003)(8936002)(26005)(33656002)(5660300002)(86362001)(71200400001)(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wkd0wTJi6VgZrKl8/qRnF6qfXRBbjuWG8VoHD9KvlOfHcvgUoFZ3ZEM+wT6QPZSJ3DSI9h1k7AW9C+c0002H7pMXC6o9FrJ1jMh7TzpGTrnSp7urZAto5zmxWlwBDT4T3kxbVOU/8dxDvaznxazBYa0vMn/oR8WTdAjqvycttxvjEqcxn7aw5A+yg68hFgzcm6qanloXTocIRHzZTChUHEKpnZvLxibAKR8PhCDrOB9RFccbyQbXsOyQbflQWdHtkn7GBbZT/JUczno+DK4mObocCJ2XfRwE=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_SN6PR11MB320012D1B66CF35D18DCB212CD9F9SN6PR11MB3200namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3200.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 72cd07a6-6f83-4f5a-852f-08d8d8c30864
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2021 12:52:24.2923 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: D0Ka8iAWCdcTGl0RqTubRcbsNqKliRVEd4Rlt3cbLrM26aP0fFzIaeFYv4e+AmTykT2N3utB8rbUadnfuldmCA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2830
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xbe-aln-001.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/_UWIvWNKAdYzPIRswfb9lTAUcp4>
Subject: Re: [Idr] AD Review of draft-ietf-idr-bgp-flowspec-oid-12
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: Wed, 24 Feb 2021 12:52:52 -0000

We assumed it was understood, but it's always better to have a new set of eyes 😉



We did some rewording below. Tried to simplify the abstract and expand some explanation in introduction (simpler than in Motivation section)



Let us know if there is need for more rewording.







Network Working Group                                          J. Uttaro
Internet-Draft                                                      AT&T
Updates: 8955 (if approved)                                   J. Alcaide
Intended status: Standards Track                             C. Filsfils
Expires: August 28, 2021                                        D. Smith
                                                                   Cisco
                                                            P. Mohapatra
                                                        Sproute Networks
                                                       February 24, 2020


        Revised Validation Procedure for BGP Flow Specifications
                   draft-ietf-idr-bgp-flowspec-oid-12

Abstract

   This document describes a modification to the validation procedure
   defined for the dissemination of BGP Flow Specifications.  The
   dissemination of BGP Flow Specifications requires that the originator
   of the Flow Specification matches the originator of the best-match
   unicast route for the destination prefix embedded in the Flow
   Specification, typically an autonomous system border router.  The
   objective is to allow only BGP speakers within the data forwarding
   path to originate BGP Flow Specifications.  Sometimes it is desirable
   to originate the BGP Flow Specification any place within the
   autonomous system itself, for example, from a centralized BGP route
   controller.  However, the validation procedure will fail in this
   scenario.  The modification proposed herein relaxes the validation
   rule to enable Flow Specifications to be originated from a
   centralized BGP route controller.

   This document updates RFC8955.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."




Uttaro, et al.           Expires August 28, 2021                [Page 1]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   This Internet-Draft will expire on August 28, 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Requirements Language . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Motivation  . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Revised Validation Procedure  . . . . . . . . . . . . . . . .   6
     4.1.  Revision of Route Feasibility . . . . . . . . . . . . . .   6
     4.2.  Revision of AS_PATH Validation  . . . . . . . . . . . . .   7
   5.  Other RFC8955 Considerations  . . . . . . . . . . . . . . . .   8
   6.  Topology Considerations . . . . . . . . . . . . . . . . . . .   8
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  10
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  10
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  10
   10. Normative References  . . . . . . . . . . . . . . . . . . . .  10
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  11

1.  Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

2.  Introduction

   [RFC8955] defined a new BGP [RFC4271] capability that can be used to
   distribute traffic Flow Specifications amongst BGP speakers in
   support of traffic filtering.  The primary intention of [RFC8955] is
   to enable downstream autonomous systems to signal traffic filtering
   policies to upstream autonomous systems.  In this way, traffic is



Uttaro, et al.           Expires August 28, 2021                [Page 2]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   filtered closer to the source and the upstream autonomous system(s)
   avoid carrying the traffic to the downstream autonomous system only
   to be discarded.  [RFC8955] also enables more granular traffic
   filtering based upon upper layer protocol information (e.g., protocol
   port numbers) as opposed to coarse IP destination prefix-based
   filtering.  Flow specification NLRIs received from a BGP peer are
   subject to validity checks before being considered feasible and
   subsequently installed within the respective Adj-RIB-In.

   The validation procedure defined within [RFC8955] requires that the
   originator of the Flow Specification NLRI matches the originator of
   the best-match unicast route for the destination prefix embedded in
   the Flow Specification.  This allows only BGP speakers within the
   data forwarding path (such as autonomous system border routers) to
   originate BGP Flow Specification NLRIs.  Though it is possible to
   disseminate such Flow Specification NLRIs directly from border
   routers, it may be operationally cumbersome in an autonomous system
   with a large number of border routers having complex BGP policies.

   Figure 1 illustrates this principle.  R1 needs to validate the Flow
   Specification whose embedded destination prefix has a best-match
   unicast route (dest-route) originated by ASBR2.  ASBR2 could
   originate the Flow Specification, and then the validation procedure
   would pass.  Sometimes the Flow Specification needs to be originated
   on AS1.  ASBR1 could originate it, and validation procedure would
   still pass.  In both cases, the Flow Specification is originated by a
   router in the same forwarding path as the dest-route.  For the case
   where AS1 has thousands of ASBRs, it becomes impractical to originate
   different rules on each ASBR in AS1 based on which ASBR each dest-
   route is learned from.  The objective is to advertise all the Flow
   Specifications from the same route-controller.

           R1(AS1) --- RR(AS1) --- ASBR1(AS1) --- ASBR2(AS2)
                        |
                route-controller(AS1)

                                 Figure 1

   This document describes a modification to the [RFC8955] validation
   procedure allowing Flow Specification NLRIs to be originated from a
   centralized BGP route controller within the local autonomous system
   that is not in the data forwarding path.  While the proposed
   modification cannot be used for inter-domain coordination of traffic
   filtering, it greatly simplifies distribution of intra-domain traffic
   filtering policies within an autonomous system which has a large
   number of border routers having complex BGP policies.  By relaxing
   the validation procedure for iBGP, the proposed modification allows




Uttaro, et al.           Expires August 28, 2021                [Page 3]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   Flow Specifications to be distributed in a standard and scalable
   manner throughout an autonomous system.

3.  Motivation

   Step (b) of the validation procedure in [RFC8955], section 6 is
   defined with the underlying assumption that the Flow Specification
   NLRI traverses the same path, in the inter-domain and intra-domain
   route distribution graph, as that of the longest-match unicast route
   for the destination prefix embedded in the Flow Specification.

   In the case of inter-domain traffic filtering, the Flow Specification
   originator at the egress border routers of an AS (e.g.  RTR-D and
   RTR-E of ASN1 in figure 2) matches the eBGP neighbor that advertised
   the longest match destination prefix (see RTR-F and RTR-G
   respectively in figure 2).  Similarly, at the ingress border routers
   of ASN (see RTR-A and RTR-B of ASN1 in figure 2), the Flow
   Specification originator matches the egress iBGP border routers that
   had advertised the unicast route for the best-match destination
   prefix (see RTR-D and RTR-E respectively in figure 2).  This is true
   even when ingress border routers select paths from different egress
   border routers as best path based upon IGP distance.  For example, in
   figure 2:

      RTR-A chooses RTR-D's path as best

      RTR-B chooses RTR-E as the best path
























Uttaro, et al.           Expires August 28, 2021                [Page 4]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


                     / - - - - - - - - - - - - -  -
                     |           ASN1              |
                       +-------+        +-------+
                     | |       |        |       |  |
                       | RTR-A |        | RTR-B |
                     | |       |        |       |  |
                       +-------+        +-------+
                     |       \           /         |
                        iBGP  \         / iBGP
                     |         \       /           |
                               +-------+
                     |         |       |           |
                               | RTR-C |
                     |         |  RC   |           |
                               +-------+
                     |           /   \             |
                                /     \
                     |   iBGP  /       \ iBGP      |
                       +-------+        +-------+
                     | | RTR-D |        | RTR-E |  |
                       |       |        |       |
                     | |       |        |       |  |
                       +-------+        +-------+
                     |     |                 |     |
                      - - -|- - - - - - - - -|- - -/
                           | eBGP       eBGP |
                      - - -|- - - - - - - - -|- - -/
                     |     |                 |     |
                       +-------+        +-------+
                     | |       |        |       |  |
                       | RTR-F |        | RTR-G |
                     | |       |        |       |  |
                       +-------+        +-------+
                     |           ASN2              |
                     / - - - - - - - - - - - - -  -

                                 Figure 2

   It is highly desirable that the mechanisms exist to protect each ASN
   independently from network security attacks using the BGP Flow
   Specification NLRI for intra-domain purposes only.  Network operators
   often deploy a dedicated Security Operations Center (SOC) within
   their ASN to monitor and detect such security attacks.  To mitigate
   attacks within a domain (AS or group of ASes), operators require the
   ability to originate intra-domain Flow Specification NLRIs from a
   central BGP route controller that is not within the data forwarding
   plane.  In this way, operators can direct border routers within their




Uttaro, et al.           Expires August 28, 2021                [Page 5]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   ASN with specific attack mitigation actions (drop the traffic,
   forward to a clean-pipe center, etc.).

   To originate a Flow Specification NLRI, a central BGP route
   controller must set itself as the originator in the Flow
   Specification NLRI.  This is necessary given the route controller is
   originating the Flow Specification rather than reflecting it, and to
   avoid the complexity of having to determine the egress border router
   whose path was chosen as the best in each of the ingress border
   routers.  Thus, it is necessary to modify step (b) of the [RFC8955]
   validation procedure such that an iBGP peer that is not within the
   data forwarding plane may originate Flow Specification NLRIs.

4.  Revised Validation Procedure

4.1.  Revision of Route Feasibility

   Step (b) of the validation procedure specified in [RFC8955], section
   6 is redefined as follows:

   b) One of the following conditions MUST hold true:

      1.  The originator of the Flow Specification matches the
          originator of the best-match unicast route for the destination
          prefix embedded in the Flow Specification (This is the unicast
          route with the longest possible prefix length covering the
          destination prefix embedded in the Flow Specification).

      2.  The AS_PATH attribute of the Flow Specification does not
          contain AS_SET and/or AS_SEQUENCE segments.

          1.  This condition SHOULD be enabled by default.  This default
              behavior should validate an empty AS_PATH.

          2.  This condition MAY be disabled by configuration on a BGP
              speaker.

          3.  As an exception to this rule, a given AS_PATH with AS_SET
              and/or AS_SEQUENCE segments MAY be validated by policy.

   Explanation:

      In this context, an empty AS_PATH means that it does not have
      AS_SET and/or AS_SEQUENCE segments, and local domain means the
      local AS [RFC4271] or the local confederation of ASes (in the case
      that the local AS belongs to a confederation of ASes [RFC5065]).
      Thus, receiving a Flow Specification with an empty AS_PATH




Uttaro, et al.           Expires August 28, 2021                [Page 6]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


      indicates that the Flow Specification was originated inside the
      local domain.

      With the above modification to the [RFC8955] validation procedure,
      a BGP peer within the local domain that is not within the data
      forwarding path can originate a Flow Specification.

      Disabling the new condition above (b.2.2) may be a good practice
      when the operator knows with certainty that there is not a Flow
      Specification originated inside the local domain.

      Also, policy may be useful to validate a specific set of non-empty
      AS_PATHs (b.2.3).  For example, it could validate a Flow
      Specification whose AS_PATH contains only an AS_SEQUENCE with ASes
      that are all known to belong to the same administrative domain.

4.2.  Revision of AS_PATH Validation

   [RFC8955] states:

   o  BGP implementations MUST also enforce that the AS_PATH attribute
      of a route received via the External Border Gateway Protocol
      (eBGP) contains the neighboring AS in the left-most position of
      the AS_PATH attribute.

   This rule prevents the exchange of BGP Flow Specification NLRIs at
   Internet exchanges with BGP route servers.  Therefore, this document
   also redefines the [RFC8955] AS_PATH validation procedure referenced
   above as follows:

   o  BGP Flow Specification implementations MUST enforce that the AS in
      the left-most position of the AS_PATH attribute of a Flow
      Specification route received via the External Border Gateway
      Protocol (eBGP) matches the AS in the left-most position of the
      AS_PATH attribute of the best-match unicast route for the
      destination prefix embedded in the Flow Specification NLRI.

   Explanation:

      For clarity, the AS in the left-most position of the AS_PATH means
      the AS that was last added to the AS_SEQUENCE.

      This proposed modification enables the exchange of BGP Flow
      Specification NLRIs at Internet exchanges with BGP route servers
      while at the same time, for security reasons, prevents an eBGP
      peer from advertising an inter-domain Flow Specification for a
      destination prefix that it does not provide reachability
      information for.



Uttaro, et al.           Expires August 28, 2021                [Page 7]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


      Comparing only the last ASes added is sufficient for eBGP learned
      Flow Specification NLRIs.  Requiring a full AS_PATH match would
      limit origination of inter-domain Flow Specifications to the
      origin AS of the best-match unicast route for the destination
      prefix embedded in the Flow Specification only.  As such, a full
      AS_PATH validity check may prevent transit ASes from originating
      inter-domain Flow Specifications, which is not desirable.

      Redefinition of this AS_PATH validation rule for a Flow
      Specification does not mean that the original rule in [RFC8955]
      cannot be enforced as well.  Its enforcement remains optional per
      [RFC4271] section 6.3.  That is, we can enforce the first AS in
      the AS_PATH to be the same as the neighbor AS for any address-
      family route (including a Flow Specification).

      Using the new rule to validate a Flow Specification received from
      an Internal Border Gateway Protocol (iBGP) peer is out of the
      scope of this document.  Note that in most scenarios such
      validation would be redundant.

      Using the new rule to validate a Flow Specification route received
      from an External Border Gateway Protocol (eBGP) peer belonging to
      the same local domain (in the case that the local AS belongs to a
      confederation of ASes) is out of the scope of this document.  Note
      that although it's possible, its utility is dubious.

5.  Other RFC8955 Considerations

   This section clarifies some of the terminology and rules referenced
   in [RFC8955].  Namely:

   o  In the context of this document and [RFC8955], AS_PATH attribute
      is defined as the reconstructed AS path information (by combining
      AS_PATH and AS4_PATH attributes, if the BGP speaker is a NEW
      speaker and receives the route from an OLD speaker), according to
      section 4.2.3 of [RFC6793].

   o  Support for two-octet AS only implementations is out of the scope
      of this document (i.e. it's assumed that the BGP speaker supports
      [RFC6793]).

6.  Topology Considerations

   [RFC8955] indicates that the originator may refer to the originator
   path attribute (ORIGINATOR_ID) or (if the attribute is not present)
   the transport address of the peer from which we received the update.
   If the latter applies, a network should be designed so it has a
   congruent topology.



Uttaro, et al.           Expires August 28, 2021                [Page 8]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   With the additional second condition (b.2) in the validation
   procedure, non-congruent topologies are supported within the local
   domain if the Flow Specification is originated within the local
   domain.

   Explanation:

      Consider the following scenarios without the second condition
      (b.2) being added to the validation procedure:

      1.  Consider a topology with two BGP speakers with two peering
          sessions between them, one for unicast and one for Flow
          Specification.  This is a non-congruent topology.  Let's
          assume that the ORIGINATOR_ID attribute was not received (e.g.
          a route reflector receiving routes from its clients).  In this
          case, the Flow Specification validation procedure will fail
          because of the first condition (b.1).

     2.  Consider a topology with a BGP speaker within a confederation
          of ASes, inside local AS X.  ORIGINATOR_ID attribute is not
          advertised within the local domain.  Let's assume the Flow
          Specification route is received from peer A and the best-match
          unicast route is received from peer B.  Both peers belong in
          local AS Y.  Both AS X and AS Y belong to the same local
          domain.  The Flow Specification validation procedure will also
          fail because of the first condition (b.1).

      In the examples above, if Flow Specifications are originated in
      the same local domain, AS_PATH will not contain AS_SET and/or
      AS_SEQUENCE segments.  When the second condition (b.2) in the
      validation procedure is used, the validation procedure will pass.
      Thus, non-congruent topologies are supported if the Flow
      Specification is originated in the same local domain.

      Even when the second condition (b.2) is used in the validation
      procedure, a Flow Specification originated in a different local
      domain needs a congruent topology.  AS_SEQUENCE is not empty and
      the first condition (b.1) in the validation procedure needs to be
      evaluated.  Because transport addresses for Flow Specification and
      unicast routes are different, the validation procedure will fail.
      This is true both across domains and within domains.  Consider
      both cases:

      *  Consider the first example.  If the Flow Specification route is
         originated in another AS, the validation procedure will fail
         because the topology is non-congruent within the domain.





Uttaro, et al.           Expires August 28, 2021                [Page 9]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


      *  Consider the second example and modify it so AS X and AS Y
         belong to different local domains (no confederation of ASes
         exists).  The validation procedure will fail because the
         topology is non-congruent across domains.

7.  IANA Considerations

   This memo includes no request to IANA.

8.  Security Considerations

   No new security issues are introduced by relaxing the validation
   procedure for IBGP learned Flow Specifications.  With this proposal,
   the security characteristics of BGP Flow Specifications remain
   equivalent to the existing security properties of BGP unicast
   routing.

   BGP updates learned from iBGP peers are trusted so the Traffic Flow
   Specifications contained in BGP updates are trusted.  Therefore it is
   not required to validate that the originator of an intra-domain
   Traffic Flow Specification matches the originator of the best-match
   unicast route for the flow destination prefix.  This proposal
   continues to enforce the validation Procedure for eBGP learned
   Traffic Flow Specifications, as per [RFC8955] rules.  In this way,
   the security properties of [RFC8955] are maintained such that an EBGP
   peer cannot cause a denial-of-service attack by advertising an inter-
   domain Flow Specification for a destination prefix that it does not
   provide reachability information for.

9.  Acknowledgements

   The authors would like to thank Han Nguyen for his direction on this
   work as well as Waqas Alam, Keyur Patel, Robert Raszuk, Eric Rosen
   and Shyam Sethuram for their review comments.

10.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <https://www.rfc-editor.org/info/rfc2119>.

   [RFC4271]  Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A
              Border Gateway Protocol 4 (BGP-4)", RFC 4271,
              DOI 10.17487/RFC4271, January 2006,
              <https://www.rfc-editor.org/info/rfc4271>.





Uttaro, et al.           Expires August 28, 2021               [Page 10]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   [RFC5065]  Traina, P., McPherson, D., and J. Scudder, "Autonomous
              System Confederations for BGP", RFC 5065,
              DOI 10.17487/RFC5065, August 2007,
              <https://www.rfc-editor.org/info/rfc5065>.

   [RFC6793]  Vohra, Q. and E. Chen, "BGP Support for Four-Octet
              Autonomous System (AS) Number Space", RFC 6793,
              DOI 10.17487/RFC6793, December 2012,
              <https://www.rfc-editor.org/info/rfc6793>.

   [RFC8174]  Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
              2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
              May 2017, <https://www.rfc-editor.org/info/rfc8174>.

   [RFC8955]  Loibl, C., Hares, S., Raszuk, R., McPherson, D., and M.
              Bacher, "Dissemination of Flow Specification Rules",
              RFC 8955, DOI 10.17487/RFC8955, December 2020,
              <https://www.rfc-editor.org/info/rfc8955>.

Authors' Addresses

   James Uttaro
   AT&T
   200 S. Laurel Ave
   Middletown, NJ  07748
   USA

   Email: ju1738@att.com<mailto:ju1738@att.com>


   Juan Alcaide
   Cisco
   7100 Kit Creek Road
   Research Triangle Park, NC  27709
   USA

   Email: jalcaide@cisco.com<mailto:jalcaide@cisco.com>


   Clarence Filsfils
   Cisco

   Email: cf@cisco.com<mailto:cf@cisco.com>








Uttaro, et al.           Expires August 28, 2021               [Page 11]

Internet-Draft    Revised Flowspec Validation Procedure    February 2020


   David Smith
   Cisco
   111 Wood Ave South
   Iselin, NJ  08830
   USA

   Email: djsmith@cisco.com<mailto:djsmith@cisco.com>


   Pradosh Mohapatra
   Sproute Networks

   Email: mpradosh@yahoo.com<mailto:mpradosh@yahoo.com>






































Uttaro, et al.           Expires August 28, 2021               [Page 12]