From 2ed02e7b02053a8f2fbb47c6dd2eec270eb9e8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Sat, 7 Jan 2023 20:34:54 +0100 Subject: [PATCH] add docs for babeld maxlen filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Küthe --- docs/routing/babeld/maxlen-filter.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/routing/babeld/maxlen-filter.md diff --git a/docs/routing/babeld/maxlen-filter.md b/docs/routing/babeld/maxlen-filter.md new file mode 100644 index 0000000..e6cfeb6 --- /dev/null +++ b/docs/routing/babeld/maxlen-filter.md @@ -0,0 +1,6 @@ + +# Implement max-len filter + +To implement a max-length filter, we need a rule/policy/filter file that contains the corresponding prefixes with their maximum length. The entitydb contains a bash script `build_maxlen_filter.sh` for this purpose. If you run this script with the argument `babeld`, you will get a babeld-compatible list. + +This list can now be inserted into the configuration file instead of `in ip fd00::/8 le 64 ge 44 allow`. It is recommended to automate this process.