OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: regular access file vs CIDR

From: Rich Shepard (rshepardappl-ecosys.com)
Date: Thu Aug 07 2008 - 17:27:48 CDT


On Thu, 7 Aug 2008, Stan Hoeppner wrote:

> Is the CIDR file a plain text flat file?

Stan,

   Yes. A representative line:

222.111.0.0/12 550 Rejected IP address.

> Do I need to run any commands against it to do the binary conversions or
> is that something Postfix does automatically on the fly?

   Yes:

         check_client_access cidr:/etc/postfix/badip,

> I.e., can I just edit my access file, converting the dotted doubles, triples,
> and quads to CIDR slash notation, and use it as my CIDR file?

   Yup. That's what I did.

Rich

--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863