Re: [sidr] Route Leaks and BGP Security

Christopher Morrow <morrowc.lists@gmail.com> Mon, 21 November 2011 06:06 UTC

Return-Path: <christopher.morrow@gmail.com>
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 721C821F86F6 for <sidr@ietfa.amsl.com>; Sun, 20 Nov 2011 22:06:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.557
X-Spam-Level:
X-Spam-Status: No, score=-103.557 tagged_above=-999 required=5 tests=[AWL=0.042, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, 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 IHQKv32e2MVP for <sidr@ietfa.amsl.com>; Sun, 20 Nov 2011 22:06:11 -0800 (PST)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id C84C721F86AA for <sidr@ietf.org>; Sun, 20 Nov 2011 22:06:11 -0800 (PST)
Received: by ghrr14 with SMTP id r14so2931945ghr.31 for <sidr@ietf.org>; Sun, 20 Nov 2011 22:06:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WOkIlM0cAO+37vCgX1+qB08rGUUQkuc1xB4GkComt/c=; b=jchzk3HvYxVjglykVreoETLmZ+0bRI4flT+QUAb1f2aYYHJBr7/1NP/hSw258EJdwz R00U1xKZzU3LtqMma/ramFRyvAmGYFI+Eamy/0UrhCzkjphSSveHCUWVHsVdQh1YpXQo zfuUHcTMYi02Amn8itcN5I5WWFfu76TNFvUiU=
MIME-Version: 1.0
Received: by 10.50.88.199 with SMTP id bi7mr13139510igb.45.1321855571013; Sun, 20 Nov 2011 22:06:11 -0800 (PST)
Sender: christopher.morrow@gmail.com
Received: by 10.231.202.142 with HTTP; Sun, 20 Nov 2011 22:06:10 -0800 (PST)
In-Reply-To: <7309FCBCAE981B43ABBE69B31C8D21391A4704525E@EUSAACMS0701.eamcs.ericsson.se>
References: <20111117040124.18551.47190.idtracker@ietfa.amsl.com> <0863194F-7564-40A9-BB73-ABF8BB97C3AB@tcb.net> <7309FCBCAE981B43ABBE69B31C8D21391A4704525E@EUSAACMS0701.eamcs.ericsson.se>
Date: Mon, 21 Nov 2011 01:06:10 -0500
X-Google-Sender-Auth: VM807RuXmr7HzhJOyi9Zw40jt_o
Message-ID: <CAL9jLabbHVauBYUkXCxdpWW90Vt+fMRzATr-aOrdU912ibxJeQ@mail.gmail.com>
From: Christopher Morrow <morrowc.lists@gmail.com>
To: Jakob Heitz <jakob.heitz@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: sidr wg list <sidr@ietf.org>
Subject: Re: [sidr] Route Leaks and BGP Security
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: Mon, 21 Nov 2011 06:06:12 -0000

On Mon, Nov 21, 2011 at 12:40 AM, Jakob Heitz <jakob.heitz@ericsson.com> wrote:
> To make the route leak problem tractable, we need a definition.
> Here is my attempt:
>

danny's draft actually does a decent job of saying what a leak is (one
instance of a leak at least, which is fine), it just doesn't say how
you'd know that from 2 as-hops away... (today, with out bgp changes
and/or external knowledge about the ASes in the AS-Path)

<snip>

> When S sends a packet to D, that packet should traverse
> only ASs that S trusts OR that D trusts. If the packet
> traverses an AS that NEITHER S NOR D trusts, then a route
> leak has occurred.

how is this 'trust' known? how does it translate down the chain? I
don't trust AS9001 anymore than 4134 than 4366 than 3 ... I do happen
to fling packets through them though :(

> When a route announcement leaves the set of ASs trusted
> by its originator, Brian's "transit" bit turns off.

I doubt the originator trusts anyone except itself... and MAYBE it's transits.

why mix two topics? :( (also, how does the route know it crossed this
boundary and a bit needs flipping?)

-chris