Commit Graph

7 Commits

Author SHA1 Message Date
Zakir Durumeric
277f49457d adding ability to scan specific CIDR blocks or addresses. 2013-10-08 22:42:17 -04:00
Eric
3aa0f27b51 constraints stores network order; we want to return host order 2013-10-03 02:48:46 -04:00
Eric
8ecbd038b5 Adding radix support to constraints
This allows us to lookup an index -> ip address much faster
(16 seconds for ~3.7 billion addresses with sparse blacklist,
vs 65 sec before radix array).

Setting the PREFIX_LEN to /20, as this appears to give a good tradeoff
between radix population time (<1ms), runtime (16s), and memory footprint (4MB).
2013-10-03 02:28:19 -04:00
Alex Halderman
bc3ec6456a What Eric and Zakir said 2013-10-01 17:05:47 -04:00
ciccio87
4f860d66db fixed blacklist.c 2013-08-17 08:13:01 +02:00
Ciccio87
9ae0d5e656 quick and dirty fix to make it compile and (seemingly) work
on 32 bits systems, it needs more testing though
2013-08-17 07:26:44 +02:00
Zakir Durumeric
490054d239 inital public release 2013-08-16 11:12:47 -04:00