Hi Terry,

| It is truly a regrettable situation that the workgroup has been lulled
| into
| this position. A ROA that has an implicit deny creates a major break
| scenario since the RPKI system will be in partial deployment for many
| years,
| - the resulting requirement is that every LIR's customers MUST
| participate
| in RPKI else the issuance of the LIR's ROA will invalidate all customer
| announcements in the examples provided by Geoff.


The customers do not have to participate in the RPKI. The LIR can issue the 
ROA on their behalf, no? In any case, yes, we do assume that the more 
specifics that get sub-allocated should also have a corresponding ROA 
issued. Else they become INVALID in the validation logic. I do not see how
BOAs solve the "make-before-break" problem though. The moment they become
separate instances (RPKI objects vs. prefix announcements in BGP), they can
arrive in any order and a valid prefix can become invalid or vice versa.


| I cannot see then, how the RPKI will actually get deployment as it will
| sit
| in a 'too hard' basket. In effect, all ROAs have to be created in a
| bottom
| up mode, yet the resource certs issued top-down.
| 
| The BOA provides two functions, to protect the un-used and unallocated
| resources from misuse and to allow a partial deployment mechanism in a
| make
| before break process where the LIR can adopt, and issue ROAs, and once
| all
| customers are on board - a BOA can then be issued which then 'locks
| down'
| the prefix.
| 
| To adapt the logic pseudo code from Dave Ward's presentation and revert
| the
| understanding of the ROA to _not_ be and implicit 'invalid' but instead
| 'not_found':
| 
| 1. query key = <BGP destination, masklen>, data = origin AS
| 2. result = BGP_PFXV_STATE_NOT_FOUND
| 3. walk prefix roa_validation table to look for the query key
| 4. for each matched ³entry² node in prefix roa_validation table,
| 5.     walk all records with different maxLength values
| 6.         for each ³record² within range (query masklen <= maxLength)
| 7.            if query origin AS == record origin AS
| 8.               result = BGP_PFXV_STATE_VALID
| 9.               return (result)
| 10.           endif
| 11.           prefix_exists = TRUE
| 12.        endfor
| 13. endfor
| 14. walk prefix boa_validation table to look for the query key
| 15. if matched ³entry² node in prefix boa_validation table (query
| masklen <=
| maxLength)
| 16.        prefix_exists = TRUE
| 17. endif
| 18. if not prefix_exists
| 19.        walk ASN boa_validation table to look for origin AS
| 20.        if record found in ASN boa_validation table
| 21.            ASN_exists = TRUE
| 22.        endif
| 23. endif
| 24. if prefix_exists == TRUE or ASN_exists == TRUE,
| 25.    result = BGP_PFXV_STATE_INVALID
| 26. endif
| 27. return (result)


Having implemented the prototype code for prefix validation, I can only 
say that the above addition creates unnecessary complexity that I would 
like to avoid in implementation ;-) In the BGP code on a router, I would 
like to just have a database of prefix <-> AS mappings (leave the rest to 
the RPKI repository/cache) and perform the prefix origin validation 
from that database. That keeps it simple and efficient.

My $.002,
- Pradosh
_______________________________________________
sidr mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sidr

Reply via email to