diff options
Diffstat (limited to 'tnet/files')
-rw-r--r-- | tnet/files/akili/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/akili/bird-tnet.conf | 38 | ||||
-rw-r--r-- | tnet/files/astyanax/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/astyanax/bird-tnet.conf | 38 | ||||
-rw-r--r-- | tnet/files/hash/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/hash/bird-tnet.conf | 56 | ||||
-rw-r--r-- | tnet/files/knot/bird-tnet-pre.conf | 21 | ||||
-rw-r--r-- | tnet/files/knot/bird-tnet.conf | 79 | ||||
-rw-r--r-- | tnet/files/lhn2pi/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/lhn2pi/bird-tnet.conf | 38 | ||||
-rw-r--r-- | tnet/files/node1/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/node1/bird-tnet.conf | 38 | ||||
-rw-r--r-- | tnet/files/node2/bird-tnet-pre.conf | 7 | ||||
-rw-r--r-- | tnet/files/node2/bird-tnet.conf | 38 |
14 files changed, 0 insertions, 388 deletions
diff --git a/tnet/files/akili/bird-tnet-pre.conf b/tnet/files/akili/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/akili/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/akili/bird-tnet.conf b/tnet/files/akili/bird-tnet.conf deleted file mode 100644 index f9b9d08..0000000 --- a/tnet/files/akili/bird-tnet.conf +++ /dev/null @@ -1,38 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fdb1:4242:3538:ffff:ca85:f812:3935:5fba; - interface "tnet-hash"; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fdb1:4242:3538:ffff:59d7:cf77:8b5d:761a; - interface "tnet-knot"; -} diff --git a/tnet/files/astyanax/bird-tnet-pre.conf b/tnet/files/astyanax/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/astyanax/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/astyanax/bird-tnet.conf b/tnet/files/astyanax/bird-tnet.conf deleted file mode 100644 index d697e54..0000000 --- a/tnet/files/astyanax/bird-tnet.conf +++ /dev/null @@ -1,38 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fe80:a0fd:89e4:42c6:f617:7398:abf4:b516; - interface "tnet-hash"; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fe80:6728:53fc:fc81:40b3:9beb:8336:ba56; - interface "tnet-knot"; -} diff --git a/tnet/files/hash/bird-tnet-pre.conf b/tnet/files/hash/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/hash/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/hash/bird-tnet.conf b/tnet/files/hash/bird-tnet.conf deleted file mode 100644 index 16ce2cc..0000000 --- a/tnet/files/hash/bird-tnet.conf +++ /dev/null @@ -1,56 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_astyanax from tnet_tpl { - neighbor fe80:a0fd:89e4:42c6:f617:7398:abf4:b517; - interface "tnet-astyanax"; - - rr client; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fe80:3b20:4cb0:5315:22a:c7de:a45b:8a7c; - interface "tnet-knot"; - - rr client; -} - -protocol bgp tnet_node1 from tnet_tpl { - neighbor fe80:a026:6ec2:b356:21c5:b51:22b9:a1df; - interface "tnet-node1"; - - rr client; -} - -protocol bgp tnet_node2 from tnet_tpl { - neighbor fe80:a7a6:c1a8:c261:232e:7d67:fc27:7c8d; - interface "tnet-node2"; - - rr client; -} diff --git a/tnet/files/knot/bird-tnet-pre.conf b/tnet/files/knot/bird-tnet-pre.conf deleted file mode 100644 index ec31fa2..0000000 --- a/tnet/files/knot/bird-tnet-pre.conf +++ /dev/null @@ -1,21 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} - -roa6 table dn42_roa; - -protocol static { - roa6 { table dn42_roa; }; - include "/etc/bird/dn42_roa_bird2_6.conf"; -}; - -function dn42_is_valid_network() # -> bool -{ - return net ~ [ - fd00::/8{44,64} # ULA address space as per RFC 4193 - ]; -} diff --git a/tnet/files/knot/bird-tnet.conf b/tnet/files/knot/bird-tnet.conf deleted file mode 100644 index 66189e1..0000000 --- a/tnet/files/knot/bird-tnet.conf +++ /dev/null @@ -1,79 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fe80:3b20:4cb0:5315:22a:c7de:a45b:8a7d; - interface "tnet-hash"; - - rr client; -} - -protocol bgp tnet_node1 from tnet_tpl { - neighbor fe80:58eb:3930:1815:2a6d:8918:70c9:96f3; - interface "tnet-node1"; - - rr client; -} - -protocol bgp tnet_node2 from tnet_tpl { - neighbor fe80:9dd8:abac:cf05:aea3:dc03:4c74:32db; - interface "tnet-node2"; - - rr client; -} - -protocol bgp routedbits_lon1 { - local as 4242423538; - neighbor fe80::207; - neighbor as 4242420207; - interface "tnet-rtdbts_l1"; - - ipv6 { - import filter { - if dn42_is_valid_network() && !is_tnet() then { - # Check when unknown or invalid according to ROA - if (roa_check(dn42_roa, net, bgp_path.last) = ROA_VALID) then { - accept; - } else { - print "[dn42] ROA check failed for ", net, " ASN ", bgp_path.last; - reject; - } - } else { - reject; - } - }; - export filter { - if dn42_is_valid_network() && source ~ [RTS_STATIC, RTS_BGP] then { - accept; - } else { - reject; - } - }; - }; -} diff --git a/tnet/files/lhn2pi/bird-tnet-pre.conf b/tnet/files/lhn2pi/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/lhn2pi/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/lhn2pi/bird-tnet.conf b/tnet/files/lhn2pi/bird-tnet.conf deleted file mode 100644 index 864ad0b..0000000 --- a/tnet/files/lhn2pi/bird-tnet.conf +++ /dev/null @@ -1,38 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fe80:6195:1d43:9655:35f7:9dba:798c:26b8; - interface "tnet-hash"; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fdb1:4242:3538:ffff:374e:2c7d:319e:e526; - interface "tnet-knot"; -} diff --git a/tnet/files/node1/bird-tnet-pre.conf b/tnet/files/node1/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/node1/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/node1/bird-tnet.conf b/tnet/files/node1/bird-tnet.conf deleted file mode 100644 index 88bd6f8..0000000 --- a/tnet/files/node1/bird-tnet.conf +++ /dev/null @@ -1,38 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fe80:a026:6ec2:b356:21c5:b51:22b9:a1de; - interface "tnet-hash"; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fe80:58eb:3930:1815:2a6d:8918:70c9:96f2; - interface "tnet-knot"; -} diff --git a/tnet/files/node2/bird-tnet-pre.conf b/tnet/files/node2/bird-tnet-pre.conf deleted file mode 100644 index 7994dfe..0000000 --- a/tnet/files/node2/bird-tnet-pre.conf +++ /dev/null @@ -1,7 +0,0 @@ -define tnet = fdb1:4242:3538::/48; -define tnet_router = fdb1:4242:3538:ffff::/64; - -function is_tnet() # -> bool -{ - return net ~ tnet && ! (net ~ tnet_router); -} diff --git a/tnet/files/node2/bird-tnet.conf b/tnet/files/node2/bird-tnet.conf deleted file mode 100644 index 99dfc5e..0000000 --- a/tnet/files/node2/bird-tnet.conf +++ /dev/null @@ -1,38 +0,0 @@ -template bgp tnet_tpl { - local as 4242423538; - neighbor internal; - - direct; - - password "trygvis"; - - ipv6 { - next hop self; - import filter { - if is_tnet() then { - print proto, ": import accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": import reject, reason=not tnet"; reject; - }; - # newer bird's only - # import keep filtered; - export filter { - if is_tnet() then { - print proto, ": export accept, net=", net, ", from=", from, ", gw=", gw; - accept; - } - print proto, ": export reject, reason=not tnet"; reject; - }; - }; -} - -protocol bgp tnet_hash from tnet_tpl { - neighbor fe80:a7a6:c1a8:c261:232e:7d67:fc27:7c8c; - interface "tnet-hash"; -} - -protocol bgp tnet_knot from tnet_tpl { - neighbor fe80:9dd8:abac:cf05:aea3:dc03:4c74:32da; - interface "tnet-knot"; -} |