BSD Ports

net-mgmt/aggregate 1.6_2 DragonFly

Optimise a list of route prefixes to help make nice short filters

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net-mgmt
Package size
10.2 KiB, 16.4 KiB installed

Description

Takes a list of 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 supurfluous because they are already included in another supplied prefix. For example, 203.97.2.0/24 would be removed if 203.97.0.0/17 was also supplied.

The second optimisation identifies adjacent prefixes that can be combined under a single, shorter-length prefix. For example, 203.97.2.0/24 and 203.97.3.0/24 can be combined into the single prefix 203.97.2.0/23.

[email protected]

In the other systems

SystemPortVersion
DragonFlynet-mgmt/aggregate1.6_2
FreeBSDnet-mgmt/aggregate1.6_2
OpenBSDnet/aggregate1.6p1
HardenedBSDnet-mgmt/aggregate1.6_2
GhostBSDnet-mgmt/aggregate1.6_2

Install

Binary package:

pkg install aggregate

From DPorts:

cd /usr/dports/net-mgmt/aggregate && make install clean

Dependencies

No port depends on this one.