Re: [sidr] WGLC: draft-ietf-sidr-bgpsec-reqs

Danny McPherson <danny@tcb.net> Thu, 03 November 2011 01:33 UTC

Return-Path: <danny@tcb.net>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D24711E8104 for <sidr@ietfa.amsl.com>; Wed, 2 Nov 2011 18:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.356
X-Spam-Level:
X-Spam-Status: No, score=-102.356 tagged_above=-999 required=5 tests=[AWL=0.016, BAYES_00=-2.599, SARE_SUB_OBFU_Q1=0.227, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pIg2uMf+5E6C for <sidr@ietfa.amsl.com>; Wed, 2 Nov 2011 18:32:52 -0700 (PDT)
Received: from dog.tcb.net (dog.tcb.net [64.78.150.133]) by ietfa.amsl.com (Postfix) with ESMTP id 70DB811E80BB for <sidr@ietf.org>; Wed, 2 Nov 2011 18:32:52 -0700 (PDT)
Received: by dog.tcb.net (Postfix, from userid 0) id 29389268063; Wed, 2 Nov 2011 19:32:52 -0600 (MDT)
Received: from dul1dmcphers-m1.home (pool-98-118-240-226.clppva.fios.verizon.net [98.118.240.226]) (authenticated-user smtp) (TLSv1/SSLv3 AES128-SHA 128/128) by dog.tcb.net with SMTP; Wed, 02 Nov 2011 19:32:51 -0600 (MDT) (envelope-from danny@tcb.net)
X-Avenger: version=0.7.8; receiver=dog.tcb.net; client-ip=98.118.240.226; client-port=57394; syn-fingerprint=65535:48:1:64:M1460,N,W3,N,N,T,S MacOS 10.4.8; data-bytes=0
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Danny McPherson <danny@tcb.net>
In-Reply-To: <p06240808cad5c4d268eb@[193.0.26.186]>
Date: Wed, 02 Nov 2011 21:32:36 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <0364A2AA-0CCF-408A-B5CB-42D7AFCAFB36@tcb.net>
References: <CAL9jLaa+L-C7+Gp54BpM8FjAj+EFMabwQB9SsPW0N4QnFEfVGw@mail.gmail.com> <4297E946-980B-43C5-A01F-1F49706BC51E@tcb.net> <p06240808cad5c4d268eb@[193.0.26.186]>
To: Stephen Kent <kent@bbn.com>
X-Mailer: Apple Mail (2.1084)
Cc: sidr wg list <sidr@ietf.org>
Subject: Re: [sidr] WGLC: draft-ietf-sidr-bgpsec-reqs
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sidr>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Nov 2011 01:33:02 -0000

On Nov 2, 2011, at 11:04 AM, Stephen Kent wrote:
> The focus of BGPSEC is eBGP, because the concern is verifying the
> authenticity of routes arriving from other ASes. The hard problems arise
> for eBGP because these routes are delivered via BGP speakers in different
> "trust domains."  iBGP integrity and authenticity can be achieved via internal security procedures and thus is not a focus of BGPSEC.

But given that these attributes and the threat model include internal BGP 
speakers and the largest scale issues (e.g., route reflectors with 5 millions 
paths _today), we can't simply expect that it's out of scope.

> I replied to the ORIGIN attribute question in my other message.
> 
> NLRI and AS_PATH are the attributes being protected both because they represent the fundamental routing data elements, and because they are attested to in the RPKI. Using the RPKI we can determine whether the origin AS is authorized to originate a route for the NLRI. We can verify whether a BGP speaker representing each AS in the AS_PATH is the entity that signed the data carried as part of an Update. We don't have analogous, authoritative data about MPLS, for example, so we can't provide the same sort of security guarantees. If the community identifies data carried in Updates that it believes should be protected, and
> we can agree on security semantics that are enforceable relative to the BGPSEC architecture, then we could expand protection, perhaps in a v2 of the protocol.

But if we add considerable overhead (orders of magnitude from where we
are today) to deploy BGPSEC and only focus on a subset of the Path 
Attribute (i.e., AS_PATH  only) integrity functions then the ORIGIN code 
Path Attribute (and also many others) can still be manipulated to change 
BGP decision algorithms and induce traffic attraction attacks, then perhaps
we need to challenge the assumptions that led to scoping a solution to 
AS_PATH and NLRI in the first place, as I really haven't seen a consensus 
call on this in the WG either?

I think I constitute a participant in "the community" here -- or are we all 
expected to accept this large set of documents and assumptions as gospel  
and use the SIDR WG as a publication house for work done outside of the 
IETF?  I'd be less uncomfortable if the aim was to publish this set of 
documents as Experimental until they generate some critical deployment 
mass, and the broader community refines based upon operational experience 
until then, which is something that I'm becoming more amenable to, but to 
dictate as "the solution" for secure routing with some many outstanding issues
concerns me.

> Beacon frequency affects how responsive BGPSEC is relative to one set of attacks. A more accurate statement is that the beacon parameters that the BGPSEC design is likely to use will induce significant latency detecting those attacks. Reducing the latency  would require more frequent beaconing, and that is viewed as an unacceptable tradeoff, at lest for now. The residual vulnerability due to beacon latency relates to the ability of an AS that was authorized to advertise a route, to replay the advertisement, even when it is not currently authorized to do so. This vulnerability should be viewed in the context of the inability of a BGP speaker to know whether a neighbor has failed to withdraw a route, when it has no paths for the prefix in question. An AS cannot, in general, know whether the only route for a given prefix has been withdrawn at some point upstream. This the BGP design and operational model embodies this vulnerability.

And to challenges assumptions, why is beaconing or the current mechanisms 
proposed in BGPSEC the right approach -- surely it's something more than "because
we bolted a PKI on to a distributed protocol and this is how it's got to work?    If that's
the case, this becomes a prime example of precisely why we don't want to bolt 
security on after the fact, particularly in the case of distributed systems and protocols, 
and if we're working on 8-10 year out solutions, I'd like to think we can do better than 
this.

More specifically, if I have perform a cost/benefit analysis it's not at all clear to me 
that tightening exposure windows to the frequency (hours/days) you're suggesting 
is worth the investment and fundamental shift from the stateful BGP model we know 
today, particularly given the drive-by and targeted nature we see in all other aspects 
of security today (e.g., APT, phishing, etc..).  

-danny