Re: [Sidrops] On validating AS paths

Christopher Morrow <christopher.morrow@gmail.com> Mon, 01 July 2019 18:27 UTC

Return-Path: <christopher.morrow@gmail.com>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC0A712069E for <sidrops@ietfa.amsl.com>; Mon, 1 Jul 2019 11:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Vx7dM9aZ0iTh for <sidrops@ietfa.amsl.com>; Mon, 1 Jul 2019 11:27:39 -0700 (PDT)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E62F120106 for <sidrops@ietf.org>; Mon, 1 Jul 2019 11:27:39 -0700 (PDT)
Received: by mail-qt1-x834.google.com with SMTP id y57so15709922qtk.4 for <sidrops@ietf.org>; Mon, 01 Jul 2019 11:27:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h8RESQCzw/l5WfkBTKOL5UJrusEKOQ7vyND1h3hR7/w=; b=ss2lgebyzteKHKrQdLvf/r67Oop5JFOvWPXLHUeiqKv02doLKOVucnUJWvzYrWjp9O G9aI/8Xxz4H3N6hi4ztbhjI4LXv3WNop+IL5bvZaCv7iWQXkZji8DnFIk2hCjD4FfHR1 rOrj6jyRSbbo5+/0fJxZlZyxZ9vNSJ+4PtwMubTIyco6J9Vq+FYvT+pnA4Tx2tRE8G+Q N8PFA7TQhHydQlz6oAb2dKW8YKkQ197Q2Ob5TfCBEV538HX4CECKwFHqq9x5fGiwYOPm 19Axmd/wUn1tIhEXHfCrwDdF2IuQrP76SUbiy+yBEW3rQo3xRXS6Qz3LllcQ8lvxupms nZkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h8RESQCzw/l5WfkBTKOL5UJrusEKOQ7vyND1h3hR7/w=; b=deV0N6VBxYjOOkNg7mHaKoieI3YMpFUkPxInSZ4WxsvA8KzCA30Kq+jvAtxqvE7Kjl vf2htvbQTV+iOVPBh5jy8sk9MNESlaJcbZGAyyDzZ6B1v0MVEjMb6ksBVLaVxlz6OEuI 0ZnZsJpT+/moCk0eHHAhdGt7GGhfrugpI+OflwX0wGWY++Yj8w+Wc1K4sYZryBlF3ehP RDeL+sKq/kitTW8hhvcDM997T6LoMbK9kwPT7x8A2rP9kTj1bmab6d/YVOtt8gGLrnnf MMq2aVxFNJzzvaHCSHfgbIekQNQeqP2AY196pQH8MWrkQLVTAxL6GdSJ3oPUNG5n492Q Z9Jg==
X-Gm-Message-State: APjAAAUhA4RjqK6lOH6jtLmwGsWAhQk81DPBbtXtUDtoIIwqNChZo+b6 Wc9uM8f8ADfi46pmyRQidfC5ebRLfoMaOZCxz+8=
X-Google-Smtp-Source: APXvYqylKEhpYDS1H2/uGCQCd28fluJl9qWxa3VdY8xbmUY1iCLCPIcWPLu1Uq5fXplQPZgVPiGoKYS7lTX2xLLsXkc=
X-Received: by 2002:aed:3f0c:: with SMTP id p12mr21826797qtf.109.1562005658140; Mon, 01 Jul 2019 11:27:38 -0700 (PDT)
MIME-Version: 1.0
References: <9D1926FB-30B0-4A28-8AAF-32527BCC2F9F@muada.com> <CAEGSd=AAQqL6kbZKOEjRABd00n27VKSnMRW6W3Xyb=6y6q-ziA@mail.gmail.com> <10331B58-4353-417B-859B-8E78EF4A9F9D@muada.com>
In-Reply-To: <10331B58-4353-417B-859B-8E78EF4A9F9D@muada.com>
From: Christopher Morrow <christopher.morrow@gmail.com>
Date: Mon, 01 Jul 2019 14:27:27 -0400
Message-ID: <CAL9jLab=eZ8ZkOC_-jOH1+DGcDynhUyjumqdGA677vjPN9AFEg@mail.gmail.com>
To: Iljitsch van Beijnum <iljitsch=40muada.com@dmarc.ietf.org>
Cc: Alexander Azimov <a.e.azimov@gmail.com>, SIDR Operations WG <sidrops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/7Gzf12H3zZqKNtZ4pLP_Zk-wWuM>
Subject: Re: [Sidrops] On validating AS paths
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Jul 2019 18:27:41 -0000

On Mon, Jul 1, 2019 at 9:47 AM Iljitsch van Beijnum
<iljitsch=40muada.com@dmarc.ietf.org> wrote:
> Yes. Note that in my previous message I was specifically addressing validating the _entire_ path, while ASPA only concerns itself with validating the "up" part of the path, where the only valid relationships are provider-customer and sibling-sibling.

isn't this the point of 'bgpsec'? meaning: "you can do this when you
see bgpsec signed paths from bgp peers"

>
> Of course once we can validate the entire path, we can by definition also validate any subset.
>
> And of course, a path //^\ (in your notation) received from customer or peer is invalid. But I assume that you also had this in mind.