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

Terry Manderson <terry.manderson@icann.org> Sun, 17 July 2011 23:42 UTC

Return-Path: <terry.manderson@icann.org>
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 2BCDB21F8891 for <sidr@ietfa.amsl.com>; Sun, 17 Jul 2011 16:42:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.41
X-Spam-Level:
X-Spam-Status: No, score=-106.41 tagged_above=-999 required=5 tests=[AWL=0.189, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 C7xdzHoBMRl8 for <sidr@ietfa.amsl.com>; Sun, 17 Jul 2011 16:42:56 -0700 (PDT)
Received: from EXPFE100-2.exc.icann.org (expfe100-2.exc.icann.org [64.78.22.237]) by ietfa.amsl.com (Postfix) with ESMTP id A4AC021F87AF for <sidr@ietf.org>; Sun, 17 Jul 2011 16:42:56 -0700 (PDT)
Received: from EXVPMBX100-1.exc.icann.org ([64.78.22.232]) by EXPFE100-2.exc.icann.org ([64.78.22.237]) with mapi; Sun, 17 Jul 2011 16:42:55 -0700
From: Terry Manderson <terry.manderson@icann.org>
To: Rob Austein <sra@isc.org>, Stewart Bryant <stbryant@cisco.com>
Date: Sun, 17 Jul 2011 16:42:54 -0700
Thread-Topic: [sidr] draft-ietf-sidr-repos-struct to Standards Track
Thread-Index: AcxEkVfJwCEdzJQKTZmy54QvP9LGjgASeeoo
Message-ID: <CA49B09E.17E05%terry.manderson@icann.org>
In-Reply-To: <20110717145323.6460631BDB0@minas-ithil.hactrn.net>
Accept-Language: en-US
Content-Language: en
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "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: Sun, 17 Jul 2011 23:42:57 -0000

On 18/07/11 12:53 AM, "Rob Austein" <sra@isc.org> wrote:

> This draft defines the mappings from filename extension (.cer, .roa,
> .crl, etc) to ASN.1 object type (X.509 certificate, ROA, CRL, etc).
> 
> Without this mapping, relying party tools have no way of knowing what
> they're looking at in most cases, and would have to attempt to decode
> every object in various ways to see which (if any) worked.  This would
> be tedious, error prone, and generally a bad idea.
> 

This actually makes me wonder why the manifest (
draft-ietf-sidr-rpki-manifests) in:

FileAndHash ::=     SEQUENCE {
      file            IA5String,
      hash            BIT STRING
      }

Doesn't have a RPKIObjectIdentifier that tells the relying party what the
object it has just retrieved is in terms of ROA/CERT/etc, as a signed
attestation.

(and then an appropriate IANA registry for RPKIObjectIdentifier could then
be created and populated as a standards track)

If repos-struct was standards track and the naming scheme was the prime
mapping system then if a RPKI repository publication [1] point is
compromised (or even MiTM!) it would be a trivial exercise to perform some
substitutions on the filename to confuse (routing security downgrade DoS)
the relying party.

[1] Remember that the publication point is _just_ an rsync server (at this
stage).

Cheers
Terry