BSD Ports

textproc/grepcidr3 3.0 OpenBSD

filter files for IP address matches

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, net

Description

grepcidr3 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. grepcidr3 is capable of comparing thousands or even millions of IPs to networks with little memory usage and in reasonable computation time.

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

Install

Binary package:

pkg_add grepcidr3

From the ports tree:

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

Dependencies

No port depends on this one.