Re: [Sidrops] 8210bis

Randy Bush <randy@psg.com> Sun, 09 February 2020 03:19 UTC

Return-Path: <randy@psg.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 291F812008B for <sidrops@ietfa.amsl.com>; Sat, 8 Feb 2020 19:19:14 -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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 tE4OEdg_wpXY for <sidrops@ietfa.amsl.com>; Sat, 8 Feb 2020 19:19:12 -0800 (PST)
Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6638120077 for <sidrops@ietf.org>; Sat, 8 Feb 2020 19:19:12 -0800 (PST)
Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.90_1) (envelope-from <randy@psg.com>) id 1j0d7l-0001Vm-KG; Sun, 09 Feb 2020 03:19:09 +0000
Date: Sat, 08 Feb 2020 19:19:07 -0800
Message-ID: <m2h80030t0.wl-randy@psg.com>
From: Randy Bush <randy@psg.com>
To: Martin Hoffmann <martin@opennetlabs.com>
Cc: SIDR Operations WG <sidrops@ietf.org>
In-Reply-To: <20200208103710.249e8166@grisu.home.partim.org>
References: <m21rr75bxe.wl-randy@psg.com> <20200208103710.249e8166@grisu.home.partim.org>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/26.3 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="ISO-8859-7"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/hfgSxXx5Q2J_AmojDAfa579Th28>
Subject: Re: [Sidrops] 8210bis
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: Sun, 09 Feb 2020 03:19:14 -0000

>> while we're doing the ASPA PDU hack, do any implementors of 6810/8210
>> have comments based on experience implementing 6810/8210?

your comments really appreciated

> The one thing that tripped me up when implementing RTR was that the
> content of the End-of-data PDU had changed between versions 0 and 1 and
> this isn’t properly mentioned in 8210 (there’s a vague note in section
> 1.2 that one can really only interpret correctly in hindsight). Since
> the old format isn’t mentioned but in practice you will have to
> implement version 0, you need to read and implement an obsoleted RFC
> which seems a bit wrong to me.
> 
> It would be good if 8210bis would at least stick a big warning at its
> equivalent to section 5.8 or, better yet, show the format for version
> 0 as well.

both done.

> The other thing that is a bit iffy when implementing is that for the
> Router Key PDU the flags field is moved from the payload into to the
> header repurposing part of what is the session ID when present.

yuchhh!  <blush>

> Maybe for the ASPA PDU you could keep it in the payload?

5.12.  ASPA PDU

   0          8          16         24        31
   .-------------------------------------------.
   | Protocol |   PDU    |                     |
   | Version  |   Type   |         zero        |
   |    2     |    11    |                     |
   +-------------------------------------------+
   |                                           |
   |                 Length                    |
   |                                           |
   +-------------------------------------------+
   |          |          |                     |
   |  Flags   |   zero   |  Provider AS Count  |
   |          |          |                     |
   +-------------------------------------------+
   |                                           |
   |    Customer Autonomous System Number      |
   |                                           |
   +-------------------------------------------+
   |                                           |
   |    Provider Autonomous System Number      |
   |                                           |
   ~-------------------------------------------~

   The ASPA PDU is to support [I-D.ietf-sidrops-aspa-profile].

   The lowest-order bit of the Flags field is 1 for an announcement and
   0 for a withdrawal.  Withdrawal of a non-existant or non-matching
   ASPA PDU is an error.

   The Provider AS Count is the number of 32-bit Provider Autonomous
   System Numbers in the PDU.  There may be none.

   The Customer Autonomous System Number is the 32-bit Autonomous System
   Number of the customer which signed the PDU.  There may be only one
   ASPA for a Customer Autonomous System Number active at any time.

   There are zero or more 32-bit Provider Autonomous System Number
   fields; see [I-D.ietf-sidrops-aspa-profile].