Crates.io | rs-aggregate |
lib.rs | rs-aggregate |
version | 0.3.2 |
source | src |
created_at | 2023-03-23 20:17:35.826364 |
updated_at | 2023-12-12 12:39:28.803392 |
description | Aggregate a list of IP prefixes into their minimum equivalent representation |
homepage | |
repository | https://github.com/ktims/rs-aggregate |
max_upload_size | |
id | 818744 |
size | 80,351 |
rs-aggregate will aggregate an unsorted list of IP prefixes
Intended to be a drop-in replacement for aggregate6 with better performance.
Takes a list of whitespace-separated IPs or IP networks and aggregates them to their minimal representation.
rs-aggregate
is built statically. CI-built binaries can be found in the GitHub
releases for most common platforms. Simply download the appropriate binary and
place it in your path.
It can also be installed via some software management tools:
pkg install rs-aggregate
cargo install rs-aggregate
aggregate6
-m/--max-prefixlen
supports different maximums for each address family as
ipv4,ipv6 format. A single value is also supported and has the same behaviour
as aggregate6
(apply the same maximum to both address families).-v
verbose dump is not supported-t
flag) are printed
based on the parsed address, ie. always in CIDR format, whereas aggregate6
prints errors based on the input.Performance comparison of rs-aggregate
vs aggregate6
. A speedup of >100x is achieved on DFZ data.