SlideShare ist ein Scribd-Unternehmen logo
1
draft-harrison-sidrops-manifest-numbers-01
●●●
Tom Harrison (tomh@apnic.net)
George Michaelson (ggm@apnic.net)
Job Snijders (job@fastly.com)
IETF 119 SIDROPS Working Group
2
What is this about? (1)
● Manifests include a field called manifestNumber
● RFC 6486: Manifests for the RPKI (February 2012)
– “This field is an integer that is incremented each time a new manifest is
issued for a given publication point”
– “Manifest verifiers MUST be able to handle number values up to 20 octets”
● RFC 9286: Manifests for the RPKI (June 2022)
– “Each RP MUST verify that a purported "new" manifest contains a higher
manifestNumber than previously validated manifests”
– “If the purported "new" manifest contains a manifestNumber value equal to
or lower than manifestNumber values of previously validated manifests, the
RP SHOULD use locally cached versions of objects”
3
What is this about? (2)
● A strict reading of the text requires that relying parties reject new manifests once the largest
signed 20-byte value (i.e. 1 << ((20 * 8) - 1) – 1, called MN_MAX from here) is
reached
– The CA can’t be used from that point onwards
● But MN_MAX is a very large number?
– Yes: if manifestNumber is incremented by one on reissuance, MN_MAX would not be reached
in billions of years, even if issuing billions of manifests per second
– But the manifest number can be set to an arbitrary value by the issuer
● E.g. ARIN’s TA’s manifestNumber is currently ~1x1045
(~1/128 of MN_MAX)
– And bugs or similar could cause manifestNumber to be set to a large value, or to increment
by large values
– In particular, if a TA becomes unusable, requires new root key issuance
● Time-consuming, plus long tail of users still using old TAL
4
How should RPs handle this?
● Draft includes strawman proposal: if the manifest filename changes, reset the manifest number
check
– This is the current behaviour in rpki-client
● See appendix A for a detailed description of the rpki-client implementation
● Based on reading 9286 as referring to manifest numbers on a per-manifest-filename
basis, rather than a per-CA basis
– Pros:
● Simple to implement
● If there is consensus that this is required by 9286 as-is, then no further draft work
required
– Cons:
● 9286 can be interpreted as though this is not required, or even permitted
– See also RFC 8488 (RIPE NCC's Implementation of Resource Public Key
Infrastructure (RPKI) Certificate Tree Validation)
5
What are the other options?
● Remove the manifestNumber check
● Make the largest manifestNumber a function of the current
time
● Use serial number arithmetic to facilitate rollover
● Leave as-is on the RP side
– Up to CAs/TAs to ensure manifestNumber makes sense
on the server side before publication
6
RP support for 9286
Manifest number
reuse
Accepted Accepted Accepted Rejected
Manifest number
regression
Accepted Accepted Accepted Rejected
Manifest number of
MN_MAX Rejected Accepted Accepted Accepted
Manifest number >
MN_MAX Rejected Accepted Rejected Accepted
Manifest number of
MN_MAX_2* Rejected Accepted Rejected Accepted
Manifest number >
MN_MAX_2* Rejected Accepted Rejected Rejected
https:/
/github.com/APNIC-net/rpki-mft-number-demo
* (1 << (20 * 8)) – 1 (i.e. the largest unsigned 160-bit value, rather than the largest signed 160-bit value)
7
Next steps
●
Get feedback on current draft approach and
potential alternatives

Weitere ähnliche Inhalte

Ähnlich wie draft-harrison-sidrops-manifest-number-01, presented at IETF 119

Building Pinterest Real-Time Ads Platform Using Kafka Streams
Building Pinterest Real-Time Ads Platform Using Kafka Streams Building Pinterest Real-Time Ads Platform Using Kafka Streams
Building Pinterest Real-Time Ads Platform Using Kafka Streams
confluent
 
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
Rafael Apellidos
 
Index conf sparkml-feb20-n-pentreath
Index conf sparkml-feb20-n-pentreathIndex conf sparkml-feb20-n-pentreath
Index conf sparkml-feb20-n-pentreath
Chester Chen
 
Datomic rtree-pres
Datomic rtree-presDatomic rtree-pres
Datomic rtree-pres
jsofra
 

Ähnlich wie draft-harrison-sidrops-manifest-number-01, presented at IETF 119 (20)

Row #9: An architecture overview of APNIC's RDAP deployment to the cloud
Row #9: An architecture overview of APNIC's RDAP deployment to the cloudRow #9: An architecture overview of APNIC's RDAP deployment to the cloud
Row #9: An architecture overview of APNIC's RDAP deployment to the cloud
 
Building Enterprise Grade Applications in Yarn with Apache Twill
Building Enterprise Grade Applications in Yarn with Apache TwillBuilding Enterprise Grade Applications in Yarn with Apache Twill
Building Enterprise Grade Applications in Yarn with Apache Twill
 
Presto – Today and Beyond – The Open Source SQL Engine for Querying all Data...
Presto – Today and Beyond – The Open Source SQL Engine for Querying all Data...Presto – Today and Beyond – The Open Source SQL Engine for Querying all Data...
Presto – Today and Beyond – The Open Source SQL Engine for Querying all Data...
 
Introducing TiDB @ SF DevOps Meetup
Introducing TiDB @ SF DevOps MeetupIntroducing TiDB @ SF DevOps Meetup
Introducing TiDB @ SF DevOps Meetup
 
Stream processing with Apache Flink @ OfferUp
Stream processing with Apache Flink @ OfferUpStream processing with Apache Flink @ OfferUp
Stream processing with Apache Flink @ OfferUp
 
LF Energy Webinar: Introduction to TROLIE
LF Energy Webinar: Introduction to TROLIELF Energy Webinar: Introduction to TROLIE
LF Energy Webinar: Introduction to TROLIE
 
Accelerating Networked Applications with Flexible Packet Processing
Accelerating Networked Applications with Flexible Packet ProcessingAccelerating Networked Applications with Flexible Packet Processing
Accelerating Networked Applications with Flexible Packet Processing
 
SDN in the Management Plane: OpenConfig and Streaming Telemetry
SDN in the Management Plane: OpenConfig and Streaming TelemetrySDN in the Management Plane: OpenConfig and Streaming Telemetry
SDN in the Management Plane: OpenConfig and Streaming Telemetry
 
Apache Ratis - In Search of a Usable Raft Library
Apache Ratis - In Search of a Usable Raft LibraryApache Ratis - In Search of a Usable Raft Library
Apache Ratis - In Search of a Usable Raft Library
 
Pivotal Real Time Data Stream Analytics
Pivotal Real Time Data Stream AnalyticsPivotal Real Time Data Stream Analytics
Pivotal Real Time Data Stream Analytics
 
IETF 118: regext-rdap-rir-search
IETF 118: regext-rdap-rir-searchIETF 118: regext-rdap-rir-search
IETF 118: regext-rdap-rir-search
 
TiDB + Mobike by Kevin Xu (@kevinsxu)
TiDB + Mobike by Kevin Xu (@kevinsxu)TiDB + Mobike by Kevin Xu (@kevinsxu)
TiDB + Mobike by Kevin Xu (@kevinsxu)
 
Building Pinterest Real-Time Ads Platform Using Kafka Streams
Building Pinterest Real-Time Ads Platform Using Kafka Streams Building Pinterest Real-Time Ads Platform Using Kafka Streams
Building Pinterest Real-Time Ads Platform Using Kafka Streams
 
Tracking the Performance of the Web Over Time with the HTTP Archive
Tracking the Performance of the Web Over Time with the HTTP ArchiveTracking the Performance of the Web Over Time with the HTTP Archive
Tracking the Performance of the Web Over Time with the HTTP Archive
 
Akamai Edge: Tracking the Performance of the Web with HTTP Archive
Akamai Edge: Tracking the Performance of the Web with HTTP ArchiveAkamai Edge: Tracking the Performance of the Web with HTTP Archive
Akamai Edge: Tracking the Performance of the Web with HTTP Archive
 
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
JCIS 2022 - Smart LAMA API: Automated Capacity Analysis of Limitation-Aware M...
 
Index conf sparkml-feb20-n-pentreath
Index conf sparkml-feb20-n-pentreathIndex conf sparkml-feb20-n-pentreath
Index conf sparkml-feb20-n-pentreath
 
Datomic R-trees
Datomic R-treesDatomic R-trees
Datomic R-trees
 
Datomic rtree-pres
Datomic rtree-presDatomic rtree-pres
Datomic rtree-pres
 
Outsourcing IT Projects to Managed Hosting of the Cloud
Outsourcing IT Projects to Managed Hosting of the CloudOutsourcing IT Projects to Managed Hosting of the Cloud
Outsourcing IT Projects to Managed Hosting of the Cloud
 

Mehr von APNIC

Mehr von APNIC (20)

Registry Data Accuracy Improvements, presented by Chimi Dorji at SANOG 41 / I...
Registry Data Accuracy Improvements, presented by Chimi Dorji at SANOG 41 / I...Registry Data Accuracy Improvements, presented by Chimi Dorji at SANOG 41 / I...
Registry Data Accuracy Improvements, presented by Chimi Dorji at SANOG 41 / I...
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27
 
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
 
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
 
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
 
NANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff HustonNANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff Huston
 
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff HustonDNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
 
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, ThailandAPAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
 
Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6
 
AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!
 

Kürzlich hochgeladen

一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
aagad
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
abhinandnam9997
 

Kürzlich hochgeladen (12)

The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
The AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfThe AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdf
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Pvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdfPvtaan Social media marketing proposal.pdf
Pvtaan Social media marketing proposal.pdf
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?How Do I Begin the Linksys Velop Setup Process?
How Do I Begin the Linksys Velop Setup Process?
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
The Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyThe Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case Study
 
The Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI StudioThe Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI Studio
 

draft-harrison-sidrops-manifest-number-01, presented at IETF 119

  • 1. 1 draft-harrison-sidrops-manifest-numbers-01 ●●● Tom Harrison (tomh@apnic.net) George Michaelson (ggm@apnic.net) Job Snijders (job@fastly.com) IETF 119 SIDROPS Working Group
  • 2. 2 What is this about? (1) ● Manifests include a field called manifestNumber ● RFC 6486: Manifests for the RPKI (February 2012) – “This field is an integer that is incremented each time a new manifest is issued for a given publication point” – “Manifest verifiers MUST be able to handle number values up to 20 octets” ● RFC 9286: Manifests for the RPKI (June 2022) – “Each RP MUST verify that a purported "new" manifest contains a higher manifestNumber than previously validated manifests” – “If the purported "new" manifest contains a manifestNumber value equal to or lower than manifestNumber values of previously validated manifests, the RP SHOULD use locally cached versions of objects”
  • 3. 3 What is this about? (2) ● A strict reading of the text requires that relying parties reject new manifests once the largest signed 20-byte value (i.e. 1 << ((20 * 8) - 1) – 1, called MN_MAX from here) is reached – The CA can’t be used from that point onwards ● But MN_MAX is a very large number? – Yes: if manifestNumber is incremented by one on reissuance, MN_MAX would not be reached in billions of years, even if issuing billions of manifests per second – But the manifest number can be set to an arbitrary value by the issuer ● E.g. ARIN’s TA’s manifestNumber is currently ~1x1045 (~1/128 of MN_MAX) – And bugs or similar could cause manifestNumber to be set to a large value, or to increment by large values – In particular, if a TA becomes unusable, requires new root key issuance ● Time-consuming, plus long tail of users still using old TAL
  • 4. 4 How should RPs handle this? ● Draft includes strawman proposal: if the manifest filename changes, reset the manifest number check – This is the current behaviour in rpki-client ● See appendix A for a detailed description of the rpki-client implementation ● Based on reading 9286 as referring to manifest numbers on a per-manifest-filename basis, rather than a per-CA basis – Pros: ● Simple to implement ● If there is consensus that this is required by 9286 as-is, then no further draft work required – Cons: ● 9286 can be interpreted as though this is not required, or even permitted – See also RFC 8488 (RIPE NCC's Implementation of Resource Public Key Infrastructure (RPKI) Certificate Tree Validation)
  • 5. 5 What are the other options? ● Remove the manifestNumber check ● Make the largest manifestNumber a function of the current time ● Use serial number arithmetic to facilitate rollover ● Leave as-is on the RP side – Up to CAs/TAs to ensure manifestNumber makes sense on the server side before publication
  • 6. 6 RP support for 9286 Manifest number reuse Accepted Accepted Accepted Rejected Manifest number regression Accepted Accepted Accepted Rejected Manifest number of MN_MAX Rejected Accepted Accepted Accepted Manifest number > MN_MAX Rejected Accepted Rejected Accepted Manifest number of MN_MAX_2* Rejected Accepted Rejected Accepted Manifest number > MN_MAX_2* Rejected Accepted Rejected Rejected https:/ /github.com/APNIC-net/rpki-mft-number-demo * (1 << (20 * 8)) – 1 (i.e. the largest unsigned 160-bit value, rather than the largest signed 160-bit value)
  • 7. 7 Next steps ● Get feedback on current draft approach and potential alternatives