forked from QratorLabs/ASPA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
draft-ietf-sidrops-aspa-verification.xml
executable file
·899 lines (856 loc) · 56.6 KB
/
draft-ietf-sidrops-aspa-verification.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc strict="yes" ?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>
<rfc category="std"
docName="draft-ietf-sidrops-aspa-verification-15"
submissionType="IETF"
consensus="true"
ipr="trust200902">
<front>
<title abbrev="ASPA-based AS_PATH Verification">
BGP AS_PATH Verification Based on Autonomous System Provider Authorization (ASPA) Objects
</title>
<author fullname="Alexander Azimov" initials="A." surname="Azimov">
<organization showOnFrontPage="true">Yandex</organization>
<address>
<postal>
<street>Ulitsa Lva Tolstogo 16</street>
<city>Moscow</city>
<code>119021</code>
<country>Russian Federation</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Eugene Bogomazov" initials="E." surname="Bogomazov">
<organization showOnFrontPage="true">Qrator Labs</organization>
<address>
<postal>
<street>1-y Magistralnyy tupik 5A</street>
<city>Moscow</city>
<code>123290</code>
<country>Russian Federation</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Randy Bush" initials="R." surname="Bush">
<organization abbrev="IIJ & Arrcus" showOnFrontPage="true">Internet Initiative Japan & Arrcus, Inc.</organization>
<address>
<postal>
<street>5147 Crystal Springs</street>
<city>Bainbridge Island</city>
<region>Washington</region>
<code>98110</code>
<country>United States of America</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Keyur Patel" initials="K." surname="Patel">
<organization showOnFrontPage="true">Arrcus</organization>
<address>
<postal>
<street>2077 Gateway Place</street>
<street>Suite #400</street>
<city>San Jose</city>
<region>CA</region>
<code>95119</code>
<country>United States of America</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Job Snijders" initials="J." surname="Snijders">
<organization showOnFrontPage="true">Fastly</organization>
<address>
<postal>
<street/>
<code/>
<city>Amsterdam</city>
<country>Netherlands</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Kotikalapudi Sriram" initials="K." surname="Sriram">
<organization abbrev="USA NIST" showOnFrontPage="true">USA National Institute of Standards and Technology</organization>
<address>
<postal>
<street>100 Bureau Drive</street>
<city>Gaithersburg</city>
<region>MD</region>
<code>20899</code>
<country>United States of America</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<date />
<keyword>BGP</keyword>
<keyword>Route leak</keyword>
<keyword>Hijacks</keyword>
<abstract>
<t>
This document describes procedures that make use of Autonomous System Provider.
Authorization (ASPA) objects in the Resource Public Key Infrastructure (RPKI) to verify the Border Gateway Protocol (BGP) AS_PATH attribute of advertised routes.
This type of AS_PATH verification provides detection and mitigation of route leaks and improbable AS paths.
It also to some degree provides protection against prefix hijacks with forged-origin or forged-path-segment.
</t>
</abstract>
</front>
<middle>
<section title="Introduction" anchor="intro">
<t>
The Border Gateway Protocol (BGP) as originally designed is known to be vulnerable to prefix (or route) hijacks and BGP route leaks <xref target="RFC7908"/>.
Some existing BGP extensions are able to partially solve these problems.
For example, Resource Public Key Infrastructure (RPKI) based route origin validation (RPKI-ROV) <xref target="RFC6480"/> <xref target="RFC6482"/> <xref target="RFC6811"/> <xref target="RFC9319"/> can be used to detect and filter accidental mis-originations.
<xref target="RFC9234"/> or <xref target="I-D.ietf-grow-route-leak-detection-mitigation"/> can be used to detect and mitigate accidental route leaks.
While RPKI-ROV can prevent accidental prefix hijacks, malicious forged-origin prefix hijacks can still occur <xref target="RFC9319"/>.
RFC9319 includes some recommendations for reducing the attack surface for forged-origin prefix hijacks.
</t>
<t>
This document describes procedures that make use of Autonomous System Provider Authorization (ASPA) objects <xref target="I-D.ietf-sidrops-aspa-profile"/> in the RPKI to verify properties of the BGP AS_PATH attribute of advertised routes.
ASPA-based AS_PATH verification provides detection and mitigation of route leaks and improbable AS paths.
It also to some degree provides protection against prefix hijacks with forged-origin or forged-path-segment (<xref target="property"/>).
These new ASPA-based procedures automatically detect such anomalous AS_PATHs in announcements that are received from customers, lateral peers (defined in <xref target="RFC7908"/>), transit providers, IXP Route Servers (RS), RS-clients, and mutual-transits.
The protections provided by these procedures (together with RPKI-ROV) are based on cryptographic techniques, and they are effective against many accidental and malicious actions.
</t>
<t>
ASPA objects are cryptographically signed registrations of customer-to-provider relationships and stored in a distributed database <xref target="I-D.ietf-sidrops-aspa-profile"/>.
ASPA-based path verification is an incrementally deployable technique and provides benefits to early adopters in the context of limited deployment.
</t>
<t>
The procedures described in this document are applicable only for BGP routes with {AFI, SAFI} combinations {AFI 1 (IPv4), SAFI 1} and {AFI 2 (IPv6), SAFI 1} <xref target="IANA-AF"/>.
SAFI 1 represents NLRI used for unicast forwarding <xref target="IANA-SAF"/>.
</t>
<section title="Anomaly Propagation" anchor="propagation">
<t>
Both route leaks and hijacks have similar effects on ISP operations - they redirect traffic and can result in denial of service (DoS), eavesdropping, increased latency, and packet loss.
The level of risk, however, depends significantly on the extent of propagation of the anomalies.
For example, a route leak or hijack that is propagated only to customers may cause bottlenecking within a particular ISP's customer cone, but if the anomaly propagates through lateral (i.e., non-transit) peers and transit providers, or reaches global distribution through transit-free networks, then the ill effects will likely be amplified and experienced across continents.
</t>
<t>
The ability to constrain the propagation of BGP anomalies to transit providers and lateral peers - without requiring support from the source of the anomaly (which is critical if the source has malicious intent) - should significantly improve the robustness of the global inter-domain routing system.
</t>
</section>
<section title="Terminology" anchor="terminology">
<t>
The use of the term "route is ineligible" in this document has the same meaning as in <xref target="RFC4271"/>, i.e., "route is ineligible to be installed in Loc-RIB and will be excluded from the next phase of route selection."
</t>
<t>
For brevity, the term "provider" is often used instead of "transit provider" in this document; they mean the same.
</t>
</section>
<section title="Requirements Language" anchor="req">
<t>
The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/>
when, and only when, they appear in all capitals, as shown here.
</t>
</section>
</section>
<section title="BGP Roles" anchor="role">
<t>
For path verification purposes in this document, the BGP roles an AS can have in relation to a neighbor AS are customer, provider, lateral peer, Route Server (RS), RS-client, and mutual-transit.
These relationships, except mutual-transit, are defined in <xref target="RFC9234"/>.
Mutual-transit ASes MAY export everything (both customer and non-customer routes) to each other, i.e., consider each other as a customer.
For mutual-transit ASes, the customer-to-provider relationship applies in each direction.
</t>
<t>
All roles are configured locally and used for the registration of ASPA objects (<xref target="ASPA"/>, <xref target="rec1"/>) and/or for path verification (<xref target="verif"/>).
The procedures for local BGP Role announcement in the BGP OPEN message and neighbor role cross-check specified in <xref target="RFC9234"/> are RECOMMENDED.
The procedures are not applied for cross-checking a mutual-transit role since this role is not specified in <xref target="RFC9234"/>.
</t>
</section>
<section title="Autonomous System Provider Authorization" anchor="ASPA">
<t>
An ASPA record is a digitally signed object that binds a set of Provider AS numbers to a Customer AS (CAS) number (in terms of BGP announcements) and is signed by the CAS <xref target="I-D.ietf-sidrops-aspa-profile"/>.
The ASPA attests that the CAS indicated a Set of Provider ASes (SPAS), which applies only to the IPv4 and IPv6 AFI and only to Network Layer Reachability Information used for unicast forwarding.
The definition of Provider AS is given in Section 1 of the ASPA profile object document <xref target="I-D.ietf-sidrops-aspa-profile"/>.
A function of a Provider AS is to propagate a CAS's route announcements onward, i.e., to the Provider's upstream providers, lateral peers, or customers.
Another function is to offer outbound (customer to Internet) data traffic connectivity to the CAS.
</t>
<t>
The notation (AS x, {AS y1, AS y2, ...}), is used to represent an ASPA object for a CAS denoted as AS x.
In this notation, the set {AS y1, AS y2, ...} represents the Set of Provider ASes (SPAS) of the CAS (AS x).
A CAS is expected to register a single ASPA listing all its Provider ASes (see <xref target="rec1"/>).
If a CAS has a single ASPA, then the SPAS for the CAS is the set of Provider ASes listed in that ASPA.
In case a CAS has multiple ASPAs, then the SPAS is the union of the Provider ASes listed in all ASPAs of the CAS.
</t>
<t>
Verified ASPA Payload (VAP) refers to the payload in a cryptographically verified (i.e., X.509 valid <xref target="RFC3779"/> <xref target="RFC5280"/>) ASPA object.
In the procedures for the AS path verification described in this document (<xref target="pair-validation"/>, <xref target="verif"/>), VAP-SPAS refers to the set of provider ASes derived from the VAP(s) of the CAS in consideration.
</t>
</section>
<section title="ASPA Registration Recommendations" anchor="rec1">
<t>
An ASPA object showing only AS 0 as a provider AS is referred to as an AS0 ASPA.
A non-transparent Route Server AS (RS AS) is one that includes its AS number in the AS_PATH.
Registering as AS0 ASPA is a statement by the registering AS that it has no transit providers, and it is also not an RS-client at a non-transparent RS AS.
If that statement is true, then the AS MUST register an AS 0 ASPA.
</t>
<t>
Normally, the Provider ASes of a CAS would be congruent for the address family combinations {AFI 1 (IPv4), SAFI 1} and {AFI 2 (IPv6), SAFI 1}.
Exceptions to this are expected to be rare.
In any case, the CAS MUST list the union of all Provider ASes applicable to the address family combinations stated above in the SPAS and MUST also include any non-transparent RS AS(es) at which it is an RS-client.
In the procedures for the AS path verification described in this document (<xref target="pair-validation"/>, <xref target="verif"/>), the SPAS is always considered to be uniformly applicable to {AFI 1 (IPv4), SAFI 1} and {AFI 2 (IPv6), SAFI 1}.
</t>
<t>
A compliant AS, including a Route Server AS (RS AS), MUST have an ASPA.
An AS SHOULD NOT have more than one ASPA.
An RS AS SHOULD register an AS 0 ASPA.
</t>
<t>
As mentioned in <xref target="ASPA"/>, the set of provider ASes contained in the VAP(s) is referred to as the VAP-SPAS of the AS registering the ASPA(s).
Normally, a VAP-SPAS is not expected to contain both an AS 0 and other Provider ASes,
but an unexpected presence of AS 0 has no influence on the AS path verification procedures (see <xref target="pair-validation"/>, <xref target="verif"/>).
</t>
<t>
Each of the two ASes in a mutual-transit pair MUST register its ASPA including the other AS in its SPAS.
If one of the ASes in the pair does this registration but the other does not, it increases the risk of incorrect AS path verification results for routes that include the pair.
</t>
<t>
The ASes on the boundary of an AS Confederation MUST register ASPAs using the Confederation's global ASN as the CAS.
</t>
<t>
As specified earlier, a compliant AS should maintain a single ASPA object that includes all its provider ASes, including any non-transparent RS ASes.
Such a practice helps prevent race conditions during ASPA updates that might affect prefix propagation.
The software that provides hosting for ASPA records SHOULD support enforcement of this practice.
During a transition process between different certificate authority (CA) registries, the ASPA records SHOULD be kept identical in all relevant registries.
</t>
</section>
<section title="Hop-Check Function" anchor="pair-validation">
<t>
Let AS(i) and AS(j) represent adjacent unique ASes in an AS_PATH, and thus (AS(i), AS(j)) represents an AS hop.
A hop-check function, hop(AS(i), AS(j)), checks if the ordered pair of ASNs, (AS(i), AS(j)), has the property that AS(j) is an attested provider of AS(i) per VAP-SPAS of AS(i).
The VAP-SPAS table is assumed to be organized in such a way that it can be queried to check (1) if a specified CAS = AS(i) has an entry (i.e., SPAS listed), or (2) if for a given (AS(i), AS(j)) tuple, AS(j) is listed in the VAP-SPAS as a provider associated with CAS = AS(i).
A provider AS ID included in the SPAS can correspond to a Provider, a non-transparent RS, or a mutual-transit neighbor.
A non-transparent RS is effectively a Provider to its RS-client.
Mutual-transit neighbors regard each other as a Provider (see <xref target="rec1"/>).
The term "Provider+" in the definition of the hop-check function is meant to encompass all three possibilities: Provider, non-transparent RS, or mutual-transit neighbor.
This function is specified as follows:
</t>
<t>
<figure anchor="fig1" align="left" suppress-title="true" pn="figure-1">
<name slugifiedName="HFC-illustration">Hop-check function.</name>
<artwork align="left" name="" type="" alt="">
<![CDATA[
/
| "No Attestation" if there is no entry
| in VAP-SPAS table for CAS = AS(i)
|
hop(AS(i), AS(j)) = / Else, "Provider+" if the VAP-SPAS entry
\ for CAS = AS(i) includes AS(j)
|
| Else, "Not Provider+"
\
]]>
</artwork>
</figure>
</t>
<t>
To be clear, this function checks if AS(j) is included in the VAP-SPAS of AS(i), and in doing so it does not need to distinguish between Provider, non-transparent RS, and mutual-transit neighbor.
</t>
<t>
The "No Attestation" result is returned only when the CAS = AS(i) has no entry in the VAP-SPAS table, which occurs when no ASPA is registered for the CAS or none of its ASPAs are cryptographically valid.
The hop-check function is used in the ASPA-based AS_PATH verification algorithms described in <xref target="Upflow"/> and <xref target="Downflow"/>.
</t>
</section>
<section title="AS_PATH Verification" anchor="verif">
<t>
The procedures described in this document are applicable only to four-octet AS number compatible BGP speakers <xref target="RFC6793"/>.
If such a BGP speaker receives both AS_PATH and AS4_PATH attributes in an UPDATE, then the procedures are applied on the reconstructed AS path (Section 4.2.3 of <xref target="RFC6793"/>).
So, the term AS_PATH is used in this document to refer to the usual AS_PATH <xref target="RFC4271"/> as well as the reconstructed AS path.
</t>
<t>
If an attacker creates a route leak intentionally, they may try to strip their AS from the AS_PATH.
To partly guard against that, a check is necessary to match the most recently added AS in the AS_PATH to the BGP neighbor's ASN.
This check MUST be performed as specified in Section 6.3 of <xref target="RFC4271"/>.
If the check fails, then the AS_PATH is considered a Malformed AS_PATH and the UPDATE is considered to be in error (Section 6.3 of <xref target="RFC4271"/>).
The case of transparent RS MUST also be appropriately taken care of (e.g., by suspending the neighbor ASN check).
The check fails also when the AS_PATH is empty (zero length) and such UPDATEs will also be considered to be in error.
</t>
<t>
<xref target="I-D.ietf-idr-deprecate-as-set-confed-set"/> specifies that "treat-as-withdraw" error handling <xref target="RFC7606"/> SHOULD be applied to routes with AS_SET in the AS_PATH.
In the current document, routes with AS_SET are given Invalid evaluation in the AS_PATH verification procedures (<xref target="Upflow"/> and <xref target="Downflow"/>).
See <xref target="mitig"/> for how routes with Invalid AS_PATH are handled.
</t>
<t>
In <xref target="Upflow"/> and <xref target="Downflow"/> below, the terms "upstream path" and "downstream path" generally refer to AS paths received in the upstream direction (from a customer or a lateral peer) and in the downstream direction (from a provider or a mutual-transit neighbor), respectively.
An RS-client receiving a route from its RS is a special case where the algorithm for upstream paths is applied (<xref target="Upflow"/>).
</t>
<section title="Algorithm for Upstream Paths" anchor="Upflow">
<t>
The upstream verification algorithm described here is applied when a route is received from a customer or lateral peer, or is received by an RS from an RS-client, or is received by an RS-client from an RS.
In all these cases, the receiving/validating eBGP router expects the AS_PATH to consist of only customer-to-provider hops successively from the origin AS to the neighbor AS (most recently added).
</t>
<t>
The basic principles of the upstream verification algorithm are stated here.
Let the sequence {AS(N), AS(N-1),..., AS(2), AS(1)} represent the AS_PATH in terms of unique ASNs, where AS(1) is the origin AS and AS(N) is the most recently added AS and neighbor of the receiving/validating AS.
For each hop AS(i-1) to AS(i) in this sequence, the hop-check function, hop(AS(i-1), AS(i)), must equal "Provider+" (<xref target="pair-validation"/>) for the AS_PATH to be Valid.
If the hop-check function for at least one of those hops is "Not Provider+", then the AS_PATH is deemed Invalid.
If the AS_PATH verification outcome is neither Valid nor Invalid (per the above principles), then it is evaluated as Unknown.
</t>
<t>
The upstream path verification procedure is specified as follows:
</t>
<t>
<list style="numbers">
<t>
If the AS_PATH has an AS_SET, then the procedure halts with the outcome "Invalid".
</t>
<t>
Collapse prepends in the AS_SEQUENCE(s) in the AS_PATH (i.e., keep only the unique AS numbers).
Let the resulting ordered sequence be represented by {AS(N), AS(N-1), ..., AS(2), AS(1)}, where AS(1) is the first-added (i.e., origin) AS and AS(N) is the last-added AS and neighbor to the receiving/validating AS.
</t>
<t>
If N = 1, then the procedure halts with the outcome "Valid".
Else, continue.
</t>
<t>
At this step, N ≥ 2. If there is an i such that 2 ≤ i ≤ N and hop(AS(i-1), AS(i)) = "Not Provider+", then the procedure halts with the outcome "Invalid".
Else, continue.
</t>
<t>
If there is an i such that 2 ≤ i ≤ N and hop(AS(i-1), AS(i)) = "No Attestation", then the procedure halts with the outcome "Unknown".
Else, the procedure halts with the outcome "Valid".
</t>
</list>
</t>
<!--
<section title="About Path verification at IXP RS AS and RS-Client" anchor="RS-client">
<t>
As stated above (top of <xref target="Upflow"/>), the algorithm for upstream paths is applied for path verification at IXP RS AS and RS-clients.
The justifications are as follow.
The RS-client to RS AS relationship is effectively a customer-to-provider relationship.
The RS AS propagates the routes of an RS-client and its customers to other RS-clients.
An RS-client at a transparent RS effectively has a lateral peer relationship with other RS-clients that it connects to via the RS.
So, the algorithm for upstream paths clearly applies at an RS AS and at RS-clients of a transparent RS.
</t>
<t>
Since an RS AS (transparent or non-transparent) does not have providers or lateral peers, an RS-client of a non-transparent RS expects an AS_PATH it receives to be consisting of only customer-to-provider hops successively from AS(1) (origin) the AS(N) (neighbor which is the RS AS).
This expectation is identical to what is expected when the UPDATE is received from a customer or lateral peer.
Hence, the algorithm for upstream paths applies also at an RS-client of a non-transparent RS.
</t>
</section>
-->
</section>
<section title="Algorithm for Downstream Paths" anchor="Downflow">
<t>
The downstream verification algorithm described here is applied when a route is received from a transit provider or mutual-transit neighbor.
As described in <xref target="rec1"/>, a sending mutual-transit AS acts towards its receiving mutual-transit AS in a manner similar to that of a provider towards its customer.
</t>
<t>
It is not essential, but the reader may take a look at the illustrations and formal proof in <xref target="sriram1"/> to develop a clearer understanding of the algorithm described here.
</t>
<t>
Here again (as in <xref target="Upflow"/>), let the AS_PATH be simplified and represented by the ordered sequence of unique ASNs as {AS(N), AS(N-1),..., AS(2), AS(1)}.
</t>
<t>
If 1 <= N <= 2, then the AS_PATH is trivially Valid.
</t>
<t>
<xref target="principles"/> below assumes that the AS_PATH contains 3 or more unique ASNs (N >= 3).
</t>
<section title="Principles for Determination of Invalid, Valid, and Unknown in Downstream Path Verification (for N >= 3)" anchor="principles">
<t>
<strong>Determination of Invalid AS_PATH:</strong>
</t>
<t>
Given the above-mentioned ordered sequence, if there exist indices u and v such that (1) u <= v, (2) hop(AS(u-1), AS(u)) = "Not Provider+", and (3) hop(AS(v+1), AS(v)) = "Not Provider+", then the AS_PATH is Invalid.
</t>
<t>
------------
</t>
<t>
<strong>Determination of Valid AS_PATH:</strong>
</t>
<t>
As shown in <xref target="fig2"/>, assume that the ASes in the AS_PATH are in the same physical (locational) order as in the sequence representation {AS(N), AS(N-1),..., AS(2), AS(1)}, i.e., AS(N) is the left-most and AS(1) the right-most.
</t>
<t>
<figure anchor="fig2" align="left" suppress-title="false" pn="figure-2">
<name slugifiedName="ramp-illustration">Illustration of up-ramp and down-ramp. </name>
<artwork align="left" name="" type="" alt="">
<![CDATA[
AS(L) ............. AS(K)
/ \
AS(L+1) AS(K-1)
. .
. .
(down-ramp) . .(up-ramp)
. .
. .
AS(N-1) AS(2)
/ \
AS(N) AS(1)
/ (Origin AS)
Receiving & Validating AS
Each ramp has consecutive ASPA-attested
customer-to-provider hops in the bottom-to-top direction
]]>
</artwork>
</figure>
</t>
<t>
Looking at <xref target="fig2"/>, the UPDATE is received from a provider or a mutual-transit neighbor (i.e., AS(N) has that role in relation to the receiver).
The AS_PATH may have both an up-ramp (on the right starting at AS(1)) and a down-ramp (on the left starting at AS(N)).
The ramps are described as a sequence of ASes that consists of consecutive customer-to-provider hops.
The up-ramp starts at AS(1) and each AS hop, (AS(i), AS(i+1)), in it has the property that hop(AS(i), AS(i+1)) = "Provider+" for i = 1, 2,... , K-1.
If such a K does not exist, then K is set to 1.
The up-ramp ends (reaches its apex) at AS(K) because hop(AS(K), AS(K+1)) = "Not Provider+" or "No Attestation".
The down-ramp runs backward from AS(N) to AS(L).
Each AS hop, (AS(j), AS(j-1)), in it has the property that hop(AS(j), AS(j-1)) = "Provider+" for j = N, N-1,... , L+1.
If such an L does not exist, then L is set to N.
The down-ramp ends at AS(L) because hop(AS(L), AS(L-1)) = "Not Provider+" or "No Attestation".
Thus, the apex of the down-ramp is AS(L).
</t>
<t>
If there is an up-ramp that runs across all ASes in the AS_PATH (i.e., K = N), then clearly the AS_PATH is Valid.
Similarly, if there is a down-ramp that runs across all ASes in the AS_PATH (i.e., L = 1), then also the AS_PATH is Valid.
However, if both ramps exist in an AS_PATH with K < N and L > 1, then the AS_PATH is Valid if and only if L-K <= 1.
Note that K could be greater than L (i.e., L-K has a negative value), which means that the up-ramp and down-ramp overlap, and that could happen when some adjacent ASes in the AS_PATH have mutual-transit relationship between them (i.e., include each other in their respective SPAS) (see <xref target="rec1"/>).
If L-K = 0, it means that the apexes of the up-ramp and down-ramp are at the same AS.
If L-K = 1, it means that the apexes are at adjacent ASes.
In summary, the AS_PATH is Valid if L-K is 0 or 1 or has a negative value.
</t>
<t>
------------
</t>
<t>
<strong>Determination of Unknown AS_PATH:</strong>
</t>
<t>
If L-K >= 2, then the AS_PATH is either Invalid (route leak) or Unknown (see illustrations and proof in <xref target="sriram1"/>).
However, if L-K >= 2 and an Invalid outcome was not found by the process described earlier in this section, then the AS_PATH is determined to be Unknown.
</t>
</section>
<section title="Formal Procedure for Verification of Downstream Paths" anchor="down-procedure">
<t>
The downstream path verification procedure is formally specified as follows:
</t>
<t>
<list style="numbers">
<t>
If the AS_PATH has an AS_SET, then the procedure halts with the outcome "Invalid".
</t>
<t>
Collapse prepends in the AS_SEQUENCE(s) in the AS_PATH (i.e., keep only the unique AS numbers).
Let the resulting ordered sequence be represented by {AS(N), AS(N-1), ..., AS(2), AS(1)}, where AS(1) is the first-added (i.e., origin) AS and AS(N) is the last-added AS and neighbor to the receiving/validating AS.
</t>
<t>
If 1 ≤ N ≤ 2, then the procedure halts with the outcome "Valid".
Else, continue.
</t>
<t>
At this step, N ≥ 3.
Given the above-mentioned ordered sequence, find the lowest value of u (2 ≤ u ≤ N) for which hop(AS(u-1), AS(u)) = "Not Provider+".
Call it u_min.
If no such u_min exists, set u_min = N+1.
Find the highest value of v (N-1 ≥ v ≥ 1) for which hop(AS(v+1), AS(v)) = "Not Provider+".
Call it v_max.
If no such v_max exists, then set v_max = 0.
If u_min ≤ v_max, then the procedure halts with the outcome "Invalid".
Else, continue.
</t>
<t>
Up-ramp: For 2 ≤ i ≤ N, determine the largest K such that hop(AS(i-1), AS(i)) = "Provider+" for each i in the range 2 ≤ i ≤ K.
If such a largest K does not exist, then set K = 1.
</t>
<!--
<t>
If K = N, then the procedure halts with the outcome "Valid".
Else, continue.
</t>
-->
<t>
Down-ramp: For N-1 ≥ j ≥ 1, determine the smallest L such that hop(AS(j+1), AS(j)) = "Provider+" for each j in the range N-1 ≥ j ≥ L.
If such smallest L does not exist, then set L = N.
</t>
<t>
If L-K ≤ 1, then the procedure halts with the outcome "Valid".
Else, the procedure halts with the outcome "Unknown".
</t>
</list>
</t>
<t>
In the above procedure, the computations in Steps 4, 5, and 6 can be done at the same time.
</t>
</section>
</section>
</section>
<section title="AS_PATH Verification and Anomaly Mitigation Recommendations" anchor="mitig">
<t>
AS_PATH verification and anomaly mitigation recommendations for ingress and egress eBGP routers are specified in this section.
</t>
<t>
The recommendations apply to eBGP routers in general, including those on the boundary of an AS Confederation facing external ASes.
However, the procedures for ASPA-based AS_PATH verification in this document are NOT RECOMMENDED for use on eBGP links internal to the Confederation.
</t>
<t>
The verification procedures described in this document MUST be applied to BGP routes with {AFI, SAFI} combinations {AFI 1 (IPv4), SAFI 1} and {AFI 2 (IPv6), SAFI 1} <xref target="IANA-AF"/>.
The procedures MUST NOT be applied to other address families by default.
</t>
<section title="Verification and Mitigation at Ingress eBGP Router" anchor="ingress">
<t>
<strong>Verification:</strong> Conforming implementations of this specification are not required to implement the AS_PATH verification procedures (step-wise lists) exactly as described in <xref target="Upflow"/> and <xref target="Downflow"/> but MUST provide functionality equivalent to the external behavior resulting from those procedures.
In other words, the algorithms used in a specific implementation may differ, for example, for computational efficiency purposes, but the AS_PATH verification outcomes MUST be identical to those obtained by the procedures described in <xref target="Upflow"/> and <xref target="Downflow"/>.
</t>
<t>
<strong>Mitigation:</strong> Mitigation recommendations are provided here with the understanding that the deployed mitigation policy is set by network operator discretion.
If the AS_PATH is determined to be Invalid, then the route SHOULD be considered ineligible for route selection
(see <xref target="terminology"/>) and MUST be kept in the Adj-RIB-In for potential future re-evaluation (see <xref target="RFC9324"/>).
Also, for any route with an Invalid AS_PATH, the cause of the Invalid state SHOULD be logged for monitoring and diagnostic purposes.
The cause of the Invalid state can be in the form of listing the AS hops which were evaluated by the hop-check function to be "Not Provider+".
For any route with an Unknown AS_PATH, the cause of the Unknown state SHOULD be logged for monitoring and diagnostic purposes.
The cause of the Unknown state can be in the form of listing the AS hops which were evaluated by the hop-check function to be "No Attestation".
</t>
</section>
<section title="Verification and Mitigation at Egress eBGP Router" anchor="egress">
<t>
<strong>Verification:</strong> The procedures for AS_PATH verification (<xref target="verif"/>) are also applicable at egress eBGP routers for preventing an AS from sending routes with Invalid AS_PATH to its eBGP neighbors (see <xref target="RFC8893"/> for a comparable idea for the RPKI-ROV case).
An egress eBGP router MUST add the AS of the router's BGP configuration (see <xref target="RFC8481"/> <xref target="RFC8893"/>) to the received AS_PATH (received in iBGP) and then apply the path verification procedures.
When redistributing into BGP from any source (e.g., IGP, iBGP, or from static or connected routes), there is no AS_PATH in the input route.
In such cases, the egress eBGP router MUST use the AS of the router's BGP configuration to form the AS_PATH for verification (see <xref target="RFC8481"/>).
</t>
<t>
<strong>Mitigation:</strong> Again, mitigation recommendations are provided here with the understanding that the deployed mitigation policy is set by network operator discretion.
If the outcome of applying the upstream algorithm (<xref target="Upflow"/>) is Invalid, then the route SHOULD NOT be propagated to a transit provider, lateral peer, RS (local AS has RS-client role), or RS-client (local AS has RS role).
If the outcome of applying the downstream algorithm (<xref target="Downflow"/>) is Invalid, then the route SHOULD NOT be propagated to an eBGP neighbor regardless of its BGP role (<xref target="role"/>).
</t>
</section>
</section>
<!--
<t>
The procedures specified in this document may be used in scenarios that use private AS numbers behind an Internet-facing ASN (e.g., a data-center network <xref target="RFC7938"/> or stub customer), but any details are outside the scope of this document.
</t>
-->
<section title="Properties of ASPA-based Path Verification" anchor="property">
<t>
The ASPA-based path verification procedures are able to check routes received from customers, lateral peers, transit providers, RSes, RS-clients, and mutual-transits.
These procedures combined with BGP Roles <xref target="RFC9234" /> and RPKI-ROV <xref target="RFC6811"/> <xref target="RFC9319"/> can provide a fully automated solution to detect and filter many of the ordinary prefix hijacks, route leaks, and prefix hijacks with forged-origin or forged-path-segment (see Property 3 below).
</t>
<t>
The ASPA-based path verification at ingress eBGP routers (<xref target="verif" />, <xref target="ingress" />) has the following properties (detection capabilities):
</t>
<t>
<list style="">
<t>
Property 1: Let AS A and AS B be any two ASes in the Internet doing ASPA (registration and path verification) and no assumption is made about the ASPA deployment status of other ASes.
Consider a route propagated from AS A to a customer or lateral peer.
The route is subsequently leaked by an offending AS in the AS path before being received at AS B on a customer or lateral peer interface.
The ASPA-based path verification at AS B always detects such a route leak though it may not be able to identify the AS that originated the leak.
This assertion is true even when the sender AS A (or receiver AS B) is an RS AS and the neighbor AS that AS A sent to (or AS B received from) is an RS-client.
</t>
<t>
Property 2: Again, let AS A and AS B be any two ASes in the Internet doing ASPA (registration and path verification) and no assumption is made about the ASPA deployment status of other ASes.
Consider a route received at AS B on a customer or lateral peer interface that is a forged-origin prefix hijack involving AS A as the forged-origin.
The ASPA-based path verification at AS B always detects such a forged-origin prefix hijack.
</t>
<t>
Property 3: This is an extension of Property 2 above to the case of prefix hijacking with a forged-path-segment.
Such hijacking refers to the forging of multiple contiguous ASes in an AS path beginning with the origin AS.
Again, let AS A and AS B be any two ASes in the Internet doing ASPA (registration and path verification).
Let AS A's providers, AS P and AS Q, also be registering ASPA.
No assumption is made about the ASPA deployment status of any other ASes in the Internet.
Consider a route received at AS B on a customer or lateral peer interface that is a prefix hijack with a forged-path-segment {AS P, AS A} or {AS Q, AS A}.
That is, the hijacker attaches this path-segment at the beginning of their route announcement.
The ASPA-based path verification at AS B always detects such a forged-path-segment prefix hijack.
For a chance to be successful (remain undetected by AS B), the hijacker may resort to a forged-path-segment with three ASes including a provider AS of AS P (or AS Q).
But even that can be foiled (detected) if the providers of AS P and AS Q also register ASPA.
Having to use a longer forged-path-segment to avoid detection by AS B diminishes the ability of the hijacked route to compete with the corresponding legitimate route in route selection.
</t>
<t>
Property 4: Let AS A, AS B, and AS C be any three ASes in the Internet doing ASPA (registration and path verification).
Consider a route propagated from AS A in any direction (i.e., to a neighbor AS with any of the BGP roles described in <xref target="role"/>).
Let the route be received at AS B from any direction and detected to be a route leak (facilitated due to a sufficient set of ASes doing ASPA in the AS path from AS A to AS B).
Assume that AS B's local policy is such that it only lowers the route's LOCAL_PREF <xref target="RFC4271"/>.
Let such a route, selected and forwarded by AS B, be subsequently received at AS C.
No assumption is made about the ASPA compliance of the ASes in the intervening path from AS B to AS C.
The ASPA-based path verification at AS C always detects such received route as a leak regardless of the direction (type of peer) it was received from.
</t>
<!-- Unused text - will be deleted
<t>
Property 5: Consider an ASPA island (i.e., a connected set of ASPA capable ASes). If any route is leaked by an AS that is a part of an ASPA island, and ASes immediately before and after it in BGP AS_PATH are also a part of the ASPA island, then ASPA-based path verification always detects such a route leak, no matter where it is received from (though it may not be able to identify the AS that originated the leak).
Property 5: Consider an ASPA island (i.e., a connected set of ASPA capable ASes). Let AS A and AS B be any two ASes in the ASPA island. Consider a route propagated from AS A in any direction (i.e., to a neighbor AS with any of the BGP roles described in <xref target="role"). The route is subsequently leaked by an offending AS in the AS path before being received at AS B from any direction. The ASPA-based path verification at AS B always detects such a route leak though it may not be able to identify the AS that originated the leak.
-->
</list>
</t>
<t>
In the description of the properties listed above, the term "customer" can be replaced with "RS-client".
</t>
<t>
An observation that follows from Property #1 above is that if any two ISP ASes register ASPAs and implement the detection
and mitigation procedures, then any route received from one of them and leaked to the other by a common customer AS
(ASPA compliant or not) will be automatically detected and mitigated.
In effect, if most major ISPs are compliant, the propagation of route leaks in the Internet will be severely limited.
</t>
<t>
The above properties show that ASPA-based path verification offers significant benefits to early adopters.
Limitations of the method with regard to some forms of malicious AS path manipulations are discussed in <xref target="security"/>.
</t>
</section>
<section title="Operational Considerations">
<section title="4-Byte AS Number Requirement">
<t>
The procedures specified in this document are compatible only with BGP implementations that support 4-byte ASNs in the AS_PATH.
This limitation should not have a real effect on operations since legacy BGP routers are rare, and it is highly unlikely that they support integration with the RPKI.
</t>
</section>
<section title="Correctness of the ASPA">
<t>
ASPA issuers should be aware of the implications of ASPA-based AS path verification.
Network operators must keep their ASPA objects correct and up to date.
Otherwise, for example, if a provider AS is left out of the Set of Provider ASes (SPAS) in the ASPA, then routes containing the CAS (in the ASPA) and said provider AS may be incorrectly labeled as route leaks and considered ineligible for route selection (see <xref target="ingress"/>).
</t>
</section>
<section title="Make Before Break">
<t>
ASPA issuers SHOULD apply the make-before-break principle while updating an ASPA registration.
For example, when adding new Provider AS(es) in the SPAS, if the new ASPA is meant to replace a previously created ASPA, the latter SHOULD be decommissioned only after allowing sufficient time for the new ASPA to propagate to Relying Parties (RP) through the global RPKI system.
</t>
</section>
<section title="DoS/DDoS Mitigation Service Provider">
<t>
An AS may have a mitigation service provider (MSP) for protection from Denial of Service (DoS)/Distributed DoS (DDoS) attacks targeting servers with IP addresses in the prefixes the AS originates.
Such an AS MAY include the MSP's AS in the SPAS of its ASPA.
With such an ASPA in place, in the event of an attack, the AS (customer of the MSP) can announce more specific prefixes (over a BGP session) to the MSP's AS for mitigation purposes, and such announcements would be able to pass the ASPA-based path verification.
It is assumed that appropriate ROAs are registered in advance so that the announcements can pass RPKI-ROV as well.
</t>
</section>
</section>
<section title="Comparison to Other Technologies">
<section title="BGPsec">
<t>
BGPsec <xref target="RFC8205"/> was designed to solve the problem of AS_PATH verification by including cryptographic signatures in BGP Update messages.
It offers protection against unauthorized path modifications and assures that the BGPsec Update actually traveled the path shown in the BGPsec_PATH Attribute.
However, it does not detect route leaks (valley-free violations).
In comparison, the ASPA-based path verification described in this document detects if the AS path is improbable and focuses on detecting route leaks (including malicious cases) and forged-origin hijacks.
</t>
<t>
BGPsec and ASPA are complementary technologies.
</t>
</section>
<section title="Peerlock">
<t>
The Peerlock mechanism <xref target="Peerlock"/> <xref target="Flexsealing"/> has a similar objective as the APSA-based route leak protection mechanism described in this document.
It is commonly deployed by large Internet carriers to protect each other from route leaks.
Peerlock depends on a laborious manual process in which operators coordinate the distribution of unstructured Provider Authorizations through out-of-band means in a many-to-many fashion.
On the other hand, ASPA's use of the RPKI allows for automated, scalable, and ubiquitous deployment, making the protection mechanism available to a wider range of network operators.
</t>
<t>
The ASPA mechanism implemented in router code (in contrast to Peerlock's AS_PATH regular expressions) also provides a way to detect anomalies propagated from transit providers and IX route servers.
ASPA is intended to be a complete solution and replacement for existing Peerlock deployments.
</t>
</section>
</section>
<section anchor="IANA" title="IANA Considerations">
<t>
This document includes no request to IANA.
</t>
</section>
<section anchor="security" title="Security Considerations">
<t>
While the ASPA-based mechanism is able to detect and mitigate the majority of mistakes and malicious activity affecting routes, it might fail to detect some malicious path modifications, especially for routes that are received from transit providers.
</t>
<t>
Since an upstream provider becomes a trusted point, in theory, it might be able to propagate some instances of hijacked prefixes with forged-origin or forged-path-segment or even routes with manipulated AS_PATHs, and such attacks might go undetected by its customers.
This can be illustrated with some examples.
In <xref target="fig3"/>, normally the receiving/validating AS located at the lower left side should receive a route with AS_PATH {AS(5), AS(4), AS(3), AS(2), AS(1)} and it would be Valid (<xref target="Downflow"/>) given all the ASPAs that are shown in the figure.
However, if AS(5) which is a transit provider to the validating AS acts maliciously and sends the route with a shortened AS_PATH such as {AS(5), AS(3), AS(2), AS(1)} or {AS(5), AS(2), AS(1)}, such path manipulation would be undetectable (i.e., the AS_PATH would be considered Valid).
Also, if AS(5) were to perform a forged-origin hijack by inserting an AS_PATH {AS(5), AS(1)}, that would also be undetectable.
</t>
<t>
<figure anchor="fig3" align="left" suppress-title="false" pn="figure-3">
<name slugifiedName="attack">Illustration for discussion of undetectable AS_PATH manipulations.</name>
<artwork align="left" name="" type="" alt="">
<![CDATA[
AS(4) - AS(3)
/ \
(down-ramp) / \ (up-ramp)
AS(5) AS(2)
/ \
/ AS(1)
/ (Origin AS)
Receiving & Validating AS
ASPAs: {AS(1), [AS(2)]}, {AS(2), [AS(3)]}, {AS(5), [AS(4)]},
{AS(3), [AS 0]}, {AS(4), [AS 0]}
]]>
</artwork>
</figure>
</t>
<t>
While attacks like the examples above may happen, it does not seem to be a realistic scenario.
Normally a customer and their transit provider would have a signed agreement, and a policy violation (of the above kind) should have legal consequences or the customer can just drop the relationship with such a provider and remove the corresponding ASPA record.
</t>
<t>
The key properties or strengths of the ASPA method were described in <xref target="property"/>.
If detection of any and all kinds of path manipulation attacks is the goal, then BGPsec <xref target="RFC8205"/> would need to be deployed complementary to the ASPA method.
It may be noted that BGPsec in its current form lacks route leak detection capabilities.
</t>
</section>
<section removeInRFC="true">
<name>Implementation Status</name>
<t>
This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft.
The inclusion of this section here follows the process described in <xref target="RFC7942"/>.
The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs.
Please note that the listing of any individual implementation here does not imply endorsement by the IETF.
Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors.
This is not intended as, and must not be construed to be, a catalog of available implementations or their features.
Readers are advised to note that other implementations may exist.
</t>
<t>
According to <xref target="RFC7942"/>, "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature.
It is up to the individual working groups to use this information as they see fit".
</t>
<t>
<ul>
<li>
A BGP implementation <xref target="bgpd">OpenBGPD</xref> (version 7.8 and higher), written in C, was provided by Claudio Jeker, Theo Buehler, and Job Snijders.
</li>
<li>
The implementation NIST-BGP-SRx <xref target="BGP-SRx"/> is a software suite that provides a validation engine (BGP-SRx) and a Quagga-based BGP router (Quagga-SRx).
It includes unit test cases for testing the ASPA-based path verification.
It was provided by Oliver Borchert, Kyehwan Lee, and their colleagues at US NIST.
It requires some additional work to incorporate the latest changes in the draft specifications related to IXP RS AS and RS-client.
</li>
</ul>
</t>
</section>
</middle>
<back>
<references title="Normative References">
<?rfc include="reference.RFC.2119.xml"?>
<?rfc include="reference.RFC.6480.xml"?>
<?rfc include="reference.RFC.6482.xml"?>
<?rfc include="reference.RFC.6811.xml"?>
<?rfc include="reference.RFC.4271.xml"?>
<?rfc include="reference.RFC.6793.xml"?>
<?rfc include="reference.RFC.7606.xml"?>
<?rfc include="reference.RFC.7908.xml"?>
<?rfc include="reference.RFC.8174.xml"?>
<?rfc include="reference.RFC.8481.xml"?>
<?rfc include="reference.RFC.8893.xml"?>
<?rfc include="reference.RFC.9234.xml"?>
<?rfc include="reference.RFC.9324.xml"?>
<?rfc include="reference.I-D.ietf-sidrops-aspa-profile.xml"?>
</references>
<references title="Informative References">
<?rfc include="reference.RFC.3779.xml"?>
<?rfc include="reference.RFC.5280.xml"?>
<?rfc include="reference.RFC.8205.xml"?>
<!-- <?rfc include="reference.RFC.7938.xml"?> -->
<?rfc include="reference.RFC.7942.xml"?>
<?rfc include="reference.RFC.9319.xml"?>
<?rfc include="reference.I-D.ietf-grow-route-leak-detection-mitigation.xml"?>
<?rfc include="reference.I-D.ietf-idr-deprecate-as-set-confed-set.xml"?>
<reference anchor="Peerlock" target="https://www.nanog.org/sites/default/files/Snijders_Everyday_Practical_Bgp.pdf">
<front>
<title>Peerlock</title>
<author fullname="Job Snijders" initials="J." surname="Snijders">
<organization abbrev="NTT">NTT Communications</organization>
</author>
<date month="June" year="2016"/>
</front>
</reference>
<reference anchor="Flexsealing" target="https://arxiv.org/pdf/2006.06576.pdf">
<front>
<title>Flexsealing BGP Against Route Leaks: Peerlock Active Measurement and Analysis</title>
<author fullname="Tyler McDaniel" initials="T." surname="McDaniel">
<organization>University of Tennesse</organization>
</author>
<author fullname="Jared M. Smith" initials="J." surname="Smith">
<organization>University of Tennesse</organization>
</author>
<author fullname="Max Schuchard" initials="M." surname="Schuchard">
<organization>University of Tennesse</organization>
</author>
<date month="November" year="2020"/>
</front>
</reference>
<reference anchor="sriram1" target="https://datatracker.ietf.org/meeting/110/materials/slides-110-sidrops-sriram-aspa-alg-accuracy-01">
<front>
<title>On the Accuracy of Algorithms for ASPA Based Route Leak Detection</title>
<author initials="K." surname="Sriram"><organization /></author>
<author initials="J." surname="Heitz"><organization /></author>
<date month="March" year="2021"/>
</front>
<seriesInfo name="IETF SIDROPS Meeting," value="Proceedings of the IETF 110" />
</reference>
<!--
<reference anchor="sriram2" target="https://datatracker.ietf.org/meeting/113/materials/slides-113-sidrops-aspa-verification-procedures-01">
<front>
<title>ASPA Verification Procedures: Enhancements and RS Considerations</title>
<author initials="K." surname="Sriram"><organization /></author>
<date year="" />
</front>
<seriesInfo name="IETF SIDROPS Meeting," value="Proceedings of the IETF 113, March 2022" />
</reference>
-->
<reference anchor="IANA-AF" target="https://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml" quote-title="true">
<front>
<title>Address Family Numbers</title>
<author>
<organization>IANA</organization>
</author>
<date/>
</front>
<!-- <seriesInfo name="Reachable from" value="http://www.iana.org/numbers.html"/> -->
</reference>
<reference anchor="IANA-SAF" target="https://www.iana.org/assignments/safi-namespace/safi-namespace.xhtml" quote-title="true">
<front>
<title>Subsequent Address Family Identifiers (SAFI) Parameters</title>
<author>
<organization>IANA</organization>
</author>
<date/>
</front>
<!-- <seriesInfo name="Reachable from" value="http://www.iana.org/numbers.html"/> -->
</reference>
<reference anchor="bgpd" target="http://www.openbgpd.org/">
<front>
<title>OpenBGPD</title>
<author initials="C." surname="Jeker">
<organization>OpenBSD</organization>
</author>
<date/>
</front>
</reference>
<reference anchor="BGP-SRx" target="https://www.nist.gov/services-resources/software/bgp-secure-routing-extension-bgp-srx-software-suite">
<front>
<title>BGP Secure Routing Extension (BGP-SRx) Software Suite</title>
<author>
<organization>NIST</organization>
</author>
</front>
<seriesInfo name="NIST Open-Source Software" value="" />
</reference>
</references>
<section anchor="Acknowledgments" title="Acknowledgments">
<t>
The authors wish to thank Jakob Heitz, Amir Herzberg, Igor Lubashev, Ben Maddison, Russ Housley, Jeff Haas, Nan Geng, Nick Hilliard, Shunwan Zhuang, Yangyang Wang, Martin Hoffmann, Jay Borkenhagen, Amreesh Phokeer, Aftab Siddiqui, Dai Zhibin, Doug Montgomery, Rich Compton, Andrei Robachevsky, and Iljitsch van Beijnum for comments, suggestions, and discussion on the path verification procedures or the text in the document.
For the implementation and testing of the procedures in the document, the authors wish to thank Claudio Jeker and Theo Buehler <xref target="bgpd"/> as well as Kyehwan Lee and Oliver Borchert <xref target="BGP-SRx"/>.
</t>
</section>
<section title="Contributors" numbered="no">
<t>
The following people made significant contributions to this document and should be considered co-authors:
</t>
<figure><artwork><![CDATA[
Claudio Jeker
OpenBSD
Email: [email protected]
]]></artwork></figure>
</section>
</back>
</rfc>