Compress an unsorted list of IPv4 and IPv6 prefixes
Takes a list of IPv6 prefixes in conventional format on stdin, and performs two optimisations to attempt to reduce the length of the prefix list. The first optimisation is to remove any supplied prefixes which are superfluous because they are already included in another supplied prefix. The second optimisation identifies adjacent prefixes that can be combined under a single, shorter-length prefix. The above optimalisation steps are often useful in context of compressing firewall rules or BGP prefix-list filters.
$
pkg install py311-aggregate6Origin
net-mgmt/py-aggregate6
Size
30.9KiB
License
BSD2CLAUSE
Maintainer
bofh@FreeBSD.org
Dependencies
2 packages
Required by
1 packages