Java Library for email blacklist/whitelist matching. But I think it can be used for ip ranges and urls, and stuff like that, too.