Here is a Perl module that works quite well. Of course, it helps if you know a little Perl.
http://search.cpan.org/dist/Net-CIDR/CIDR.pm -------- Original Message -------- > From: Ted <[EMAIL PROTECTED]> > Sent: Tuesday, January 09, 2007 12:27 PM > To: [email protected] > Subject: Re: "Wrong way" CIDR calculator for SMTPRcv? > > The CIDR calculator at dnsstuff.com may help you out. > > alfredo wrote: > > Hi everyone. SMTRPRcv requires CIDR notation to denote an entire IP > > range that you want to blacklist or whitelist. > > > > The problem is, I am lousy at IP math. And every online CIDR > > calculator asks for things I *do not* have, like bits and masks and > > whatnot. > > > > I *only only only* know two things: the two IP addresses. That's all I > > know. > > > > So for example if I wanted to whitelist all Google mail servers, > > everything from IP a.b.c.d until IP w.x.y.z, then SMTPRcv would expect > > me to type in something like w.x.i.j / k > > > > Perhaps I misunderstand the concept. But isn't there an online (or > > downloadable) CIDR calculator that will take two IP addres, without > > asking for anything else, and give you the CIDR notation that describes > > that IP range? > > > > This is the discussion list for the IMS Free email server software. > To unsubscribe send mailto:[EMAIL PROTECTED] > > Delivered by Rockliffe MailSite > http://www.rockliffe.com/mailsite > Rock Solid Software (tm) This is the discussion list for the IMS Free email server software. To unsubscribe send mailto:[EMAIL PROTECTED] Delivered by Rockliffe MailSite http://www.rockliffe.com/mailsite Rock Solid Software (tm)
