Commit Graph

8 Commits

Author SHA1 Message Date
Eric
19c4a04932 demote spurious log_infos to log_debug 2013-10-03 04:17:03 -04:00
Eric
3aa0f27b51 constraints stores network order; we want to return host order 2013-10-03 02:48:46 -04:00
Eric
408e46d939 add blacklist_lookup_index proto 2013-10-03 02:47:31 -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