Set max-len option for prefixes
marek22k opened this issue · 1 comments
marek22k commented
Problem
It is important to record in the ROA what the maximum length is that you can anounce. BGP Demons always try to choose the route that is the most accurate one. It is now possible that someone else hjacks routes by announcing a smaller prefix. Therefore it is important to be able to set the maximum prefix length.
Solution
I propose to introduce an attribute "max-len" in the route object under the prefix, with which you can set the maximum length.
Example
["10.127.131.0/24"]
type = "subnet"
max-len = 24
name = "IX42-LAS-4"
description = "For IX42 (DN42 Internet eXchange (Las Vegas)) IPv4"
["fd10:127:1300::/48"]
type = "subnet"
max-len = 48
name = "IX42-LAS-6"
description = "For IX42 (DN42 Internet eXchange (Las Vegas)) IPv6"
marek22k commented
Thanks!