lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 24 Mar 2019 19:29:08 +0100
From:   Michal Kubecek <mkubecek@...e.cz>
To:     David Ahern <dsahern@...il.com>
Cc:     emersonbernier@...anota.com, Netdev <netdev@...r.kernel.org>,
        Stephen <stephen@...workplumber.org>,
        Kuznet <kuznet@....inr.ac.ru>, Jason <jason@...c4.com>,
        Davem <davem@...emloft.net>
Subject: Re: [BUG][iproute2][5.0] ip route show table default: "Error: ipv4:
 FIB table does not exist."

On Sun, Mar 24, 2019 at 11:20:33AM -0600, David Ahern wrote:
> On 3/24/19 11:02 AM, emersonbernier@...anota.com wrote:
> > Ok but previous versions of iproute2 didn't treat this as error and didn't exited with non-zero status. Is non existing default route a system error which needs fixing?
> 
> The kernel is returning that error, not iproute2.
> 
> It is the default *table*, not a default route.

Something did change on iproute2 side between 4.20 and 5.0, though:

lion:~ # rpm -q iproute2
iproute2-4.20-0.x86_64
lion:~ # ip route show table default ; echo $?
0
lion:~ # ip route show table 123 ; echo $?
0
...
lion:~ # rpm -q iproute2
iproute2-5.0.0-0.x86_64
lion:~ # ip route show table default ; echo $?
Error: ipv4: FIB table does not exist.
Dump terminated
2
lion:~ # ip route show table 123 ; echo $?
Error: ipv4: FIB table does not exist.
Dump terminated
2

All I did was updating iproute2 package, the same kernel was running for
both (I tried 5.0.3 and 5.1-rc1).

Michal

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ