OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: A Map Filter Question

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Tue Jan 23 2007 - 12:26:51 CST


At 12:10 PM 1/23/2007, Rich Shepard wrote:
> Well, the only reason I did the conversion was to reduce the number of
>lines in the file. When I had a contiguous block of numbers, I used to enter
>each one.
>
> I'm very open to all recommendations on how to get this in a usable form
>that works.

This might help:
http://www.rahul.net/dhesi/software/cidr2access

> I can change it back from cidr: to hash: (or anything else) if I know how
>to change the contents to work. What should I read to learn how to change
>back to a hash (or cdb) while keeping the the ranges now that I have spent
>hours converting the file?

Hopefully you saved a copy of the original file... If not, the
cidr2access program should be able to convert your cidr: table. And
it's OK to use two tables, a cidr: table for when you know a cidr
range, and a hash table for other stuff. You're not restricted to
just one blacklist table type.

Just use whatever works best for you.
You'll never reach the limit on the number of entries in a hash:
table, and lookup performance is pretty much the same wether you have
thousands or millions of entries (but rebuilds can take considerably
longer for a huge table).