From 1cfbc01b6a3d657058856433ecd97ea9181e5019 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 11 Aug 2024 20:10:31 +0200 Subject: tnet: Updating changes from knot. --- tnet/files/node1/bird-tnet-pre.conf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'tnet/files/node1/bird-tnet-pre.conf') diff --git a/tnet/files/node1/bird-tnet-pre.conf b/tnet/files/node1/bird-tnet-pre.conf index 7994dfe..383c050 100644 --- a/tnet/files/node1/bird-tnet-pre.conf +++ b/tnet/files/node1/bird-tnet-pre.conf @@ -3,5 +3,19 @@ define tnet_router = fdb1:4242:3538:ffff::/64; function is_tnet() # -> bool { - return net ~ tnet && ! (net ~ tnet_router); + 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 + ]; } -- cgit v1.2.3