Skip to content

Conversation

@martenwallewein
Copy link

Hey everyone,

We'd like to upstream libp2p support for the SCION [1] Internet architecture and are therefor aiming to add scion to the multiaddr repo as preliminary step.

This PR adds support for multiaddrs like /scion/19-ffaa:1:1079. SCION IAs consist of a 16-bit ISD and a 48-bit AS number separated by -. ISD numbers are formatted as decimal (19), AS numbering is similar to IPv6 (ffaa:1:1079). [2]. A SCION multiaddr can encapsulate an IP address to specify an endpoint, e.g. /scion/19-ffaa:1:1079/ip4/127.0.0.1.

Notably, SCION is a routing protocol that also provides its own address format (specifically ISD-AS) but for host-addresses themselves (inside the ASes) regular IPv4/IPv6 addressing is used. That's why we see great fit here in the multiaddr repo!

We have already reserved a corresponding protocol identifier in multiformats/multicodec#325. There also is an experimental go-libp2p SCION+QUIC transport available at netsys-lab/go-libp2p@7ea953a.

Looking forward to your feedback!

Cheers,
Marten

Footnotes
[1] https://scion-architecture.net/
[2] https://docs.scion.org/en/latest/overview.html#isd-and-as-numbering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants