Package: aggregate
Version: 1.6-7
(/var/lib/apt/lists/cdn.debian.net_debian_dists_jessie_main_binary-amd64_Pac
kages)
MD5: f997a857d65d21bbf877320588a8a99c


When using aggregate to simplify an CIDR list, aggregate tries to understand
the submitted subnets; unfortunately it doesn't do well.

For example:
curl -s
'https://stat.ripe.net/data/ris-prefixes/data.json?list_prefixes=true&resour
ce=16276' | jq -r '.data.prefixes.v4.originating' | sed
'1d;$d;s/"//g;s/,//g;s/ //g' | aggregate

This fetches the ipv4 addresses from OVH and outputs them as needed to
stdout.
When piping this to aggregate, well see the errors yourself...

At first i thought, i was too stupid to "sed" the list, but then i realized:
176.31.188/22 becomes 176.31.0.188/22
which is false.

Consider this as a bug, since 176.31.188/22 is a valid CIDR.


Using the latest Debian Jessie, bug is FIXED in Debian Stretch.

Reply via email to