[OpenSER-Devel] New module - userblacklist

Henning Westerholt henning.westerholt at 1und1.de
Tue Feb 26 14:53:12 CET 2008


Hi,

i just imported a new module, called 'userblacklist', into the svn trunk. To 
quote from the README:

The userblacklist module allows OpenSER to handle blacklists on a per user 
basis. This information is stored in a database table, which is queried to 
decide if the number is blacklisted or not.

An additional functionality that this module provides is the ability to handle 
global blacklists. This lists are loaded on startup into memory, thus 
providing a better performance then in the userblacklist case. This global 
lists could also used to prevent the blacklisting of important numbers, as 
whitelisting is also supported. This is useful for example to prevent the
customer from blocking emergency call number or service hotlines.

The module exports two functions, check_blacklist and check_user_blacklist for 
usage in the config file. Furthermore its provide a FIFO function to reload 
the global blacklist cache.


This code has been written by Hardy Kahl, hardy dot kahl at 1und1 dot de, so 
all credits belongs to him. I ported it to the current svn trunk, generalized 
it somewhat and added documentation and a test. The original module has been 
in production for some time, but i introduced probably a few errors during my 
porting. So please give it a try, any comments are of course appreciated.

Best regards,

Henning Westerholt

-- 
Henning Westerholt - Development Consumer Products / DSL Core
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe



More information about the Devel mailing list