From 8984c4925be1d1223064fa802c6ca687e7915cd3 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Tue, 6 Dec 2022 10:41:52 +0200 Subject: [PATCH] BIRD: Added filters section --- docs/routing/bird/bird.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/routing/bird/bird.md b/docs/routing/bird/bird.md index 5b22407..6cd180c 100644 --- a/docs/routing/bird/bird.md +++ b/docs/routing/bird/bird.md @@ -76,6 +76,20 @@ ipv6 table crxn; You can choose any name for the table you want but you will just need to remember it such that you can refer to it later when it is needed. +### Filters + +We need to define a filter which will be used to filter out any incorrect routes we want to advertise _to_ the network but also prevents any incorrect routes that are being propagated _from_ any misconfigured BIRD instances on the network: + +``` +filter crxnFilter +{ + if (net ~ fd00::/8) then accept; + reject; +} +``` + +TODO: Add a check about not installing RTD_UNREACHABLEs which babel will generate sometimes and which BIRD reportedly has undefined behaviour with + --- Old stuff below WIP):