<div dir="ltr">Hello,<br><br>Erik is right. BGPSec was definitely ahead of time when the IETF started working on it and many have marked it as bleeding edge for good reasons.The technologies required to support it in the wild weren't just there back then. But they might be now.The point is we don't know and we're discussing the topic starting from old pre-concepts or lack of knowledge.<br><br>My understanding is Job wants to change the status quo by having RIPE to "adopt" the technology. And I support that. Even though I acknowledge that some could find the presence of BGPSec on the same web portal as of RPKI confusing and that part has to be handled with care on the GUI. But, the overall effort seems small enough for RIPE to do it without consuming excessive resources (compared to RIPE's own capacity). So why not?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 7, 2021 at 12:17 PM Erik Bais <<a href="mailto:erik@bais.name">erik@bais.name</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Tim,  <br>
<br>
May I suggest to read the RFC's about BGPSec and spin up something in an environment to do some testing with BGP and BGPSec.  <br>
Normally I would suggest people to do some research, but they might end up on Facebook and in the light of last Monday .. doing research on BGP and Facebook, might be a different rabbit hole .. ;-)<br>
<br>
Back in 2008 we did some policy work here in the community for RPKI .. there were only a couple CLI based "validators", most routers vendors had no idea what RPKI was .. and still we asked the RIPE NCC to do work on RPKI.  <br>
If you don't recall that, perhaps Alex B. can provide some history on that process __ <br>
<br>
What Job asked is to see if we should start with a similar process for BGPSec.  <br>
We start with publishing and monitoring ... and who knows when and if this will become mainstream ..  <br>
But if we don't start somewhere .. it will never get anywhere ..  <br>
<br>
The question and discussion isn't about if someone likes BGPSec or if it will ever become mainstream .. or if someone will personally ever use it .. or if the current status of the RFC's isn't finished yet to the final version .. <br>
In order to be able to asses this for the community .. there need to be some tools in place .. to make it easier for it to even go to that step.  <br>
At some point the community will do some testing, find bugs in current implementations that the RFC authors didn't foresee .. that is how things go .. we fix shizzle. <br>
<br>
Hope that this clarifies. <br>
<br>
Just my 2cp, <br>
<br>
Regards,<br>
Erik Bais<br>
<br>
On 07/10/2021, 11:41, "routing-wg on behalf of Tim Bruijnzeels" <<a href="mailto:routing-wg-bounces@ripe.net" target="_blank">routing-wg-bounces@ripe.net</a> on behalf of <a href="mailto:tim@nlnetlabs.nl" target="_blank">tim@nlnetlabs.nl</a>> wrote:<br>
<br>
    Hi Randy, all,<br>
<br>
    > On 6 Oct 2021, at 17:10, Randy Bush <<a href="mailto:randy@psg.com" target="_blank">randy@psg.com</a>> wrote:<br>
    > <br>
    >> A fundamental issue that I see is that BGPSec validation only has<br>
    >> 'valid' or 'invalid'.<br>
    > <br>
    > just as ROV has: Valid and Invalid.<br>
    > <br>
    > hard to have other states in a crypto-based validation; though i have<br>
    > faith that some creative types could come up with something.  please<br>
    > color it magenta :)<br>
    > <br>
    > and, just as ROV has NotFound, BGPsec has not signed.<br>
<br>
    Please bear with me, it is not my intention to misrepresent things. I meant<br>
    what I said with "I would *love* BGPSec to succeed" - no sarcasm or other<br>
    meanings were intended.<br>
<br>
    If BGPSec really is incrementally deployable then I have no objections to<br>
    giving operators the means to create BGPSec certificates in the hosted system,<br>
    and doing the same myself in Krill for that matter. Although I still believe it<br>
    would then also be good - as I believe you hinted at as well - to hear if<br>
    there are plans by router vendors to support this.<br>
<br>
    Back to this point. I honestly want to understand it thoroughly. It is very<br>
    well possible that I misunderstood or misremembered parts, but if so, ?I am not<br>
    alone in this and it can help to ask the questions:<br>
<br>
    A BGPSec certificate published in the RPKI can be valid or invalid. If it is<br>
    valid, then the public router key can be used for BGPSec validation. Correct?<br>
<br>
    Normal non-BGPSec updates are unsigned. They are neither BGPSec valid nor<br>
    invalid, correct?<br>
<br>
    A path can only be BGPSec evaluated of if it consists entirely of BGPSec<br>
    updates, signed by each AS on the path. Broadly speaking the path is valid<br>
    if all updates are valid, and otherwise it's invalid (section 5.2 of RFC8205).<br>
    Correct?<br>
<br>
    In principle therefore, operators can use local policy where they would reject<br>
    a BGPSec *invalid* path, but accept unsigned paths. Correct?<br>
<br>
    However.. I seem to remember it being brought up that this would allow<br>
    malicious actors to do a downgrade attack where they simply remove the<br>
    BGPSec signatures, resulting in a path that looks 'unsigned' rather than<br>
    'invalid'. Correct?<br>
<br>
    My understanding of the incremental deployment considerations (section 7.9<br>
    of RFC 8205), rephrased by Job in his message, is that BGPSec validation<br>
    can be mutually agreed on in islands. In other words, it's explicitly<br>
    turned on. Correct? Question: would unsigned paths be acceptable?<br>
<br>
    Other question: was it ever considered, and dismissed, to make the decision<br>
    to use BGPSec validation automated? An approach that I can think of would<br>
    be to assume that if, and only if, all ASNs on the path have published<br>
    BGPSec certificates this can be read as a pledge that they will in fact<br>
    do BGPSec. If so one could then also reject 'unsigned' here, and be safe<br>
    against the downgrade attack. I don't know for a fact that this will work,<br>
    but I am asking the question because I believe that automation will help.<br>
    Manually deciding to turn this on on individual sessions will scale more<br>
    painfully, let alone trying this cross transit.<br>
<br>
<br>
    Kind regards,<br>
    Tim<br>
<br>
<br>
<br>
<br>
<br>
    > <br>
    > randy<br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Marco</div>