diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-11 20:10:31 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-11 20:10:31 +0200 |
commit | 1cfbc01b6a3d657058856433ecd97ea9181e5019 (patch) | |
tree | c167397d5c7efec4d71a5e687877e63de035f010 /tnet/files/hash/bird-tnet-pre.conf | |
parent | 5ecd6c2c2586495bb23d5d57c334edcb10cd8492 (diff) | |
download | infra-1cfbc01b6a3d657058856433ecd97ea9181e5019.tar.gz infra-1cfbc01b6a3d657058856433ecd97ea9181e5019.tar.bz2 infra-1cfbc01b6a3d657058856433ecd97ea9181e5019.tar.xz infra-1cfbc01b6a3d657058856433ecd97ea9181e5019.zip |
tnet: Updating changes from knot.
Diffstat (limited to 'tnet/files/hash/bird-tnet-pre.conf')
-rw-r--r-- | tnet/files/hash/bird-tnet-pre.conf | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tnet/files/hash/bird-tnet-pre.conf b/tnet/files/hash/bird-tnet-pre.conf index 7994dfe..383c050 100644 --- a/tnet/files/hash/bird-tnet-pre.conf +++ b/tnet/files/hash/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 + ]; } |