This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/routing-wg@ripe.net/
[routing-wg] RFC 8360 should be the default (Was: RPKI Outage Post-Mortem)
- Previous message (by thread): [routing-wg] RPKI Outage Post-Mortem
- Next message (by thread): [routing-wg] Invitation: RPKI Open House
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Job Snijders
job at instituut.net
Thu Jan 7 19:04:45 CET 2021
Dear group, I think the situation is a bit more involved, I'd like split yesterday's situation into 3 aspects: 1) RIPE NCC's hosted CA service can indeed attempt to shrink children before shrinking parents. The upcoming January 11th change to improve the ordering of signing events is welcome news, but really only helps CAs hosted by RIPE NCC under the RIPE NCC Trust Anchor. 2) Some versions of routinator, RIPE NCC's validator, and OctoRPKI handled manifests incorrectly, resulting in large VRPs drops for those RPs. These vendors released updates about one month ago, which do address some shortcomings. Great! However the problem of losing visibility of all ROAs under the 'KpSo3VVK5wEHIJnHC2QHVV3d5mk.mft' manifest remains, the transfer of 81.199.64.0/20 from RIPE NCC to ARIN resulted in an outage for two ROAs which continued to exist under the RIPE Trust Anchor. 3) Validators following RFC 6487 consider 'rpki.ripe.net/repository/DEFAULT/UBgr7pqgEMH_0tgE9qp7FL3bkfc.cer' in its *entirety* invalid, thereby also rejecting these two ROAs: AS61317,81.199.112.0/24-24,RIPE + AS61317,81.199.113.0/24-24,RIPE. This 6487 behavior of course is bad news for users of 81.199.112/23, as the covered prefixes became 'not-found' instead of a steady state 'valid' in the BGP DFZ. Some may say 'whatever', but to me this seems brittle for no good reason, it reduces the RPKI's reliability unnecessarily. Luckily there is a solution: RFC 8360 describes a more graceful and robust validation procedure in which an overclaiming but otherwise valid CA is 'trimmed' by the constraints derived from its parents, allowing ROAs which are wholy validly covered by the entire chain to not be rejected. More info: https://www.internetsociety.org/blog/2018/04/new-rfc-8360-rpki-validation-reconsidered-offers-alternative-validation-procedures-improve-routing-security/ RFC 8360 specifies a bunch of new OIDs and a new improved validation policy, however this new goodness *only* is activated when both the signer sets OID 1.3.6.1.5.5.7.14.3 as policy (instead of 1.3.6.1.5.5.7.14.2 which is what RIPE NCC hosted CA sets), AND the validator is able to recognise the new OID. A high barrier! This smells like a contrived case of IETF politics where some folks didn't want to change an existing default even though it harms internet operations, thus themselves and everyone else... It seems awkward to come up with a great solution, but ... not enable it by default. I think a solution to expedite deployment of RFC 8360 is for validators to just apply the RFC 8360 validation strategy to objects on which the RFC 6487 policy OIDs are set. A PKIX policy violation in the public interest. The following rpki-client patch proposal changes the 'refuse' policy to 'trim': https://marc.info/?l=openbsd-tech&m=161011710120123&w=2 In routinator 'Trim' could always be the strategy rather than 'Refuse' (https://github.com/NLnetLabs/rpki-rs/blob/7cf083b90f97a383ab44e86995151cc5c5fa08ec/src/repository/cert.rs#L2554-L2562) In FORT I also see an 'if ... else ...' which can probably be changed to just always use nid_certPolicyRpkiV2(). https://github.com/NICMx/FORT-validator/blob/f8f97c489dceecda60f8cc7d70991c6695bc7e4e/src/object/certificate.c#L1700-L1706 I didn't inspect RIPE NCC's validator, operators should shut those instances down and use something else. Kind regards, Job
- Previous message (by thread): [routing-wg] RPKI Outage Post-Mortem
- Next message (by thread): [routing-wg] Invitation: RPKI Open House
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]