2009-01-15 13:26:19 Bogdan-Andrei Iancu, * [5171] : - changelog updated 2009-01-15 12:49:37 Bogdan-Andrei Iancu, * [5169] : - fixed debian patches Closes bug 2507436 2009-01-15 12:01:03 Bogdan-Andrei Iancu, * [5168] : - minor version increased 2009-01-15 11:46:50 Bogdan-Andrei Iancu, * [5167] : backport from trunk (rev #5165): 1. Additional locations of GNU tools in Solaris; there two directories where GNU tools might be found In Solaris. These should be searched too. 2. Standard tail(1) command in Solaris does not have -n option; for returning last line, it should call as tail -1 instead of tail -n1 3. The usage of which tool is changed to use absolute path to be consistent with verification of its presence. Closes patch 2507800. Credits go to Sergio Gutierrez 2009-01-14 19:34:02 Bogdan-Andrei Iancu, * [5161] : backport from trunk (rev #5160): The patch adds additional locations where ssl includes and libraries might be found. In particular, after installing openssl in solaris, from sources, DEFS needed to be edited so that compilation do not be broken. Closes patch 2494156. Credits go to Sergio Gutierrez . 2009-01-14 18:59:50 Bogdan-Andrei Iancu, * [5158] : backport from trunk (rev #5157): Solaris does not expose whether system is SMP on uname output as Linux. This needs to be evaluated through other means. The patch finds out whether system is SMP by parsing output of psrinfo(1M) command. Closes patch 2494198. Credits go to Sergio Gutierrez 2009-01-13 20:09:43 Bogdan-Andrei Iancu, * [5151] : - fixed dialog destroy - when dialogs are destroied from memory as shutdown, do not call the DLG_DESTROY callback as the dialog (as call) is not destroied, but only the structure freed. 2009-01-09 13:39:22 Bogdan-Andrei Iancu, * [5139] : backport from trunk (rev #5138): - more verbouse error message 2009-01-08 16:27:21 Anca Vamanu, * [5137] : - fixed wrong value for remote_target , introduced in last commit 2009-01-07 15:39:50 Bogdan-Andrei Iancu, * [5135] : backport from trunk (rev #5133): - fixed bug in restoring dialogs in DB mode SHUTDOWN. Correct flags must be set in order to ensure saving at shutdown 2009-01-07 12:23:52 Dan Pascu * [5133] : Use the STALE_NONCE error code for the nonce reused case as well (backport from trunk rev 5132) 2009-01-06 18:29:58 Anca Vamanu, * [5131] : - fixup - set remote target for resource subscriptions to the address of the presence server 2009-01-06 18:29:30 Anca Vamanu, * [5130] : - enhancement - when Subscribe with Expires= 0 is sent do not delete the dialog when the 200Ok is received - but wait for the subsequent Notify to be recognized as inside the dialog; the dialog will be deleted on timer ( reported by Adrian Georgescu) 2009-01-06 16:23:46 Anca Vamanu, * [5127] : - fixed segmentation fault bug - reported by Meganathan in bug #2430807 and Dan Pascu 2009-01-05 16:26:27 Anca Vamanu, * [5122] : - fixed bug in Expires header value calculation when Publish with Expires=0 was received ( reported by Inaki Baz Castillo) 2009-01-05 13:38:45 Bogdan-Andrei Iancu, * [5120] : backport from trunk (rev #5119): - use domain part also in testing if dbalias already exists. Closes bug 2487485. 2009-01-05 12:53:35 Bogdan-Andrei Iancu, * [5117] : backport from trunk (rev 5116): - fixed reporting the cfg error (line missing) for some script functions. - report and fail if calling an un-defined route 2008-12-31 00:22:36 Bogdan-Andrei Iancu, * [5110] : - fixed examples in docs 2008-12-31 00:18:15 Bogdan-Andrei Iancu, * [5109] : backport from trunk (partial rev #5106): 3) set correct CSEQ number when generating BYE requests - the caller and callee CSEQ were swaply used Closes bug #2431628 2008-12-31 00:16:44 Bogdan-Andrei Iancu, * [5108] : backport from trunk (partial rev #5106): 1) DB_MODE_SHUTDOWN handling: - fix final dump when forking is disabled - clear the DB after loading the dlgs Closes bug #2441783. 2008-12-31 00:12:33 Bogdan-Andrei Iancu, * [5107] : backport from trunk (rev #5105): -fixed compile warning 2008-12-26 20:06:13 Sergio Gutierrez * [5104] : - Changed behaviour of opensipsctl restart. If opensips is already stopped, it does no exit, but it tries to start. Backport of trunk, revision 5073. 2008-12-20 20:23:57 Bogdan-Andrei Iancu, * [5089] : backport from trunk (rev #5056): fixed raced between BYE and EXPIRE events; during such a race, the dialog may be removed (freed) because of the BYE events and the timer process will have a bogus pointer to the dialog. - dialog timer refurbished (insert/remove logic, expired dialog processing) - added on more reference to protect the dialogs inserted into the timer list - fixed dialog state machine to avoid destroying the dialog inside the state machine (and returning to the calling function a dangling pointer) 2008-12-20 19:51:43 Bogdan-Andrei Iancu, * [5088] : backport from trunk (rev #5087): - removed useless code ( a lot of parsing and checks for nothing) - fixed shm memory leak - instead of using for sending probing pings via the req_outside() function (which is for dialog related requests), use request() function to avoid leaking the dialog structures. Reported by Chad Fox. 2008-12-20 19:46:17 Bogdan-Andrei Iancu, * [5086] : backport from trunk (rev #5085): - fixed bug in creating the pid file : if opensips is changing user, it needs also to change the owner of the pid file, so that it will be able to deleted at the end. Affected scenario : 1) opensips is launched by root but configured to run as opensips user 2) pid file is created as user root -> pid file is owned by root 3) opensips deamonizes and runs as opensips 4) opensips shutdown and, as user opensips is not able to remove pid file which is owned by root The fix comes at step 3), when opensips is doing chown on pidfile to switch it to opensips owner. 2008-12-20 01:15:32 Dan Pascu * [5082] : Regenerated auth module README 2008-12-20 01:12:12 Dan Pascu * [5081] : Fixed quoting of disable_nonce_check default value 2008-12-20 01:10:05 Dan Pascu * [5080] : Fixed auth module doc (moved new param to the right section and fixed example param name) 2008-12-19 15:43:49 Anca Vamanu, * [5078] : - added module parameter 'disable_nonce_check' that allows disabling the nonce reusability checking ( related to discution in thread [OpenSER-Devel] SF.net SVN: openser: [4294] trunk/modules/auth ) 2008-12-18 22:27:45 Sergio Gutierrez * [5076] : - Replaces invocation of grep, for not using -e option not supported in Solaris. Backport from OpenSIPS trunk, revision 4874 2008-12-18 16:03:39 Anca Vamanu, * [5074] : - fixed buffer len calculation ( related to bug #2430807) 2008-12-18 15:51:52 Anca Vamanu, * [5073] : - fixed buffer overflow bug ( reported by Dan Pascu) --Ths line and those below, will be ignored-- M presence/notify.c 2008-12-18 15:33:56 Sergio Gutierrez * [5072] : - Replaced arguments used with ps to verify process. Closes patch 2406758. 2008-12-18 14:43:38 Bogdan-Andrei Iancu, * [5070] : backport from trunk (rev #5069): - fixed bug in cloning the RURI parsed_uri structure in transaction. The RURI may be in the msg buffer (if no new uri set) or in a separate string if a new uri as set. We need to do the pointer translation according to each case, otherwise we end up with bogus pointers, randomly pointing in memory. Reported by Dan Pascu. 2008-12-18 14:29:11 Bogdan-Andrei Iancu, * [5068] : backport from runk (rev #5065): as TO TAG is later added to the dialog structure, do safe printing (as the pointer may be NULL) 2008-12-16 16:23:26 Bogdan-Andrei Iancu, * [5062] : backport from trunk: - accept with no error any BYE event in DELETED state 2008-12-16 07:53:37 Dan Pascu * [5061] : Fixed bug in dialog loading logic that resulted in segfault when more than DIALOG_FETCH_SIZE dialogs were loaded (backport from trunk rev 5060) 2008-12-09 06:05:55 Sergio Gutierrez * [5055] : - Renamed Prototype file (Typo in previous name). - Added missed entry for /opt directory (avoids pkgmk warning). 2008-12-09 06:04:34 Sergio Gutierrez * [5054] : - Renamed to base-Prototype 2008-12-09 05:55:41 Sergio Gutierrez * [5053] : - Update Version in Solaris Packaging Files. 2008-12-08 20:47:03 Bogdan-Andrei Iancu, * [5051] : - upgraded minor version from .2 to .3 2008-12-08 20:45:12 Bogdan-Andrei Iancu, * [5050] : backport from trunk (rev #5049): - first attempt in fixing ugly bug in concurent access to the request sip_msg structured cloned in SHM memory (in transaction) - callbacks are not sync'ed, so fo the same transaction, more than one callback can be run at a given moment -> write access to the shared request is not safe at all Current TM callback status: ### acesing shm req with parsing of req #define TMCB_RESPONSE_OUT (1<<7) req = T_uas (parsed by acc) #define TMCB_ON_FAILURE_RO (1<<5) req = T_uas (parsed) #define TMCB_ON_FAILURE (1<<6) req = T_uas (parsed) #### accessing shm req, but not parsing it #define TMCB_RESPONSE_IN (1<<1) req = T_uas #define TMCB_RESPONSE_FWDED (1<<4) req = T_uas #### no access to shm msg #define TMCB_REQUEST_BUILT (1<<10) req = p_msg #define TMCB_REQUEST_FWDED (1<<3) req = p_msg #define TMCB_E2EACK_IN (1<<2) req = ACK #define TMCB_REQUEST_IN (1<<0) req = p_msg #define TMCB_TRANS_DELETED (1<<11) req = null #define TMCB_LOCAL_COMPLETED (1<<8) req = null #define TMCB_LOCAL_RESPONSE_OUT (1<<9) req = null -> callbacks with no parsing access must not try to free eventual adds-on (because of parsing), because it may "see" parsed structs added by a concurent callback. -> also a race may occure between TMCB_RESPONSE_OUT and TMCB_ON_FAILURE callbacks (rw access to the same structure) This is not a final fix but an intermediary one (at least reduces the chances of a crash with 99%). Future final fix will be: 1) do not allow extra parsing of cloned requests 2) allow parsing of cloned requests, but make local copies before parsing