<div dir="ltr">ROA = Route Origin Authorization . Origin is the key word. <div><br></div><div>When you create an signed ROA and do all the publishing bits, RPKI validator software will retrieve that , validate the signature, and pass that up to routers, saying "This prefix range that originates from this ASN is valid." Then, any BGP advertisement that contains a prefix in that range, with an origin ASN that matches, is treated as valid. The intermediary as-path isn't a factor. </div><div><br></div><div>If another ASN ORIGINATES an announcement for your space, then RPKI routers will treat that announcement as INVALID, because that isn't authorized. </div><div><br></div><div>If another ASN spoofs your ASN , pretending that they are your upstream, RPKI won't solve that. But that is a different problem set. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 20, 2020 at 10:02 AM Dovid Bender <<a href="mailto:dovid@telecurve.com">dovid@telecurve.com</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"><div dir="ltr">Fabien,<div><br></div><div>Thanks. So to sum it up there is nothing stopping a bad actor from impersonating me as if I am BGP'ing with them. It's to stop any other AS other then mine from advertising my IP space. Is that correct? How is verification done? They connect to the RIR and verify that there is  a cert signed by the RIR for my range?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 20, 2020 at 9:51 AM Fabien VINCENT (NaNOG) via NANOG <<a href="mailto:nanog@nanog.org" target="_blank">nanog@nanog.org</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"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>In fact, RPKI does nothing about AS Path checks if it's your question. RPKI is based on ROA where signatures are published to guarantee you're the owner of a specific prefix with optionnal different maxLength from your ASN. </p>
<p>So if the question is about if RPKI is sufficient to secure the whole BGP path, well, it's not. RPKI guarantee / permit only to verify the ressource announcements (IPvX block) is really owned by your ASN. But even if it's not sufficient, we need to deploy it to start securing resources', not the whole path.</p>
<p>Don't know if it replies to your question, but you can read also the pretty good documentation on RPKI here : <a href="https://rpki.readthedocs.io/en/latest/rpki/introduction.html" target="_blank">https://rpki.readthedocs.io/en/latest/rpki/introduction.html</a> or the corresponding RFC ;)  </p>
<p id="gmail-m_7565174273827900049gmail-m_8735878062570954351reply-intro">Le 20-08-2020 15:20, Dovid Bender a écrit :</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="gmail-m_7565174273827900049gmail-m_8735878062570954351replybody1">
<div dir="ltr">Hi,<br>
<div> </div>
<div>I am sorry for the n00b question. Can someone help point me in the right direction to understand how RPKI works? I understand that from my side that I create a key, submit the public portion to ARIN and then send a signed request to ARIN asking them to publish it. How do ISP's that receive my advertisement (either directly from me, meaning my upstreams or my upstreams upstream) verify against the cert that the advertisement is coming from me? If say we have</div>
<div>Medium ISP (AS1000) -> Large ISP (AS200)</div>
<div>in the above case AS200 know it's peering with AS1000 so it will take all advertisements. What's stopping AS1000 from adding a router to their network to impersonate me,  make it look like I am peering with them and then they re-advertise the path to Large ISP?</div>
<div> </div>
<div>Again sorry for the n00b question, I am trying to make sense of how it works.</div>
<div> </div>
<div>TIA.</div>
<div> </div>
<div>Dovid</div>
<div> </div>
</div>
</div>
</blockquote>
<div id="gmail-m_7565174273827900049gmail-m_8735878062570954351signature">-- <br>
<div style="margin:0px;padding:0px;font-family:monospace"><strong>Fabien VINCENT</strong></div>
<div style="margin:0px;padding:0px;font-family:monospace"><em>@beufanet</em></div>
</div>
</div>
</blockquote></div>
</blockquote></div>