BSDRadius 0.5.0 changelog
New features:
- New BSDRadius module configuration option: enable
Use it to enable/disable BSDRadius modules
- New BSDRadius module configuration option: configfile.
Use it to set path to custom configuration file for your module.
Parsed bsdradius.Config.Config class instance will be available in loaded BSDRadius module as global variable with name: config
Example:# in user_modules.conf: [my_module] configfile = my_module.conf accounting_module = my_module accounting_function = authorization # in my_module.py: from bsdradius.logger import * def accounting(received): if config == None: error ('No configuration data was parsed') else: debug ("Parsed configuration: ", config) - Added mod_sql - BSDRadius server module for easy user data access and CDR logging into database. You can enable the module by editing modules.conf and changing setting "enable" to "yes" in section "sql".
- Added mod_usersfile - BSDRadius server module for static user file access. Use it to keep list of static users into plain text file. This module is for authorization/authentication only.
- Added MySQL table structure (sql/bsdradius.mysql.sql)
- Added lots of info in README file. It should be enough for new users to get on.
- BSDRadius module "preprocess" is able to get done with messed up
VSA's which contain attribute names in their values.
Example:h323-setup-time: h323-setup-time=*14:10:10.241 GMT Sun Mar 28 2006 converts to h323-setup-time: *14:10:10.241 GMT Sun Mar 28 2006
New items are added to request data if neccessary.
Bugfixes:
- Fixed dbadapterName bug in DatabaseConnection.
Now it is truly possible to use multiple database engines within one BSDRadius server installation. - Fixed bug in bsdradius.ConfigDb.
BSDRadius uses DatabaseConnection.execGetRows() instead of DatabaseConnection.execGetDict() for client data fetching from database. This step was neccessary because MySQLdb does not fully support DBAPI 2.0 - dictfetchall() is not implemented. - Fixed error in showing version number in CLI
Other changes:
- Executing startup and shutdown modules is more verbose now.
- Added t_rm_finished_call trigger in postgresql table structure.
It deletes call records from active calls table when accounting stop message received. This trigger is made for using togeather with mod_sql BSDRadius server module.