BSD Ports

net-mgmt/p5-Net-IP-Match-Regexp 1.01_2 DragonFly

Efficiently match IP addresses against IP ranges via regexp

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

Description

Net::IP::Match::Regexp allows you to check an IP address against one or more IP ranges. It employs Perl's highly optimized regular expression engine to do the hard work, so it is very fast. It is optimized for speed by doing the match against a regexp which implicitly checks the broadest IP ranges first. An advantage is that the regexp can be computed and stored in advance (in source code, in a database table, etc) and reused, saving much time if the IP ranges don't change too often. The match can optionally report a value (e.g. a network name) instead of just a boolean, which makes module useful for mapping IP ranges to names or codes or anything else.

In the other systems

The newest version among them is 1.01, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/p5-Net-IP-Match-Regexp1.01_2 newestnone known-[email protected]-
FreeBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2 newestnone known-[email protected]-
NetBSDwip/p5-Net-IP-Match-Regexp by name1.01 newestnone known-[email protected]-
HardenedBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2 newestno data-[email protected]-
GhostBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Net-IP-Match-Regexp

From DPorts:

cd /usr/dports/net-mgmt/p5-Net-IP-Match-Regexp && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1