BSD Ports

textproc/grepcidr 2.0p1 OpenBSD

filter files for IP address matches

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Stuart Henderson <[email protected]>
Categories
textproc, net

Description

grepcidr can be used to filter a list of IP addresses against one or more Classless Inter-Domain Routing (CIDR) specifications, or arbitrary networks specified by an address range. As with grep, there are options to invert matching and load patterns from a file. grepcidr is capable of comparing thousands or even millions of IPs to networks with little memory usage and in reasonable computation time.

grepcidr has endless uses in network software, including: mail filtering and processing, network security, log analysis, and many custom applications.

In the other systems

SystemPortVersion
OpenBSDtextproc/grepcidr2.0p1
FreeBSDnet-mgmt/grepcidr2.0_1
NetBSDtextproc/grepcidr2.97
DragonFlynet-mgmt/grepcidr2.0_1
HardenedBSDnet-mgmt/grepcidr2.0_1
GhostBSDnet-mgmt/grepcidr2.0_1

Install

Binary package:

pkg_add grepcidr

From the ports tree:

cd /usr/ports/textproc/grepcidr && make install

Dependencies

No port depends on this one.