Internet-Draft ASPA Notation October 2024
Bruijnzeels, et al. Expires 24 April 2025 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-ietf-sidrops-aspa-notation-02
Published:
Intended Status:
Informational
Expires:
Authors:
T. Bruijnzeels
RIPE NCC
O. Borchert
NIST
D. Ma
ZDNS
T. de Kock
RIPE NCC

Human Readable ASPA Notation

Abstract

This document defines a human readable notation for Validated ASPA Payloads (VAP, see ID-aspa-profile) for use with RPKI tooling based on ABNF (RFC 5234).

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 24 April 2025.

Table of Contents

1. Requirements notation

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

2. Introduction

This informational document defines a human readable ASPA notation for Validated ASPA Payloads (VAPs) [I-D.ietf-sidrops-aspa-profile].

The main motivations for providing this notations style are: * This can help to create consistency between RPKI Relying Party software output, making it easier for operators to compare results. * This can be used by RPKI Certificate Authorities (CA) command line interfaces and/or configuration. E.g. allowing a CA to provide a listing of intended VAPs which can be easily compared to RP output. * This can be used for documentation.

That said, this definition is informational. Implementations can choose to use their own notation styles instead of, or in addition to this.

3. ASPA Notation Definition

This specification uses ABNF syntax specified in [RFC5234].

notation            = customer-asid separator providers

customer-asid       = asn
separator           = " => "

providers           = providers-one-line / providers-multiline
providers-one-line  = asn *(*wsp "," *wsp asn)
providers-multiline = "[" *wspml asn *(*wspml "," *wspml asn) *wsp "]"

asn                 = "AS" uint32
uint32              = %d0-4294967295

wsp                 = space / tab

wspml               = space / tab / cr / lf

cr                  = %d13
lf                  = %d10

space               = %d32
tab                 = %d8

3.1. customer-asid

This field represents the customerASID defined in section 3.2 of [I-D.ietf-sidrops-aspa-profile]

3.2. providers

This field represents the providers defined in section 3.3 of [I-D.ietf-sidrops-aspa-profile]. Note that the normative constraints which are defined in that section mean that following :

  • There must be at least one provider-as.
  • The customer-asid "asn" value must not appear in any provider-as.
  • The elements of providers must be ordered in ascending numerical order by the "asn" value of the provider-as field.
  • Each "asn" value for used for a provider-as must be unique.

3.2.1. provider-as

This field represents a Provider AS as defined in section 3.3 of [I-D.ietf-sidrops-aspa-profile].

3.3. asn

This field consists of the string "AS" followed by a decimal value of a 32-bit Autonomous System Number using the asplain presentation as specified in [RFC5396]. Decimal values MUST represent a 32 bit value, and therefore MUST be part of the range 0-4294967295.

4. Example Notations

Some example notations are listed below. The last example is not advised for readability but is technically allowed by this specification.

AS65000 => AS65001
65000 => AS65001
65000 => AS65002
AS65000 => AS65001, AS65002,AS65003

AS65000 => [ AS65001, AS65002, AS65003 ]

AS65000 => [
    AS65001,
    AS65002,
    AS65003
]

AS65000 => [AS65001,
                     65002
,AS65003
    ]

5. IANA Considerations

This document has no IANA actions.

6. Security Considerations

TBD

7. Acknowledgements

Thanks to Randy Bush for suggesting to allow only one possible notation for AS numbers.

8. Normative References

[I-D.ietf-sidrops-aspa-profile]
Azimov, A., Uskov, E., Bush, R., Snijders, J., Housley, R., and B. Maddison, "A Profile for Autonomous System Provider Authorization", Work in Progress, Internet-Draft, draft-ietf-sidrops-aspa-profile-18, , <https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-aspa-profile-18>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC5234]
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, , <https://www.rfc-editor.org/info/rfc5234>.
[RFC5396]
Huston, G. and G. Michaelson, "Textual Representation of Autonomous System (AS) Numbers", RFC 5396, DOI 10.17487/RFC5396, , <https://www.rfc-editor.org/info/rfc5396>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.

Authors' Addresses

Tim Bruijnzeels
RIPE NCC
Oliver Borchert
NIST
Di Ma
ZDNS
Ties de Kock
RIPE NCC