From: Jem Berkes (no email)
Date: Mon Feb 16 2004 - 13:54:47 EST
I know this isn't strictly Postfix, but I have seen various questions about
the CIDR format in the past (for specifying ranges of IPs in network form). I
wanted to share my GNU GPL'd 'grepcidr' tool, which acts very much like grep
but for CIDR address specifications. Possibly useful in conjunction with
postfix-generated logs, or anything else really.
http://www.pc-tools.net/unix/grepcidr/
Pure C, should compile on pretty much anything. Can also load large lists of
CIDR specifications from a file while using very little memory.
-- Jem Berkes http://www.sysdesign.ca/
|
|
|