reformat filter files

Proper spelling of names

Improve wording

Correction capitalization

Heading correction

Update software name

Signed-off-by: Marek Küthe <m.k@mk16.de>

remove reference to deleted file

improve wording
This commit is contained in:
Marek Küthe 2023-06-21 10:08:15 +02:00
parent 4e7c6637dd
commit cd5baac7ff
No known key found for this signature in database
GPG key ID: 7E869146699108C7
2 changed files with 16 additions and 15 deletions

View file

@ -1,16 +1,17 @@
# To Quagga Rules:
# To FRR Rules:
# cat filter6.txt | \
# grep -e ^[0-9] | \
# awk '{ print "ipv prefix-list dn42v6-in seq " $1 " " $2 " " $3 " ge " $4 " le " $5}' | \
# sed "s_/\([0-9]\+\) ge \1_/\1_g;s_/\([0-9]\+\) le \1_/\1_g"
#
# For BIRD Rules: (see also: utils/bgp-filter.rb)
# For BIRD Rules:
# cat filter6.txt | \
# awk 'BEGIN {printf "function is_valid_network() {\n return net ~ [\n" } \
# /^[0-9]/ && $2 ~ /permit/ {printf " %s{%s,%s},\n", $3, $4, $5};' | \
# sed "$ s/,$/\n ];\n}/"
# The rules MUST be sorted by the number column first and then the first matching rule MUST be used. # ROAs MUST be checked against these rules and max-length of the ROA NUST NOT be longer than allowed by the matching rule.
# The rules MUST be sorted by the number column first and then the first matching rule MUST be used.
# ROAs MUST be checked against these rules and max-length of the ROA NUST NOT be longer than allowed by the matching rule.
# Nr Action Prefix MinLen MaxLen # Comment