[FROG] FRR "overlooks" creation of kernel routes (on linux) - how to debug?

Eugene Crosser crosser at average.org
Fri Mar 25 16:03:41 UTC 2022


On 25/03/2022 15:38, Eugene Crosser wrote:

> It looks
> like netlink messages NEWROUTE and DELROUTE are never seen by zebra
> process,

It looks like I was enabling wrong debug options: I see that they are
received by the process (with `debug zebra kernel`)

I think that I have something to work with now. Will update when I find
what is not working.

By the way one thing that is very probably missing in the zebra code is
handling of NLM_F_DUMP_INTR flag in nlhdr. If it is not checked, result
of "dump" (bulk read of all routes, for example) will be occasionally
inconsistent. Apparently zebra only does that at startup. Still, not a
good thing.

Regards

Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20220325/b94230ae/attachment.sig>


More information about the frog mailing list