📄 changelog-1.3.2
字号:
2003-11-30 Alexander Malysh <a.malysh@centrium.de> * gw/dlr.c: don't duplicate values from dlr_entry struct, just reuse these. This give us a bit speedup. 2003-11-30 Alexander Malysh <a.malysh@centrium.de> * gwlib/conn.[ch]: applied conn-ssl-cleanup.patch. This patch does: 1) removes ssl_mutex 2) corrects SSL_[read|write] operations 3) removes SSL_connect and SSL_accept because these handled by openssl library trasparent while SSL_[read|write] operations. See Msg-Id: <200311261813.34824.a.malysh@centrium.de>. 2003-11-27 Alexander Malysh <a.malysh@centrium.de> * gwlib/accesslog.c: fixed compiler warning about zero-length format string. Got rid of buffer allocation, just allocate on the stack. 2003-11-26 Alexander Malysh <a.malysh@centrium.de> * gwlib/http.c: fixed memory leak if conn_wrap_fd(...) failed due to unsuccessful SSL handshake. 2003-11-26 Stipe Tolj <tolj@wapme-systems.de> * gw/smsc/smpp_pdu.def: added missing esm_class values for deliver_sm PDU. 2003-11-26 Stipe Tolj <tolj@wapme-systems.de> * doc/userguide/userguide.xml: added HTTP SMSC type 'wapme'. * gw/smsc/smsc_http.c: harmonizing kannel_receive_sms() to behave the same way as smsbox's sendsms interface. We run into code duplication here. Have to think on how this can be done better, in sense of modularization. Added Wapme SMS Proxy type 'wapme' as HTTP content/SMS gateway interface. 2003-11-26 Stipe Tolj <tolj@wapme-systems.de> * gwlib/cfg.def: added 'access-log-time' and 'access-log-clean' directives to smsbox and wapbox groups. Thanks to Alex Kinch for reporting this. 2003-11-24 Stipe Tolj <tolj@wapme-systems.de> * doc/userguide/userguide.xml: added new config directives 'access-log-clean' and 'access-log-format'. * gw/bb_alog.c: handles the custom bearerbox access-log formating * gw/bb_smscconn.c: moved log_sms() to gw/bb_alog.c:bb_alog_sms() * gw/bearerbox.h: added bb_alog_ prototypes * gw/[sms|wap]box.c: harmonized access-log config directive reading * gwlib/accesslog.[ch]: alog_open() changed to indicate if markers should be written to access-log file. If no markers are set, then the default timestamp prefix is not written, allowing users to individually set the timestamp in their custom access-log format. * gwlib/cfg.def: added config directives 'access-log-time' to indicate if localtime or gmt should be used within access-log, 'access-log-format' holding the escape code formated line to log, 'access-log-clean' (boolean) indicating if standard markers shoould be avoided and hence the access-log should be "clean". 2003-11-22 Alexander Malysh <a.malysh@centrium.de> * gwlib/log.c: don't add timestamp if syslog used. Improved backtrace support. 2003-11-22 Alexander Malysh <a.malysh@centrium.de> * configure, configure.in, gw-config.h.in, gwlib/log.c: added backtrace support for supported archs to gw_panic call. Backtrace information allows better way to trace a panic cause because now panic give us really meaningless info. Tip: use address within [] with addr2line or add -rdynamic to CFLAGS. 2003-11-21 Stipe Tolj <tolj@wapme-systems.de> * gw/bb_smscconn.c: adding logging of msg->sms.binfo field to access-log. 2003-11-21 Stipe Tolj <tolj@wapme-systems.de> * wap/wtp_resp_states.def: fixing PANIC output in case object is larger then maximum SAR limit of 256 packets. Thanks to "Vjacheslav Chekushin" <slava@lmt.lv> for providing patch. [Msg-ID: <3FBDC5BF.2000702@lmt.lv>] 2003-11-20 Aarno Syvanen <as@gni.ch> * gw/wap_push_pap_mime.c: Fixed parsing. Now there must be empty line between headers and message. * gw/wap_push_pap_mime.c: Fixed memory leaks. And bug reported by Paul. 2003-11-20 Stipe Tolj <tolj@wapme-systems.de> * doc/userguide/userguide.xml: fixing typo 2003-11-19 Stipe Tolj <tolj@wapme-systems.de> * doc/userguide/userguide.xml, gw/bearerbox.c, gwlib/cfg.def: changed config directive 'sms-incoming-queue-length' to 'sms-incoming-queue-limit' for the sake of semantics. 2003-11-15 Stipe Tolj <tolj@wapme-systems.de> * LICENSE: changed to Kannel Software License v1.0. BSD-style as before with some more restrictions to the name "Kannel" and usage of it. Changed in consensus with all other Kannel developers and members of the Kannel group. * COPYING: removed "old" license text and add reference to LICENSE file. * README: intent line fix. * configure[.in]: added license information notice in end of output to inform the user that he/she is bound to the license agreement terms when proceeding with instllation. * utils/update-license.sh: added simple shell script to prefix the source files with the license text. Needs to be modified to be able to really "update" in terms of exchanging old against new. * */*.[c|h|def|h.in]: added LICENSE file as comment prefix block. 2003-11-13 Stipe Tolj <tolj@wapme-systems.de> * test/fakesmsc.c: don't dump msg line in debug, because this takes speed away and the EOL is anyway annoying. 2003-11-13 Stipe Tolj <tolj@wapme-systems.de> * gw/bb_smscconn.c: typo fix. no logic change. * test/fakesmsc.c: added -r option to allow randomization of source and/or receiver numbers while passing MO messages to smsc_fake. 2003-11-12 Alexander Malysh <a.malysh@centrium.de> * gw/smsc/smsc_at.c: applied (in slightly modified version) patch that fixes non-blocking write to modem device. Thanks a lot to: Yulianto Z <sehari24jam@yahoo.com> for provided patch. Msg-Id: <1068643285.4052.58.camel@pandora.daehsan.com> 2003-11-12 Stipe Tolj <tolj@wapme-systems.de> * gwlib/http.c: fixes partially BUG#99 when the HTTP servers sends an 'Authorization' header without real values in it. This would cause previously a PANIC while accessing list_get() on an empty list. Thanks to the bug reported for pointing this out. * wap/wsp_strings.c: making the WSP mapping output a bit more compacter. 2003-11-12 Alexander Malysh <a.malysh@centrium.de> * gwlib/protected.c: do not double check errors from reentrant gethostbyname functions. This breaks resolution of the hostname for old glibc (e.g. Redhat 7.2). 2003-11-11 Stipe Tolj <tolj@wapme-systems.de> * gwlib/conn.c: enable non-blocking mode for SSL connections via read/write BIO and partial writing and buffer moving in ssl context. this is needed if we use non-blocking mode otherwise openssl doesn't simulate write(2) behaviour. Thanks to Alex for providing the patch [Msg-ID: <200311071927.27616.a.malysh@centrium.de>] 2003-11-11 Stipe Tolj <tolj@wapme-systems.de> * gw/bearerbox.c: remove "no-op" debug output. * gw/wap_push_[ppg|pap_mime].c: various Ocstr call improvements for the PPG handling, MIME parsing routines. * gwlib/octstr.[ch]: added function octstr_case_nsearch() to allow searching for octstr in a specific range. Patch posted by Aarno. Thanks a lot. [Msg-ID: <76D52118-0ED8-11D8-B1D6-0003937AE746@gni.ch>] 2003-11-10 Stipe Tolj <tolj@wapme-systems.de> * Makefile.in: adding gw-config to be removed when target clean is called. 2003-11-10 Igor Ivoilov <igor@francoudi.com> * gwlib/http.c: Fix for the BUG#95. Problem caused by octsrt_imm() on non-constant c-string in http_something_accepted() 2003-11-07 Stipe Tolj <tolj@wapme-systems.de> * doc/userguide/userguide.xml: BUG#98 indicated that the user's guide does not indicate that the keyword in a sms-service group matches in non-case sensitive manner. This is a crutiual information for users, so addiong this. 2003-11-07 Stipe Tolj <tolj@wapme-systems.de> * contrib/kannel-monitor/*: changed the monitor to allow non persistance of the admin password. Instead, if no admin password is configured, a dialog box will ask you for it whenever you try to issue HTTP admin commands to bearerbox. Added Alex's smsbox queue output. 2003-11-06 Stipe Tolj <tolj@wapme-systems.de> * gw/smsc/smsc_smpp.c: fixed another issue resulting from the previous revision commit. We want to convert the charset *only* if data_coding is 0x00 and hence the default smsc alphabet is addressed. Thanks again to Alexander for this quick spot. 2003-11-05 Stipe Tolj <tolj@wapme-systems.de> * gw/smsc/smsc_smpp.c: fixed bug for re-encoding character set. Accoding SMPP spec v3.4 if mclass is set, then data_coding is within 0xF0 range. Which means a normal 7bit text message will be data_coding 0xF1 (241). Thanks a lot to Alexander for preparing this fix and the patch. 2003-11-03 Alexander Malysh <a.malysh@centrium.de> * gw/smsc/smsc_smpp.c: applied yet another workaround for BUFFERED DLR's. Thanks to: "Alex Kinch" <alex@alexkinch.com> for patch. 2003-11-03 Alexander Malysh <a.malysh@centrium.de> * configure.in, configure: applied patch with better gethostbyname_r/gethostbyname detection. 2003-11-01 Stipe Tolj <tolj@wapme-systems.de> * wap/cookies.c: fixed annoying compiler warning 2003-11-01 Alexander Malysh <a.malysh@centrium.de> * doc/userguide/userguide.xml: documentations about deprecated 'maximum-queue-length' option and new 'sms-incoming-queue-length'. 2003-11-01 Stipe Tolj <tolj@wapme-systems.de> * test/test_[regex|pcre].c: make test programs compile only if gw-config.h #defines are set. 2003-10-30 Alexander Malysh <a.malysh@centrium.de> * gw/bb_boxc.c: applied bb_boxc patch. This patch solve major problems within bearerbox<->smsbox routing: 1) When an smsbox passes an MT message bearerbox will send an ACK for it, that is passed to the "global" incoming queue. From this global incoming queue all smsboxes are reading. Hence there is no garantee that ACKs are delivered to the right smsbox. 2) smsbox routing doesn't work if bearerbox started after shutdown and messages were stored in store-file. (see bug #83) 3) mantis #80 3) shutdown can block for ever if incoming queue is not empty and no smsboxes will connect to bearerbox. Now we have timeout for this (it's hardcoded to 10sec). This patch split bearerbox incoming queue on per smsbox connection basis and makes smsbox routing more restrictive. In order to reflect new smsbox connections behavior, new incoming queuing policy was introduced. Incoming queue is now per smsbox connection and only if no appropriate smsbox connection was found (e.g. smsbox routing is set but smsbox is gone), messages will be queued within global incoming queue. And as a bonus, allows clean shutdown on cygwin. * gw/bb_smscconn.c, gw/bearerbox.c, gwlib/cfg.def: new config option 'sms-incoming-queue-length' instead of the old 'maximum-queue-length'. Old option still supported but marked as deprecated. 2003-10-30 Stipe Tolj <tolj@wapme-systems.de> * configure[.in]: added Perl compatible regular expression (PCRE) library support via --enable-pcre configure option. * gw-config.h.in: added HAVE_REGEX and HAVE_PCRE to indicate availablity within the gwlib code itself. * gwlib/gwlib.h remvoed #include "regex.h" to avoid preprocessor conflicts with system regex.h header file. Inclussion has to be performed within the sources directly. * gwlib/pcre.[ch]: added wrapper functions to PCRE library functions. * gwlib/regex.[ch]: added compilation if PCRE library provides POSIX compliant regex if no system own implementation exists. * test/test_pcre.c: added test program for PCRE function calls. * test/test_regex.c: added #include "gwlib/regex.h" 2003-10-30 Stipe Tolj <tolj@wapme-systems.de> * gwlib/regex.c: fixed compiler warning and deallocation of memory after gw_regex_sub() call. * wap/cookies.c: fixed compiler warning * test/test_regex.c: fixed missing deallocation. 2003-10-30 Stipe Tolj <tolj@wapme-systems.de> * gwlib/regex.[ch]: made regex functions display calling function in case of error. This is useful for later debugging purposes. Added functions gw_regex_[match|subst]_[pre]() for simple matchin and substituion operations on Octstr. Either passing the RE in plain text or as pre-compiled structure. * test/test_regex.c: added wrapper functions testing. 2003-10-29 Stipe Tolj <tolj@wapme-systems.de> * configure[.in]: added checking of POSIX.1 regex functions and header files availibility on the system. * gwlib/gwlib.h: added inclusion of gwlib/regex.h * gwlib/regex.[ch]: added POSIX regular expression support, including substitution routine for passing subexpression matches to the result. This needs some more improvement, but looks good now. * test/test_regex.c: test program for the gwlib/regex.[ch] module. Try $ ./test/test_regex "+4914287756" "^(00|\+)([0-9]{6,20})$" "\$2" for a quick test on how to substitute an prefixed + MSISDN with the regex into the subexpression part two. 2003-10-28 Stipe Tolj <tolj@wapme-systems.de> * gw/smsc/smsc_emi.c: fixed billing identifier handling. We have to convert the binary information received from smsbox to hex for the EMI XSer 0c representation. 2003-10-27 Stipe Tolj <tolj@wapme-systems.de>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -