# $Id: ChangeLog 4196 2008-05-15 15:03:09Z henningw $ ===================== 2008-05-15 OpenSER v1.3.2 released ====================== ===================== Changes since release 1.3.1 ============================= 2008-05-15 12:00 Henning Westerholt, * [r4194] modules/auth_db/authdb_mod.c, modules/dialog/dlg_db_handler.c, modules/group/group_mod.c, modules/permissions/trusted.c, modules/usrloc/dlist.c: - backport from trunk, rev4144 - fix error message for version table mismatch, openser_mysql.sh is not available anymore 2008-05-15 11:52 Henning Westerholt, * [r4193] modules/postgres/db_res.c, modules/unixodbc/res.c: - backport from trunk, r4058 - db_postgres and db_unixodbc handles TEXT colums now as DB_BLOB type similar to the other database modules - related to bug #1940022 2008-05-15 10:59 Bogdan-Andrei Iancu, * [r4191] modules/tm/t_reply.c: backport from trunk (rev #4190): - fixed race condition that may lead to deadlock on the transaction lock. As the reply route (t_on_reply()) stored in transaction may be changed in reply route br the current process or any other process, to avoid race conditions, it is better to make a local copy of the reply route number to be sure it will not be changed. The deadlock can appear as the reply route number is used in several conditions to determine id locking is required. But as this value may be changed (by current or other process), it may lead to multiple lockings with no unlock -> deadlock. NOTE: this might happen only if onreply_avp_mode is turned on. 2008-05-15 10:38 Anca Vamanu, * [r4189] modules/presence/notify.c: - fixed a bug in handling polite-block action 2008-05-15 10:32 Henning Westerholt, * [r4187] ChangeLog: - update changelog for release 2008-05-14 12:44 Jesus Rodriguez, * [r4183] packaging/freebsd/Makefile, packaging/freebsd/distinfo, packaging/freebsd/files/patch-Makefile, packaging/freebsd/files/patch-Makefile.defs: - Update FreeBSD port to version 1.3.1 - Remove the hack to compile mysql module 2008-05-14 10:11 Anca Vamanu, * [r4182] modules/presence/notify.c, modules/presence/presence.c: - backported fix from trunk : fixed a bug when sending Notify when a watcher is blocked. 2008-05-14 10:05 Bogdan-Andrei Iancu, * [r4180] modules/auth/api.c: - fix related to previous backport - forgot to update a parameter type. 2008-05-14 10:03 Bogdan-Andrei Iancu, * [r4179] modules/auth/api.c: backport from trunk (rev 4178): - fixed bug in appending the stale parameter in the challenge request if the nonces is not recognize as local - this can happen after a restart, when openser uses a new schema to generate nonces. This bug was revealed when using UACs that tries to reuse the nonce.The result was that after restarting openser, the UACs were dropping the registration attempts. Scenario: 1) start openser -> it will set SCHEMA1 for generating nonces 2) UAC registers with authentication and receives during challenge the nonce NONCE1 (based on SCHEMA1) 3) OpenSER restarts and sets a new SCHEMA2 for generating nonces 4) UAC tries to re-register using the previous nonce it received - NONCE1. 5) OpenSER rejects the auth as received NONCE1 does not follow current SCHEMA2. 6) OpenSER sends a new challenge to the UAC, but so far, the stale parameter was not added to indicate that the nonce is invalid 7) UAC simply drops any registration attempts as it thinks that the password it has is wrong -> it authentication was rejected and no stale indication was received. The fix was to make openser to add the stale parameter in the challenge and to indicate to UAC a nonce issue if the nonce is not recognized. The script auth functions were already reporting (as return code) NONCE_STALE indication in this case, but the challenge was not properly computed. - fixed bug in building the reply error when auth failed - there was a mixing between reply code (500) and reply reason status (Bad request). 2008-05-14 07:51 Henning Westerholt, * [r4176] ChangeLog: - update Changelog - small fixes in format and dates 2008-05-13 17:11 Bogdan-Andrei Iancu, * [r4172] modules/dialog/dialog.c: backport from trunk (rev 4170 and 4171): - fixed crash as shutdown due improper destroy sequance -> after some previous fixups, the dialogs need to be destroyed before destroying the timer list (as now, at destroy, a dialog tries to remove itself from timer list). 2008-05-13 16:54 Bogdan-Andrei Iancu, * [r4168] modules/snmpstats/hashTable.c, modules/snmpstats/interprocess_buffer.c, modules/snmpstats/interprocess_buffer.h, modules/snmpstats/openserSIPContactTable.c, modules/snmpstats/openserSIPRegUserTable.c, modules/snmpstats/snmpstats.c: backport from trunk (rev #4167): - fixed SHM memeory leak; the interprocesses communication system is leaking shm memory due bad pointer referencing; a SHM structure ends up to be refered from multiple structures (pkg ans shm) and cannot be safely freed Re-worked the the memory management for the interprocesses communication system to be able to properly free the memory. With a constant pull via SNMP at 5 minutes intervals, with 1K of online subscriber, the modules was leaking around 0.5 Mb per day. Credits go to Anca Vamanu for implementing the new version. Patch tested on a production system - quite safe and no side effects (yet ;) ) 2008-05-12 07:43 Daniel-Constantin Mierla, * [r4160] modules/dbtext/dbt_lib.c, modules/dbtext/dbt_tb.c: - backport: applied a set of improvments related to #1927279, reported by Herman Sheremetyev 2008-05-12 07:27 Daniel-Constantin Mierla, * [r4159] modules/dbtext/dbt_tb.c: - backport: fix related to #1933662 (reported by Ovidiu Sas) 2008-05-10 21:36 Bogdan-Andrei Iancu, * [r4156] modules/dialog/dlg_timer.c: backport from trunk (rev #4152): - elimitate the risks of race conditions while expiring the dialogs - use the lock for preliminary tests on the tmer list. - eliminate th -1 marker for pointer list as it is not used and screw up other tests for list insertion. 2008-05-10 02:50 Ovidiu Sas, * [r4150] modules/dialog/dlg_handlers.c: Enhance dialog maching probes 2008-05-09 14:39 Ovidiu Sas, * [r4148] modules/dialog/dlg_hash.c: Improve probes for bogus/unknown dialog events 2008-05-09 14:32 Ovidiu Sas, * [r4147] modules/dialog/dlg_handlers.c: Change DBG probe into WARN for expired dialogs 2008-05-08 16:09 Henning Westerholt, * [r4137] modules/postgres/db_res.c: - move check for zero rows to pg_convert_result, to silence the bogus warning - no functionality is changed, as the other user of the function in question does the same check - related to bug #1954586 2008-05-08 15:31 Bogdan-Andrei Iancu, * [r4134] scripts/openserctl: - fix bogus phplib_id calculation - the function misses the parameters -> the ids are bogus and not unique -> adding user fails 2008-05-08 10:39 Daniel-Constantin Mierla, * [r4133] scripts/openserctlrc: - added notes about setting openser start options for openserctl: PID_FILE and STARTOPTIONS 2008-05-08 10:15 Juha Heinanen, * [r4131] parser/parse_privacy.c: * Privacy values are separated by semicolon instead of comma. 2008-05-08 07:41 Dan Pascu, * [r4130] strcommon.c: Fix for double quotes in escape/unescape_common (backported from trunk rev 4109) 2008-05-08 05:07 Dan Pascu, * [r4127] strcommon.c: Fixed wrong character check in unescape_common 2008-05-05 16:32 Daniel-Constantin Mierla, * [r4115] socket_info.h: - backport: fix extern referencing to the listening sockets (discovered on *BSD, looks like the same issue reported by Michael Barinek with null socket list) 2008-05-03 12:56 Juha Heinanen, * [r4104] modules/lcr/lcr_mod.c: * Removed wrong test on value of group-id argument. 2008-04-28 10:48 Henning Westerholt, * [r4095] Makefile.defs: - backport of r4095 - don't generate i386 incompatible code on version 3.X gcc - use a more conservative optimization too, as 'prescott' is not usable with this compiler, 'pentium4' is at least available for gcc up from 3.1.X - Reported from Christian Koch, chri dot koch dot vier at googlemail dot com 2008-04-25 16:05 Bogdan-Andrei Iancu, * [r4085] modules/tm/t_msgbuilder.c: backport from trunk ( rev #4084 ): -major pkg memory leak fixed - msg headers were not properly freed when looking for Route headers in CANCELs 2008-04-24 19:26 Daniel-Constantin Mierla, * [r4083] etc/openser.cfg: - examples set to defaut values 2008-04-24 12:10 Dan Pascu, * [r4080] modules/mediaproxy/README, modules/mediaproxy/doc/mediaproxy_user.sgml: Fixed module dependency list 2008-04-21 17:06 Anca Vamanu, * [r4065] modules/presence/README, modules/presence/doc/presence_user.sgml, modules/pua/README, modules/pua/doc/pua_user.sgml, modules/pua/hash.h, modules/pua/send_subscribe.c, modules/rls/README, modules/rls/doc/rls_user.sgml, modules/rls/resource_notify.c, modules/rls/subscribe.c: - clarified hash table size parameter description in documentation - fixed returning value for exported function in rls module from 0 to 1 - commented out some unnecessary operations in pua module 2008-04-21 15:04 Juha Heinanen, * [r4063] modules/lcr/lcr_mod.c: * Fixed two memory leaks in next_gw() function. 2008-04-21 13:31 Dan Pascu, * [r4062] Makefile: Fixed typo 2008-04-21 02:25 Di-Shi Sun, * [r4056] modules/osp/etc/sample-osp-openser.cfg: Fixed not to relay E2E ACK issue. 2008-04-21 00:22 Ovidiu Sas, * [r4055] scripts/openserctl, scripts/openserctl.base: openserctl: dispatcher commands 2008-04-18 14:31 Anca Vamanu, * [r4050] modules/presence/notify.c: - fixed a bug when getting watcher info from cache table 2008-04-18 13:12 Anca Vamanu, * [r4046] db/schema/rls_presentity.xml, scripts/mysql/rls-create.sql, scripts/postgres/rls-create.sql: - removed wrong unique index 2008-04-18 10:12 Bogdan-Andrei Iancu, * [r4044] modules/dialog/dlg_hash.c, modules/dialog/dlg_hash.h: backport from trunk (rev #4006): - fixed direction detection for the within the dialog requests. Credits go to Ovidiu Sas Closes bug #1932221 2008-04-18 09:15 Bogdan-Andrei Iancu, * [r4042] modules/mi_datagram/datagram_fnc.c: backport from trunk (rev #4036): - fixed incorrect len of sock_addr struct in bind() call. Fixes the bind on Solaris and BSD familly. Closes bug 1936591. 2008-04-17 12:58 Bogdan-Andrei Iancu, * [r4035] modules/dialog/dlg_hash.c: backport from trunk (rev #4034): - fix dlg removal from timer list - even if the dialog should be already removed from timer list at this point, just to cover all cases, force its removal - this is ok as function is safe at multiple removals. Credits go to Ben Smithurst. Closes bug #1913465 2008-04-17 12:46 Bogdan-Andrei Iancu, * [r4032] modules/dialog/dlg_hash.c, modules/dialog/dlg_hash.h: backport from trunk (rev #4031): - fixed illegal state transition from DELETED to CONFIRMED_NA if BYE was received in the mean while; according to RFC3261, 200 OK is accepted after negative replies. 2008-04-16 15:43 Elias Baixas, * [r4020] modules/seas/seas.c, modules/seas/seas_action.c, modules/tm/t_cancel.c: -Fixed a bug with ref-counting in t_uac_cancel (needed to un-refcount if there was an error after t_lookup_ident) -fixed bugs in seas 2008-04-15 12:26 Anca Vamanu, * [r4016] modules/presence/presence.c: - removed subscribe dialogs from database when status switches to 'terminated' (reported by Sigrid Thijs ) 2008-04-10 12:51 Henning Westerholt, * [r4003] ChangeLog: - update Changelog 2008-04-10 10:14 Bogdan-Andrei Iancu, * [r4002] modules/auth_db/authorize.c: backport from trunk (rev #4001): - fixed bug in returning code for xxx_authorize() functions; INVALID_PASSWORD return code was never returned due bogus case detection. 2008-04-07 09:22 Bogdan-Andrei Iancu, * [r3995] modules/dialog/dlg_req_within.c: Backport from trunk (rev #3994): -fixed checking on the optional third param of "dlg_end_dlg" MI command. Reported by Alex Massover < alex at jajah dot com > 2008-04-04 13:00 Bogdan-Andrei Iancu, * [r3987] action.c: backport from trunk (rev #3986): - append_branch() script function saves into branch's array the path-vector also. Credits go to Carsten Bock, closed bug ID 1932404. 2008-03-31 09:45 Henning Westerholt, * [r3966] modules/carrierroute/README, modules/carrierroute/doc/carrierroute_user.sgml: - explain cr_user_rewrite_uri function a little bit better 2008-03-31 09:18 Bogdan-Andrei Iancu, * [r3965] modules/dialog/dlg_db_handler.c: - fixed usage of "continue" in a "do{}while" macro. Part of bug 1913465, credits go to Ben Smithurst. 2008-03-31 09:01 Bogdan-Andrei Iancu, * [r3963] modules/dialog/dlg_req_within.c: Backport from devel (rev #3962): fixed memory leak in DLG_BYE_DLG MI command. Closed patch 1918358, credits go to Carsten Bock 2008-03-28 09:24 Daniel-Constantin Mierla, * [r3956] doc/entities.sgml, modules/acc/README, modules/alias_db/README, modules/auth/README, modules/auth_db/README, modules/auth_diameter/README, modules/auth_radius/README, modules/avp_radius/README, modules/avpops/README, modules/benchmark/README, modules/carrierroute/README, modules/cfgutils/README, modules/cpl-c/README, modules/db_berkeley/README, modules/dbtext/README, modules/dialog/README, modules/dispatcher/README, modules/diversion/README, modules/domain/README, modules/domainpolicy/README, modules/enum/README, modules/exec/README, modules/flatstore/README, modules/gflags/README, modules/group/README, modules/group_radius/README, modules/h350/README, modules/imc/README, modules/jabber/README, modules/lcr/README, modules/ldap/README, modules/mangler/README, modules/maxfwd/README, modules/mediaproxy/README, modules/mi_datagram/README, modules/mi_fifo/README, modules/mi_xmlrpc/README, modules/msilo/README, modules/mysql/README, modules/nathelper/README, modules/options/README, modules/path/README, modules/pdt/README, modules/perl/README, modules/perlvdb/README, modules/permissions/README, modules/pike/README, modules/postgres/README, modules/presence/README, modules/presence_mwi/README, modules/presence_xml/README, modules/pua/README, modules/pua_bla/README, modules/pua_mi/README, modules/pua_usrloc/README, modules/pua_xmpp/README, modules/registrar/README, modules/rls/README, modules/rr/README, modules/siptrace/README, modules/sl/README, modules/sms/README, modules/snmpstats/README, modules/speeddial/README, modules/sst/README, modules/statistics/README, modules/textops/README, modules/tlsops/README, modules/tm/README, modules/uac/README, modules/uac_redirect/README, modules/unixodbc/README, modules/uri/README, modules/uri_db/README, modules/uri_radius/README, modules/usrloc/README, modules/xcap_client/README, modules/xlog/README, modules/xmpp/README: - updated mailing lists addresses 2008-03-25 15:02 Anca Vamanu, * [r3950] modules/presence/subscribe.c, modules/pua/README, modules/pua/doc/pua_devel.sgml, modules/pua/hash.h, modules/pua/send_subscribe.c, modules/pua/send_subscribe.h, modules/pua_bla/README, modules/pua_bla/doc/pua_bla_user.sgml, modules/pua_bla/pua_bla.c, modules/pua_bla/pua_bla.h, modules/pua_bla/registrar_cb.c: - backport from trunk: fixed uri interpretation and insertion in Subscribe messages for event BLA to comply with draft-anil-sipping-bla-03.txt (thanks to Zahid Mehmood for help with debugging) 2008-03-19 03:01 Henning Westerholt, * [r3938] modules/xcap_client/xcap_client.c: - backport from trunk, rev 3937 - remove debug logging for db_url - this could leak the authentification data, and we log some parts of it in the database module anyway 2008-03-14 09:18 Bogdan-Andrei Iancu, * [r3936] Makefile: - fixed module name (db_berkeley->dbberkeley) Reported by Jan ONDREJ (SAL) < ondrejj at salstar dot sk > 2008-03-12 21:49 Julien Blache, * [r3928] Makefile: Fix typo db_text -> dbtext. 2008-03-11 17:03 Bogdan-Andrei Iancu, * [r3926] modules/dialog/README, modules/dialog/doc/dialog_user.sgml: backport from trunk (rev #3925): -fixed example - "db_update_period" takes paramter in numerical format 2008-03-11 14:27 Henning Westerholt, * [r3923] ChangeLog, Makefile.defs: - increase minor version and update Changelog for Release