[Bug] Mixed BFD session for peers with same IPv6 link-local addresses on different interfaces
Ondrej Zajicek
santiago at crfreenet.org
Thu Jan 14 03:54:49 CET 2021
On Sun, Oct 11, 2020 at 02:13:19AM +0800, Wang Shanker wrote:
> Hi, all
>
> In bird, BFD sessions are distinguished only by their peers' address, so if multiple routing protocols request BFD session for the same neighbor, they can share and be controlled by one session. Normally it won't be a problem. However, it is not the case when it come to the IPv6 link-local addresses.
>
> Since fe80:: addresses are link-local, the same address on different interfaces refers to different nodes. So when requesting BFD sessions for neighbors with link-local address, the destination interface should also be considered.
>
> This issue can be reproduced by the following configuration with the latest commit in legacy branch, and a similar configuration with the latest commit in master branch:
Hi
(Noticed while looking for some missed / forgotten e-mails)
Thanks for the bugreport, fixed here (with contribution from Sebastian Hahn):
https://gitlab.nic.cz/labs/bird/-/commit/910adaa08bbd416288797505399ab47f990817e6
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210114/bd59bc21/attachment.sig>
More information about the Bird-users
mailing list