ip rule processing partly broken (21.02 and Master)

M Rubon rubonmtz at gmail.com
Tue Jun 15 05:30:19 PDT 2021

Interesting.  When I install ip-tiny I see the rule displaying
correctly.  I have also checked and it appears ip-tiny was installed
in my 19.07 systems, likely as a dependent package, so that is why it
displays correctly there.  I will add the information to by bug report
and close it on the tracker.

I am still having odd routing problems on the 2102rc router, and am
investigating why that is happening, but that is outside the scope of
this email.

Thanks for your help!


On Mon, 14 Jun 2021 at 10:48, Jo-Philipp Wich <jo at mein.io> wrote:
> Hi,
> the ip rules encoded in /etc/config/network are processed by netifd C
> code directly, they're not translated into busybox ip calls.
> The entire busybox ip.c code contains not a single instance of
> FIB_RULE_INVERT so it simply does not implement inversion. It will also
> not be able to report inverted rules properly, since there is no code to
> print the FIB_RULE_INVERT flag.
> Are you absolutely sure that the uci rules are improperly applied or is
> this just a case of busybox ip rule displaying them wrongly without the
> "not" flag?
> Can you install ip-full or ip-tiny from the iproute2 suite and verify
> the "ip rule" output again?
> ~ Jo
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

More information about the openwrt-devel mailing list