Static routes after `configure` CLI command
Vladimir Osmolovskiy
vladimir.osmolovskiy at gmail.com
Mon Dec 3 14:10:43 CET 2018
On the master branch. Config file don't change.
protocol static {
route 20.1.100.0 /24 multipath
via 10.10.10.2 weight 10;
}
As far as I understand the source code, when configuring, all static routes
are deleted ( *static.c*
<https://gitlab.labs.nic.cz/labs/bird/blob/master/proto/static/static.c>
:557-560 ). After that static routes adding again ( *static.c*
<https://gitlab.labs.nic.cz/labs/bird/blob/master/proto/static/static.c>
:563-570 ). If neighbor 10.10.10.2 periodic up/down, neigh_hash_table may
contain incorrect data and call segfault
пн, 3 дек. 2018 г. в 17:38, Ondrej Zajicek <santiago at crfreenet.org>:
> On Mon, Dec 03, 2018 at 03:06:02PM +0500, Vladimir Osmolovskiy wrote:
> > Hello!
> > In CLI command line, after 'configure' command, pointer to static routes
> > in neighbor structure not valid.
>
> Hello
>
> Thanks for the bugreport. In which version and under what circumstances
> it happens (e.g. 'configure' with the same config file or after some
> changes to static routes)?
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20181203/5a7b92b0/attachment.html>
More information about the Bird-users
mailing list