Re: [bess] Mirja Kühlewind's No Objection on draft-ietf-bess-evpn-df-election-framework-07: (with COMMENT)

"Luc Andre Burdet (lburdet)" <lburdet@cisco.com> Tue, 15 January 2019 16:29 UTC

Return-Path: <lburdet@cisco.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 510F7130E7B; Tue, 15 Jan 2019 08:29:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -19.054
X-Spam-Level:
X-Spam-Status: No, score=-19.054 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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
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 N-jIatpeoExA; Tue, 15 Jan 2019 08:29:05 -0800 (PST)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09C12130E6B; Tue, 15 Jan 2019 08:29:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8006; q=dns/txt; s=iport; t=1547569745; x=1548779345; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=BwS+3gG3feywW1xfGt9Uv2HSBBThlatTBxawGKDDGvo=; b=QVXN+mid+EqrqsSndrOwm1DMrChEE6K/URcc6eJyQmZU/VTah/1e9F9Y 9cmCIuUj6pDM6Z2m63XhZMLPRR3chZbT/wjMoNsHtwBh59fpDwLKtNv2U NTxoNAXa/Fyt3uTFuh/TIm8zvtUOlExWFCuL+6TpmhG/dF26Zdznz6RGq Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAABLCT5c/5tdJa1gAxkBAQEBAQEBAQEBAQEHAQEBAQEBgVEEAQEBAQELAYIDZoECJwqDd4gai3KBaCV8lwAUgWcLAQEYDQeEQAIXgisiNAkNAQMBAQIBAQJtHAyFSgEBAQMBAQEhETIICwwEAgEIEQMBAgMCHwcCAgIlCxUFAwgCBA4FFIMOAYF5CA+sdYEvhEJAhS6BC4hsgkgXgUA/gREnDBOCFzWDHgEBAQIBgSoBEgEfFwomgkIxgiYCiVyBepYvCQKHHoptGIFkTYRZinaCRYxEi0ACERSBJx84ZVgRCHAVOyoBgkEJgiMSE4M4hRSFP3IBgSeHQ4EfAYEeAQE
X-IronPort-AV: E=Sophos;i="5.56,481,1539648000"; d="scan'208";a="226339389"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2019 16:29:03 +0000
Received: from XCH-ALN-009.cisco.com (xch-aln-009.cisco.com [173.36.7.19]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x0FGT3Br013958 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 15 Jan 2019 16:29:03 GMT
Received: from xch-aln-010.cisco.com (173.36.7.20) by XCH-ALN-009.cisco.com (173.36.7.19) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 15 Jan 2019 10:29:02 -0600
Received: from xch-aln-010.cisco.com ([173.36.7.20]) by XCH-ALN-010.cisco.com ([173.36.7.20]) with mapi id 15.00.1395.000; Tue, 15 Jan 2019 10:29:03 -0600
From: "Luc Andre Burdet (lburdet)" <lburdet@cisco.com>
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
CC: Stephane Litkowski <stephane.litkowski@orange.com>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, The IESG <iesg@ietf.org>, "bess@ietf.org" <bess@ietf.org>, "draft-ietf-bess-evpn-df-election-framework@ietf.org" <draft-ietf-bess-evpn-df-election-framework@ietf.org>
Thread-Topic: [bess] Mirja Kühlewind's No Objection on draft-ietf-bess-evpn-df-election-framework-07: (with COMMENT)
Thread-Index: AQHUrOoGTiApvvdf8kC0pm6deSxZE6Ww4FYA//+1c4A=
Date: Tue, 15 Jan 2019 16:29:03 +0000
Message-ID: <2E5E9EEA-652C-44DE-8357-3AEA7C4045E6@cisco.com>
References: <154711897687.30744.6994568426872803131.idtracker@ietfa.amsl.com> <9E27CDD8-B8F8-4B81-8FA5-430C7D874CF7@nokia.com> <47819DA3-C02C-42E0-A796-FCA962D026B8@kuehlewind.net>
In-Reply-To: <47819DA3-C02C-42E0-A796-FCA962D026B8@kuehlewind.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.5.181209
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [161.44.212.61]
Content-Type: text/plain; charset="utf-8"
Content-ID: <A86F3B1617B1CC48A7A72B8537DB7473@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.36.7.19, xch-aln-009.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/s5DpKQb6aXXo3IkmK7xQ6KF1Tqc>
Subject: Re: [bess] Mirja Kühlewind's No Objection on draft-ietf-bess-evpn-df-election-framework-07: (with COMMENT)
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2019 16:29:09 -0000

That's an interesting point Mirja.

A rogue PE/agent could foreseeably inject via BGP an ES Route Type 4 with no DF Alg extended community and "bring down" a peering group to the default DF election (common denominator). Repetitive inject-delete could cause considerable churn and disruption as the target peers repetitively accept, and remove this rogue PE/nexthop from the forwarding determination and flip-flop DF Alg.

The only way to prevent this, would be for the "federation of peers" to (independently) come to a unanimous conclusion to accept, or reject, this new peer into their peering group (based on.. peer's reputation? Or?) In the end, however, ...this also applies to 7432 as-is with default algorithm.
The net effect of such an attack would be no different than RFC7432 where a rogue PE injecting/deleting itself (its nexthop) from the DF election is causing churn and disruption.

The other attack vector is not new to this draft, but from 7432. A rogue PE with knowledge of the {VLAN/VPN, ESI and peers-list} can conceivably advertise in BGP the correct IP/nexthop value, leveraging the default DF Alg to steer/attract VPN traffic towards himself. But this is a 7432 attack vector, not new/introduced by this draft.

I think if the draft reflects similar to 7432 (peers must be consistently configured), then parallels to the security aspect of 7432 are sufficient?

Thanks,

Luc André Burdet
lburdet@cisco.com
Tel: +1 613 254 4814
Cisco Systems Canada Co. / Les Systemes Cisco Canada CIE
Cisco.com <http://www.cisco.com/web/CA/>
 

On 2019-01-15, 10:57, "BESS on behalf of Mirja Kuehlewind (IETF)" <bess-bounces@ietf.org on behalf of ietf@kuehlewind.net> wrote:

    Hi Jorge,
    
    thanks! I guess the security consideration could say even more, e.g. that this behavior could be exploited by an attack that relies on the default mechanism. And is there anyway to hinder this attack? That should be discussed as well.
    
    Mirja
    
     
    
    > Am 15.01.2019 um 16:49 schrieb Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>:
    > 
    > Mirja,
    > 
    > Thank you very much for reviewing.
    > Please see in-line with [JORGE].
    > Thx
    > Jorge
    > 
    > -----Original Message-----
    > From: Mirja Kühlewind <ietf@kuehlewind.net>
    > Date: Thursday, January 10, 2019 at 12:16 PM
    > To: The IESG <iesg@ietf.org>
    > Cc: "draft-ietf-bess-evpn-df-election-framework@ietf.org" <draft-ietf-bess-evpn-df-election-framework@ietf.org>, Stephane Litkowski <stephane.litkowski@orange.com>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>, "bess@ietf.org" <bess@ietf.org>
    > Subject: Mirja Kühlewind's No Objection on draft-ietf-bess-evpn-df-election-framework-07: (with COMMENT)
    > Resent-From: <alias-bounces@ietf.org>
    > Resent-To: <jorge.rabadan@nokia.com>, <satyamoh@cisco.com>, <sajassi@cisco.com>, <jdrake@juniper.net>, <kiran.nagaraj@nokia.com>, <senthil.sathappan@nokia.com>
    > Resent-Date: Thursday, January 10, 2019 at 12:16 PM
    > 
    >    Mirja Kühlewind has entered the following ballot position for
    >    draft-ietf-bess-evpn-df-election-framework-07: No Objection
    > 
    >    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/iesg/statement/discuss-criteria.html
    >    for more information about IESG DISCUSS and COMMENT positions.
    > 
    > 
    >    The document, along with other ballot positions, can be found here:
    >    https://datatracker.ietf.org/doc/draft-ietf-bess-evpn-df-election-framework/
    > 
    > 
    > 
    >    ----------------------------------------------------------------------
    >    COMMENT:
    >    ----------------------------------------------------------------------
    > 
    >    First one minor editorial comment:
    >    Sec 3.2 "Otherwise if even a single advertisement for the type-4 route is
    >           not received with the locally configured DF Alg and capability,
    >           the Default DF Election algorithm (modulus) algorithm MUST be
    >           used as in [RFC7432]."
    >    I believe you meant a single advertisement is received without the configured
    >    DF Alg and capability (or a different one I guess), and not that the
    >    advertisement is not received at all (because that might be hard to check),
    >    right? Maybe you can rephrase this sentence a bit to make the intention more
    >    clear!
    > [JORGE] we changed it to the following:
    > " - Otherwise if even a single advertisement for the type-4 route is received without the locally configured DF Alg and capability, the Default DF Election..."
    > 
    >    However, think about this further, I wondering if there is something here that
    >    such be discussed in the security considerations, e.g. how easy would it be for
    >    an attacker to disturb the algo selection and cause a fallback to the default
    >    scheme...?
    > [JORGE] yep, good point. We added this in the security section, also based on the comments from another reviewer:
    > "Note that the network will not benefit of the new procedures if the DF Election Alg is not consistently configured on all the PEs in the ES (if there is no unanimity among all the PEs, the DF Election Alg falls back to the Default [RFC7432] DF Election)."
    > 
    > 
    > 
    > 
    > 
    > 
    
    _______________________________________________
    BESS mailing list
    BESS@ietf.org
    https://www.ietf.org/mailman/listinfo/bess