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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 28 Jul 2019 13:09:55 +0200
From:   Michael Ziegler <>
Subject: ip route JSON format is unparseable for "unreachable" routes


I created a couple "unreachable" routes on one of my systems, like such:

> ip route add unreachable     metric 255
> ip route add unreachable metric 255

Unfortunately this results in unparseable JSON output from "ip":

> # ip -j route show  | jq .
> parse error: Objects must consist of key:value pairs at line 1, column 84

The offending JSON objects are these:

> {"unreachable","dst":"","metric":255,"flags":[]}
> {"unreachable","dst":"","metric":255,"flags":[]}
"unreachable" cannot appear on its own here, it needs to be some kind of

The manpage says to report here, thus I do :) I've searched the
archives, but I wasn't able to find any existing bug reports about this.
I'm running version

> ip utility, iproute2-ss190107

on Debian Buster.


Powered by blists - more mailing lists