On Wed, Apr 07, 2021 at 09:32:20AM -0400, Patrick Hemmer wrote:
Right now it looks like the functionality of Bird that allows using iproute2 named identifiers (e.g. /etc/iproute2/rt_table as ipt_*) is restricted to values <=256 (https://gitlab.nic.cz/labs/bird/-/blob/master/sysdep/unix/main.c#L197). However the linux kernel supports much larger values. I know it supports table identifiers up to 0xffffffff (https://github.com/torvalds/linux/blob/master/include/uapi/linux/rtnetlink.h...), but I'm not sure about the others like rt_protos.
Hi This seems like a remnant of some past limitations. Update table and realm/flow iproute2 named constants to 32bit values: https://gitlab.nic.cz/labs/bird/-/commit/a2277975d787fb388e753432673acefd694... -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."