Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Mar 26, 2024
1 parent 336de1d commit a784789
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 41 deletions.
27 changes: 14 additions & 13 deletions docs/SUPPORTED_SPEAKERS_CI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Total test cases per BGP speaker
=============== ========= ============ ============ ===========
**BGP speaker** **Total** **Passed ✔** **Failed ✖** **Skipped**
BIRD 830 821 0 9
BIRD v2 939 929 0 10
BIRD v2 940 930 0 10
BIRD v3 846 837 0 9
OpenBGPD 8.4 458 455 0 3
=============== ========= ============ ============ ===========
Expand Down Expand Up @@ -131,18 +131,19 @@ reconfigure ✔ ✔ ✔
RFC8950
+++++++

================================= ======== =========== =========== ================
**Test** **BIRD** **BIRD v2** **BIRD v3** **OpenBGPD 8.4**
RPKI VALID routes ✔
RPKI rejected routes, AS0 ✔
RPKI rejected routes, INVALID ✔
accepted routes ✔
dropped routes, not in r_set ✔
log contains errors ✔
next hop authorized address AS2_1 ✔
next hop same-as AS1_2 ✔
next hop strict mode on AS1_1 ✔
================================= ======== =========== =========== ================
================================================================= ======== =========== =========== ================
**Test** **BIRD** **BIRD v2** **BIRD v3** **OpenBGPD 8.4**
IPv4 prefix length within ipv6_pref_len but outside ipv4_pref_len ✔
RPKI VALID routes ✔
RPKI rejected routes, AS0 ✔
RPKI rejected routes, INVALID ✔
accepted routes ✔
dropped routes, not in r_set ✔
log contains errors ✔
next hop authorized address AS2_1 ✔
next hop same-as AS1_2 ✔
next hop strict mode on AS1_1 ✔
================================================================= ======== =========== =========== ================

RPKI INVALID tagging, IPv4
++++++++++++++++++++++++++
Expand Down
6 changes: 3 additions & 3 deletions examples/auto-config/bird4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ filter receive_from_AS10745_1 {
{ tag_and_reject(14, 10745); reject "RPKI, route is INVALID - REJECTING ", net; }

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
{ tag_and_reject(13, 10745); reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; }

honor_graceful_shutdown();
Expand Down Expand Up @@ -1167,7 +1167,7 @@ filter receive_from_AS3333_1 {
{ tag_and_reject(14, 3333); reject "RPKI, route is INVALID - REJECTING ", net; }

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
{ tag_and_reject(13, 3333); reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; }

honor_graceful_shutdown();
Expand Down Expand Up @@ -1393,7 +1393,7 @@ filter receive_from_AS65551_1 {
{ tag_and_reject(14, 65551); reject "RPKI, route is INVALID - REJECTING ", net; }

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
{ tag_and_reject(13, 65551); reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; }

honor_graceful_shutdown();
Expand Down
4 changes: 2 additions & 2 deletions examples/bird_hooks/bird4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ filter receive_from_AS10745_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -835,7 +835,7 @@ filter receive_from_AS3333_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down
2 changes: 1 addition & 1 deletion examples/bird_hooks/bird6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ filter receive_from_AS10745_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down
6 changes: 3 additions & 3 deletions examples/default/bird4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ filter receive_from_AS10745_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -539,7 +539,7 @@ filter receive_from_AS3333_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -715,7 +715,7 @@ filter receive_from_AS65551_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down
2 changes: 1 addition & 1 deletion examples/default/bird6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ filter receive_from_AS10745_2 {
} else {

# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down
8 changes: 4 additions & 4 deletions examples/default/bird_v2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ filter receive_from_AS10745_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -653,7 +653,7 @@ filter receive_from_AS10745_2 {
} else {

# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down Expand Up @@ -831,7 +831,7 @@ filter receive_from_AS3333_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -1007,7 +1007,7 @@ filter receive_from_AS65551_1 {
} else {

# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down
6 changes: 3 additions & 3 deletions examples/rich/bird4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ filter receive_from_AS10745_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -2102,7 +2102,7 @@ filter receive_from_AS197000_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -2331,7 +2331,7 @@ filter receive_from_AS3333_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down
4 changes: 2 additions & 2 deletions examples/rich/bird6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ filter receive_from_AS10745_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down Expand Up @@ -2123,7 +2123,7 @@ filter receive_from_AS197000_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down
10 changes: 5 additions & 5 deletions examples/rich/bird_v2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ filter receive_from_AS10745_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -2254,7 +2254,7 @@ filter receive_from_AS10745_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down Expand Up @@ -2476,7 +2476,7 @@ filter receive_from_AS197000_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -2702,7 +2702,7 @@ filter receive_from_AS197000_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down Expand Up @@ -2929,7 +2929,7 @@ filter receive_from_AS3333_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down
8 changes: 4 additions & 4 deletions examples/rpki_rtr/bird_v2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ filter receive_from_AS10745_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -688,7 +688,7 @@ filter receive_from_AS10745_2 {


# Prefix: length
if !prefix_len_is_valid(12, 48) then
if net.type = NET_IP6 && !prefix_len_is_valid(12, 48) then
reject "prefix len [", net.len, "] not in 12-48 - REJECTING ", net;


Expand Down Expand Up @@ -868,7 +868,7 @@ filter receive_from_AS1_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down Expand Up @@ -1048,7 +1048,7 @@ filter receive_from_AS3333_1 {


# Prefix: length
if !prefix_len_is_valid(8, 24) then
if net.type = NET_IP4 && !prefix_len_is_valid(8, 24) then
reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net;


Expand Down

0 comments on commit a784789

Please sign in to comment.