diff options
author | Maria Matejka <mq@ucw.cz> | 2021-10-22 19:43:55 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-06 15:15:03 +0200 |
commit | 71b3456eede17be6646b7deebff84f34ee5755f7 (patch) | |
tree | 0f5b8bc9790f735db37f396548072670080a8bf0 /conf/conf.h | |
parent | d2c1036a42881d413ec97203ede92a69f8cd218f (diff) |
Better profylaction recursive route loops
In some specific configurations, it was possible to send BIRD into an
infinite loop of recursive next hop resolution. This was caused by route
priority inversion.
To prevent priority inversions affecting other next hops, we simply
refuse to resolve any next hop if the best route for the matching prefix
is recursive or any other route with the same preference is recursive.
Next hop resolution doesn't change route priority, therefore it is
perfectly OK to resolve BGP next hops e.g. by an OSPF route, yet if the
same (or covering) prefix is also announced by iBGP, by retraction of
the OSPF route we would get a possible priority inversion.
Diffstat (limited to 'conf/conf.h')
0 files changed, 0 insertions, 0 deletions