📄 changelog-1.1.6
字号:
gwlib/http.c) * gw/cert.pem: added x509 PEM encoded sample public certificate used in gw/smskannel-ssl.conf. * gw/key.pem: added x509 PEM encoded sample private key used in gw/smskannel-ssl.conf. * gw/smsbox.c: required additions in init_smsbox() to detect in the config file (smsbox group) if the sendsms HTTP server should use SSL, indicated by "sendsms-port-ssl = yes", then load the global server certificate and key. Changed http_open_port() prototype call (see gwlib/http.c) * gw/smsc_emi2.c: changed conn_wrap_fd() prototype call (see gwlin/conn.c) * gw/smsc_fake.c: changed conn_wrap_fd() prototype call (see gwlin/conn.c) * gw/smsc_http.c: changed http_open_port() prototype call (see gwlib/http.c) * gw/smskannel-ssl.conf: added sample configuration file for SSL enabled HTTP servers using sample certificate (cert.pem) and key (key.pem). * gw/wap_push_ppg.c: changed http_open_port() prototype call (see gwlib/http.c) * gwlib/cfg.def: added "admin-port-ssl" to core group and "sendsms-port-ssl" to smsbox group. Changed "ssl-certkey-file" to "ssl-client-certkey-file" to make it more semantic and added "ssl-server-cert-file" and "ssl-server-key-file" within the core group for the server side. * gwlib/conn.c: added global server SSL context, X509 cert and RSA key for server side. Changed conn_wrap_fd() to include ssl enable or disable flag and included the SSL magic here. Added tmp_rsa_callback() function for the private RSA key. Added server side mutex. Added server_ssl_int() function which initialized server side SSL stuff. Added server_shutdown_ssl() function which is used for server side shutdown. Changed use_client_certkey_file() prototype to use_global_client_certkey_file() to be more semantic. Added use_global_server_certkey_file() routine to load global server certificate and private key. * gwlib/conn.h: changed prototype definition for conn_wrap_fd(). Added prototype definitions for openssl_locking_function(), server_init_ssl(), server_shutdown_ssl(). Changed prototype name use_client_certkey_file() to use_global_client_certkey_file(). Added prototype definition for use_global_server_certkey_file(). * gwlib/http.c: added int ssl to struct server to reflect if this server is SSL enabled. Added array int ssl[MAX_SERVERS] within server_thread() to reflect which servers are SSL enabled and how conn_wrap_fd() has to be called. Changed http_open_port() to include boolean flag if this port is used for an SSL enabled server. Added server_ssl_init() call within http_init(). Added server_shutdown_ssl() all within http_shutdown(). * gwlib/http.h: changed prototype definition for http_open_port(). * test/drive_smpp.c: changed conn_wrap_fd() prototype call (see gwlin/conn.c) * test/drive_wapbox.c: changed http_open_port() prototype call (see gwlib/http.c) and conn_wrap_fd() prototype call (see gwlin/conn.c) * test/test_http_server.c: changed http_open_port() prototype call (see gwlib/http.c) * test/test_smsc.c: changed http_open_port() prototype call (see gwlib/http.c) and conn_wrap_fd() prototype call (see gwlin/conn.c) 2001-10-18: Aarno Syv鋘en <aarno@wiral.com> * doc/arch/arch.xml: Documented sessionless wsp and unconfirmed push architecture. * doc/userguide/userguide.xml: Documented use of Nokia Toolkit as a part of push server developing enviroment. 2001-10-18 Andreas Fink <andreas@fink.org> * gw/dlr.c: added support for MySQL based delivery reports * gw/smsc_emi2.c: fixed delivery report failure if text contained slashes. They are now replaced with a dot2001-10-17 J鰎g Pommnitz <jpo@condat.de> * doc/userguide/userguide.xml: fix doc to get through Jade.2001-10-17 Nick Clarey <nclarey@3glab.com> * smsc_at.c: Added change from Matt Flax <flatmax@cse.unsw.edu.au> which logs retry failures correctly.2001-10-17 Aarno Syv鋘en <aarno@wiral.com> * gw/wapbox.c: Added ppg configuration group. This is passed to the ppg module. Currently enough for a ppg working with a trusted pi. * gwlib/cfg.def: Added ppg configuration group definitions. * gw/wap_push_ppg.c: Read ppg group. Use it for program control. * gw/wap_push_ppg.h: Changed the prototype of function wap_push_ppg_ init. * gw/pushkannel.conf: Updated the sample configuration file. * doc/userguide/userguide.xml: Document ppg configuration group.2001-10-16 Bruno Rodrigues <bruno.rodrigues@litux.org> * smsc_emi2.c: corrected a bug when username and keepalive aren't defined and timeout would be undefined * smsc_at2.c: changed position of speed config reading to be able to force a serial speed2001-10-16 Aarno Syv鋘en <aarno@wiral.com> * gw/wap_push_pap_compiler.c: Reject wrong address type for a bearer (a phone number for IP bearer, IP address for SMS). * gw/wap_push_pap_compiler.h: Tell this in the module comment.2001-10-15 J鰎g Pommnitz <jpo@condat.de> * doc/userguide/userguide.xml,doc/arch/arch.xml: fix doc to get through Jade.2001-10-12 Aarno Syv鋘en <aarno@wiral.com> * gw/wap_push_ota.c, gw/wap-appl.c, gw/wap_push_pap_compiler.c, gw/wap_push_si_compiler.c, gw/wap_push_ppg.c: Better module comments.2001-10-12 Aarno Syv鋘en <aarno@wiral.com> * gwlib/dict.c: A bugfix in function dict_put_once. * gw/wap_push_pap_compiler.c: Reject unparsable phone numbers properly. (Global phone number is here an unique identifier, so we must insist it.) * gw/wap_push_ppg.c: Stylised warnings. Updated comments. Add calling of dict_put_once.2001-10-11 Bruno Rodrigues <bruno.rodrigues@litux.org> * dlr: Changed Delivery Reports Code. Instead of having a DLR sms- -service, each service has a dlr-url field where is defined the url to get when a delivery report arrives. DLR are routed based on the existing field "name" of sendsms-user. * userguide.xml: documentation for delivery reports and some minor corrections * bb_smscconn.c: added dlrmask field to alog; added code to expect a report type of sms and write to log correctly * bb_store.c: when loading store, ignore all delivery report kind of messages. SMSC wouldn't sent them to us anyway. * dlr.c: removed keyword and id variables and added service and url. Service is the service name (defined by name= on sendsms-user or sms-service groups) and url is the url to fetch. Added DLR_BUFFERED awareness (don't delete dlr if it's expecting DLR_SUCCESS or DLR_FAIL. dlr message text now contains the url, if given by dlrurl CGI parameter. later the text will be replaced by smsc text reply (if any) plus '/' separator plus this url. * dlr.h: added DLR_BUFFERED, DLR_SMSC_SUCCESS and DLR_SMSC_FAIL * msg-decl.h, shared.c, smsbox.c: replaced dlr_id and dlr_keyword for dlr_url * msg.h: added message type 3: report * smsbox.c: if it's a http get for a delivery-report, don't log nor reply back to user. * smsc_cimd2.c: added & 0x03 to mantain compatibility. Someone please encode the DLR_SMSC_* and DLR_BUFFERED * smsc_emi2.c: added DLR_BUFFERED awareness and code to generate delivery-reports when message hits SMSC (ACK) or fails (NACK). If SMSC replyes with text, include it on delivery message as "smsc-text"/"given-url" * urltrans.c: added a new dict with the service names to able delivery reports to search back for which service the original message was sent. Added urltrans_find_service. Changed get_pattern to be aware of delivery reports and return correct values (pattern would be the dlr-url); added %n (service name), %d (dlr value) and %A (smsc reply on delivery report) * : It's still missing some kind of DLR_SMSC_FAIL reports when a message cannot be routed2001-10-11 Andreas Fink <andreas@fink.org> * smsc_at2.c: fixed bugs while sending SMS, autosensing speed * config.guess, config.sub: updated to detect MacOS X correctly Note: MacOS X doesnt support signals being sent to threads so we cant disable them.2001-10-10 Aarno Syv鋘en <aarno@wiral.com> * doc/userguide/userguide.xml: Some corrections. * doc/arch/arch.xml: Wrote document about push architecture. 2001-10-08 Bruno Rodrigues <bruno.rodrigues@litux.org> * gwlib/http.c: When url was like http://user:pass@site, the first colon was changed to @ to differentiate from the colon for port number. Now the code replaces it back to colon and replaces password with "*". (unfortunatly keeps the same amount of chars) * gw/smsc_at2.c: added a select command before the read, so kannel delays some time if there's nothing to read (copy from old at). This way, at2 doesn't eat my cpu :) * gw/smsc_emi2.c: delay in x miliseconds was incorrect. Fixed.2001-10-08 Bruno Rodrigues <bruno.rodrigues@litux.org> * gw/smsc_emi2.c, gwlib/cfg.def: Added "throughput" (messages per second) variable to configuration. Delays 1/throughtput seconds between sending messages. * gw/smsc_emi2.c, gwlib/cfg.def: Added "window" configuration that defines the window size when using windowed flow-control (flow- control=0). Defaults to 100, like before. * gw/bb_boxc.c, shared.c, shared.h, smsc_cimd.c, smsbox.c, smsc_cimd2, smsc_emi.c, smsc_emi2.c, smsc_fake.c, smsc_ois.c, smsc_smpp.c, wapbox.c, gwlib/conn.c, conn.h, http.c, socket.c, socket.h, test/drive_smpp.c, drive_wapbox.c, fakesmsc.c, test_cimd2.c, test_smsc.c: Added preliminary our_host parameter to later someone code our_host config parameters. Will be needed if we want to fix our ip-address when we have ip aliases or to define the ip we listen to (instead of ANY) to limit connections: bind bearerbox to localhost only, for example.2001-10-08 Bruno Rodrigues <bruno.rodrigues@litux.org> * gw/smsc_emi2.c: Support ACK without timestamp. Note that if smsc doesn't send timestamp in ACK, delivery reports wouldn't work.2001-10-03 Aarno Syv鋘en <aarno@wiral.com> * doc/userguide/userguide.xml: Added documentation for push proxy gateway2001-09-27 Aarno Syv鋘en <aarno@wiral.com> * gw/wap_push_ppg.c: Removed #if 0 -code. Send username-password-pair to OTA layer. Accept GSM SMS bearer. Correct comparisions between signed and unsigned types. Remove MIME headers. Committed bugfixes by Bernard Valton. Do confirmed push when preferconfirmed QoS is request- ed, because Kannel supports confirmed push (a suggestion by Bernard Valton). * test/test_ppg.c: Added HTTP status checking. Added an option for interval between pushes. * gw/wap_push_ota.c: Send username-password-pair to WSP layer. Accept GSM SMS bearer. * wap/wsp_unit.c: Send username-password-pair to wdp layer. Accept GSM SMS bearer. * wap/wap_events.def: Added username-password pair to events. Added bearer and network fields to events. * gw/wapbox.c: Added an ability to send SMS message from wapbox. It is splitted when necessary. * gw/smsbox.c, gw/shared.[ch]: Transferred SMS message splitting code to the module shared. * gw/bb_boxc.c: Accept sms messages from wapbox, route them to smsc. * gw/wap_push_pap_compiler.c: Correct comparisions between signed and unsigned types. A bugfix. * gw/wap_push_si_compiler.c: Correct comparisions between signed and unsigned types. * gw/xml_shared.h: Added missing declarations. * test/test_http_server.c: Better debugging of received requests. * gw/wap_push_pap_mime.c: MIME parser expected a surplus crlf. Correct- ed this. Accept lower case versions of the headers. * gw/smsc_http.c: Added new configuration variables no-sender and no- coding to make URLs simpler. * gw/cfg.def: Added these variables. * gwlib/dict.[ch]: Currently outcommented code for dict_put_once. This function puts key to the dict, and doing this again is an error. * checks/check_httpsmsc_kannel.sh: Corrected an infinite loop. * gw/pushkannel.conf: Added sample configuration for push.2001-09-21 Bruno Rodrigues <bruno.rodrigues@litux.org> * gw/smsbox.c: Forced 7bits coding if coding=DC_UNDEF and udh is empty. Fixed bug in text concatenation2001-09-21 Bruno Rodrigues <bruno.rodrigues@litux.org> * gw/smsbox.c: Fixed a bug in reply-* octstr. Smsbox panics on second error reply2001-09-20 Bruno Rodrigues <bruno.rodrigues@litux.org> * gw/smsbox.c: Check for msgdata=NULL when loggin to alog * gwlib/http.c: Added sms-service basic authentication. url = "http://user:pass@host:port/path/file". Added parsing to parse_url and used existent http_add_basic_auth call * gw/smsc_emi2.c: when u
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -