net/p5-Net-Netmask 2.0003 OpenBSD
parse, manipulate and lookup IPv4 CIDR blocks
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- net, perl5
Description
Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface and provides nearly all bits of information about a network block that you might want.
There are also functions to put a network block into a table and look it up by IP address, turn an IP address range into a list of CIDR blocks, turn a list of CIDR blocks into a list of IP addresses, and a function for sorting by text IP address.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | net/p5-Net-Netmask | 2.0003 |
| FreeBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| NetBSD | devel/p5-Net-Netmask | 2.0002nb3 |
| DragonFly | net-mgmt/p5-Net-Netmask | 2.0002 |
| MidnightBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| HardenedBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| GhostBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
Install
Binary package:
pkg_add p5-Net-Netmask
From the ports tree:
cd /usr/ports/net/p5-Net-Netmask && make install