Re: [sidr] wglc for draft-ietf-sidr-bgpsec-protocol-11

David Mandelberg <david@mandelberg.org> Tue, 17 February 2015 23:40 UTC

Return-Path: <david@mandelberg.org>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24B851A895D for <sidr@ietfa.amsl.com>; Tue, 17 Feb 2015 15:40:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 lgCByHsuWe4r for <sidr@ietfa.amsl.com>; Tue, 17 Feb 2015 15:40:16 -0800 (PST)
Received: from nm22-vm6.access.bullet.mail.gq1.yahoo.com (nm22-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F24661A8946 for <sidr@ietf.org>; Tue, 17 Feb 2015 15:40:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1424216415; bh=gaVO9KJLVbdopM9mnvdfnRFOcAPuId06cCb/IqVBPhY=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=Z52Uxs4KvUvEOtEgW8Weo3EYjJu+aOpe/7ojFneMNrDPVjsSGo9l5xMKwQoGws65dYejukLlNduFffFfrlrdKi0KZlP98GPDsPGrzl1MciPy0jGqDSGdTABh33DgnA3y91VocJklr3EvdWzVIwGZwql/l5OKAsj7NzbXiY0CXYyE31F14sTqdy99x4tD0k9kkLFAbfcjMhltKXx/ZJJ0A/81X1EjaQuMb8TUlbhr2mYnaRxoT9cdy21Pu8+i9pS4qbnTplWV0p3WusI8dHlfb7m7QrlfC6t4JYC0AVERco+YZ7LkkKdQZF+b0qcHKjK1wOHuWMP2cKpJGj34kohrPA==
Received: from [216.39.60.173] by nm22.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 Feb 2015 23:40:15 -0000
Received: from [98.138.226.244] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 Feb 2015 23:40:15 -0000
Received: from [127.0.0.1] by smtp115.sbc.mail.ne1.yahoo.com with NNFMP; 17 Feb 2015 23:40:15 -0000
X-Yahoo-Newman-Id: 548592.58966.bm@smtp115.sbc.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: ZfBcFlQVM1m4cfPf7KXhM4GIy7QajAyTSZf6UTE8P_2Znnl dVDc6wVTGQN3fybSC7jW4jVHml.NMDBS.vht7OyheilI8qgJF1ddJvrziEAn UMbDNHJb93mHDDtU15AvOZIgp0M.1CV5o92HyjAT4TyJur2YM_O3EqDUwXEx TjC501pnQU5xWWsNcb5gd4ZwCjWT4EREM42vGyORmMHuv6yHJuFxcSPNO0zE nsUzDkpzRMHIfI18h6pO2sXwPuurG1bIEprWnB1XZntRARxF2.b5IJgCyvlC WPv_aA.C8GlZ8a8e.nr0s22QKSZxLwnEYfJxy9ZqkPceTioyV8b_vbQsIN.U KjXqxb344SOx0kCv7OPxuTP4Y7xrvfHrKWTII.pKtpWsjqNo9HAyPTK5lyGQ MQdzCyJM1YKc18KBH09NoZLh_gW0kYQQx4iMEEb1PepCndJ9VzANrydpvDuH 30bkrkqYG0Xv82PevXuA3rNNjKn1Qq4GbgUQbVY1dZ3gIKZvgmOcJuT1X1Km ztcUkfDGmIk86N1nd21MkL_nN.zv7O0PgHNY5xt0N2hZL5cJkp5HdY8YVAZN jJ2oCWDIUNIhxOgX9SChIMBAljW9HNI_s4.imZ2rc8ZulwWwtZd_X4lQfTh6 QYetYnKDQWE68w1EU1iuiDRzxKDg3OwvEzBAZ8S_eR_yG1DONXeb80VVcDba okNzLBx4-
X-Yahoo-SMTP: 4kJJK.qswBDPuwyc5wW.BPAQqNXdy5j09UNyeAS0pyOQ708-
Received: from [192.168.1.12] (c-76-24-31-176.hsd1.ma.comcast.net [76.24.31.176]) by uriel.mandelberg.org (Postfix) with ESMTPSA id 3F9231C609A for <sidr@ietf.org>; Tue, 17 Feb 2015 18:40:14 -0500 (EST)
Message-ID: <54E3D163.1040600@mandelberg.org>
Date: Tue, 17 Feb 2015 18:40:19 -0500
From: David Mandelberg <david@mandelberg.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: sidr@ietf.org
References: <54DA7C98.4040604@mandelberg.org> <D103DE3D.1041C%keyupate@cisco.com> <D104DC36.3310E%dougm@nist.gov>, <m2wq3klab3.wl%randy@psg.com> <1423943624118.34986@nist.gov>
In-Reply-To: <1423943624118.34986@nist.gov>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="mT0OQP9C6GPRWCRt6f8mJui0otAA235Ki"
Archived-At: <http://mailarchive.ietf.org/arch/msg/sidr/XQ3VEIGVzEIWv6tddyTXV6eVSCc>
Subject: Re: [sidr] wglc for draft-ietf-sidr-bgpsec-protocol-11
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 17 Feb 2015 23:40:21 -0000

On 02/14/2015 02:53 PM, Sriram, Kotikalapudi wrote:
> I agree that the solution should not merely rely on the presence of a validating ROA.
> But there is some more detail here that is worth looking into. The path was fully signed 
> and assume all signatures are valid. Then clearly the origin AS actually announced it.
> The question or ambiguity is: Did the origin AS announce 1.2.0.0/16 (v4) or 102::/16 (v6)?
> The ROA has AFI information, but the signed update does not (currently).
>  https://tools.ietf.org/html/rfc6482#section-3.3   
>     “Within the ROAIPAddressFamily structure, addressFamily contains the
>     Address Family Identifier (AFI) of an IP address family.  This
>     specification only supports IPv4 and IPv6.  Therefore, addressFamily
>     MUST be either 0001 or 0002.” 
> 
> Hence, as Keyur has surmised, there is a possibility that the ROA can help resolve the ambiguity here.
> But the ambiguity would still persist if the same origin AS happens to have ROA(s) for 
> both prefixes 1.2.0.0/16 (v4) and 102::/16 (v6)  (though the probability is extremely small).
> So, yes, a robust solution calls for something more than a validating ROA.
> The ambiguity goes away if the AFI (of the announced prefix) is included by the origin AS 
> on the wire as well as in the sequence of octets that are signed.

When there's no attack, I don't think there's any ambiguity about what
NLRI is being announced or withdrawn. RFC4760 seems to include (S)AFIs
in the right places on the wire. The only change that I think needs to
happen for this issue is including (S)AFIs in the data that's signed.

-- 
David Eric Mandelberg / dseomn
http://david.mandelberg.org/