Re: [sidr] draft-ietf-sidr-repos-struct to Standards Track

Andrew Chi <achi@bbn.com> Thu, 21 July 2011 14:25 UTC

Return-Path: <achi@bbn.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 B553021F8A67 for <sidr@ietfa.amsl.com>; Thu, 21 Jul 2011 07:25:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PMjhoxko1wsR for <sidr@ietfa.amsl.com>; Thu, 21 Jul 2011 07:25:39 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by ietfa.amsl.com (Postfix) with ESMTP id 9BAD521F8A55 for <sidr@ietf.org>; Thu, 21 Jul 2011 07:25:39 -0700 (PDT)
Received: from dhcp89-089-139.bbn.com ([128.89.89.139]:63567 helo=[127.0.0.1]) by smtp.bbn.com with esmtp (Exim 4.74 (FreeBSD)) (envelope-from <achi@bbn.com>) id 1QjuBg-000NAI-Nn; Thu, 21 Jul 2011 10:25:16 -0400
Message-ID: <4E2836C0.10808@bbn.com>
Date: Thu, 21 Jul 2011 10:25:04 -0400
From: Andrew Chi <achi@bbn.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Terry Manderson <terry.manderson@icann.org>
References: <CA4DD429.180F8%terry.manderson@icann.org>
In-Reply-To: <CA4DD429.180F8%terry.manderson@icann.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Rob Austein <sra@isc.org>, "draft-ietf-sidr-repos-struct@tools.ietf.org" <draft-ietf-sidr-repos-struct@tools.ietf.org>, "sidr-chairs@tools.ietf.org" <sidr-chairs@tools.ietf.org>, "sidr@ietf.org" <sidr@ietf.org>
Subject: Re: [sidr] draft-ietf-sidr-repos-struct to Standards Track
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, 21 Jul 2011 14:25:40 -0000

On 7/20/2011 11:03 PM, Terry Manderson wrote:
>
> On 21/07/11 2:15 AM, "Rob Austein"<sra@isc.org>  wrote:
>
>> At Tue, 19 Jul 2011 14:03:18 -0700, Terry Manderson wrote:
>>>
>>> Rob's observation that the extension exists in the manifest file name is a
>>> close approximation provided words exist as highlighted which gives clear
>>> instruction to implementers as to
>>> 1) make the first approximation of validation regime on the filename in the
>>> _manifest_
>>> 2) then try all others
>>> 3) give up.
>>
>> Sorry, wrong.  Attempt validation based on the filename type; if that
>> fails, the object is toast regardless of whether the filename appears
>> in the manifest or not.  Don't expect the RP to play guessing games.
>
> You wouldn't check the manifest? The manifest seems like the hinge point to
> me.

As another implementer, I agree with Rob.

Manifests cannot solve everything.  They detect when an expected file is 
NOT present.  If you try to use them as a comprehensive listing, you run 
into tons of gray areas.  I'll refrain from rehashing the discussion in 
the other thread about manifests, but you can insert that here.

Therefore, the BBN validator does the only thing sensible, which is 
validate based on filename and certificate chain.  After that, we check 
against the manifest and emit a warning if it doesn't look right.  And 
we provide the user with configuration flags to control the output of 
validator: does he want output from the "perfect" ROAs only (with 
perfect manifests all the way up the chain), or is some level of 
grayness acceptable.

Manifests are murky, especially when you misuse them.  Filename 
extensions are not.

-Andrew